By convexCreated 16 days ago
starstarstarstarstar

Introspect and query your apps deployed to Convex.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

ConvexMCP ServerAI AssistantBackend Platform

what is Convex MCP Server?

Convex MCP Server is a tool for AI agents to interact with applications deployed on the Convex backend platform using the Model Context Protocol (MCP). It allows agents to introspect databases, query data, execute functions, and manipulate environment variables.

How to use Convex MCP Server?

1. Install Convex MCP Server in Cursor version 0.47 or later:
- Go to "Cursor Settings > MCP"
- Add a new global MCP server with the configuration:
```json
{
  "mcpServers": {
    "convex": {
      "command": "npx",
      "args": [
        "-y",
        "convex@latest",
        "mcp",
        "start"
      ]
    }
  }
}
```
2. Enable the MCP server inursor and let it access your Convex deployments.

Key features of Convex MCP Server?

- **Deployment introspection**: List and select Convex deployments (production/dev/preview)
- **Table inspection**: View table schemas (declared and inferred) and paginate through documents
- **Query execution**: Run sandboxed one-off queries against the database
- **Function interaction**: List and execute deployed functions (with type checking)
- **Environment variables**: Manage deployment environment variables

Use cases of Convex MCP Server?

1. AI agents analyzing deployment data to suggest schema improvements
2. Automated troubleshooting of production issues
3. Data exploration through ad-hoc one-off queries
4. Agent-driven quality assurance testing
5. Automated deployment health checks

FAQ from Convex MCP Server?

- What is MCP?
> MCP (Model Context Protocol) is a standardized way for AI agents to interact with different tools and APIs.

- Which agents are supported?
> Currently supports Cursor 0.47+ on macOS Sequoia. Planning to add support for Windsurf, Claude Desktop and other agents.

- Why a global instead of project-specific MCP server?
> To maximize compatibility and simplify setup with current agent implementations.