Loading languages...
CO

convex

@Convex

We just shipped Convex 1.19.5, which includes a beta MCP server for Convex. Give it a spin and send us all your feedback.

database
cloud functions
realtime
backend
serverless

The Convex MCP Server provides a standardized way for AI agents to interact with Convex backend deployments. It allows agents to introspect database tables and functions, call functions, read and write data, and manage environment variables. A key feature is the ability for agents to write and execute sandboxed JavaScript queries for ad-hoc data analysis, ensuring safety as these queries cannot modify the database.

How to Use:

To use the Convex MCP Server, you typically configure it within an MCP client like Cursor. For Cursor version 0.47 or later, add the following configuration to your mcp.json file:

{
  "mcpServers": {
    "convex": {
      "command": "npx",
      "args": [
        "-y",
        "convex@latest",
        "mcp",
        "start"
      ]
    }
  }
}

Ensure the "convex" server is enabled in your client's settings. The server is launched via the npx -y convex@latest mcp start command.

Implementation Details:

The Convex MCP Server currently uses the stdio transport protocol for local execution. To maintain broad compatibility with various MCP clients, it exposes all functionality through tools and primarily uses string arguments for tool calls, simplifying interaction despite MCP's support for richer structured types.

# mcpServer Config

{
  "mcpServers": {
    "convex": {
      "command": "npx",
      "args": [
        "-y",
        "convex@latest",
        "mcp",
        "start"
      ]
    }
  }
}

# stdio

npx -y convex@latest mcp start
Transport:
stdio
Language:
TypeScript
Updated: 7/31/2025