MCP server

Convex

Let agents inspect Convex tables, run functions, read logs and manage env vars

The Convex MCP server ships with the Convex CLI and lets coding agents inspect deployment status, table schemas and data, run read-only queries, call functions, read logs and manage environment variables. It runs locally with npx and uses your Convex login, or a deploy key to restrict it to a single deployment. Production access is limited unless explicitly enabled with flags.

Also available as

Connect

  1. 1Add the server to Codex
    codex mcp add convex --env CONVEX_DEPLOY_KEY=YOUR_CONVEX_DEPLOY_KEY -- npx -y convex@latest mcp start

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 12

statustablesdatarunOneoffQueryfunctionSpecrunlogsinsightsenvListenvGetenvSetenvRemove

Things to ask

  • “What tables does my dev deployment have and what's in messages?”
  • “Run the listTasks query and show the results”
  • “Show the latest function logs with errors”
  • “Set the OPENAI_API_KEY environment variable on my dev deployment”

Related