MCP server
Convex MCP Server
- Maintainer
- Official · Convex
- Runs
- Local (stdio)
- GitHub
- ★ 12,756, last push 2026-10-24 (checked 2026-10-24)
- Docs
- docs.convex.dev
- Connects to
- Convex
- DevHunt
- Convex on DevHunt
Install the Convex MCP Server
Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.
Run in a terminal. Everything after -- is the command that starts the server. docs
claude mcp add --transport stdio convex -- npx -y convex@latest mcp start
Claude Desktop only: Settings > Developer > Edit Config opens claude_desktop_config.json. Add this, save and restart the app. docs
{
"mcpServers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project), or use the install button. docs
{
"mcpServers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Add to .vscode/mcp.json (note the "servers" key and the type), or use the install button. Command Palette > "MCP: Open User Configuration" for all workspaces. docs
{
"servers": {
"convex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Run codex mcp add convex -- npx -y convex@latest mcp start, or add this to ~/.codex/config.toml. docs
[mcp_servers.convex] command = "npx" args = ["-y", "convex@latest", "mcp", "start"]
Run in a terminal (-s user adds it for all projects; the default is this project). docs
gemini mcp add -s user convex npx -- -y convex@latest mcp start
Run in a terminal; it writes ~/.copilot/mcp-config.json. docs
copilot mcp add convex -- npx -y convex@latest mcp start
Add to mcp_config.json: ~/.config/devin/mcp_config.json on macOS and Linux (older installs: ~/.codeium/windsurf/mcp_config.json), %APPDATA%\devin\ on Windows. docs
{
"mcpServers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Add to Zed's settings.json (or Settings > AI > MCP Servers > Add Server). Remote servers without an Authorization header sign in with OAuth. docs
{
"context_servers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Add to opencode.json in the project (or ~/.config/opencode/opencode.json). docs
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"convex": {
"type": "local",
"command": [
"npx",
"-y",
"convex@latest",
"mcp",
"start"
],
"enabled": true
}
}
}Add to ~/.kiro/settings/mcp.json (all projects) or .kiro/settings/mcp.json (this project). docs
{
"mcpServers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}MCP Servers > Configure > Configure MCP Servers opens cline_mcp_settings.json; add this entry. docs
{
"mcpServers": {
"convex": {
"command": "npx",
"args": [
"-y",
"convex@latest",
"mcp",
"start"
]
}
}
}Security notes
- The local server runs with your user's permissions (the command starts it on your machine). The package is pinned to @latest, so each start can pull a new version; pin a version if you want to review updates.
- Connect it to a development database or a read-only user first: the model can run writes and deletes if the credentials allow them.
Alternatives
- MCP Toolbox for Databasesofficial · ★ 17k
One server for Postgres, MySQL, SQL Server, BigQuery, AlloyDB, Spanner and more, with tools you define in YAML.
- Firebaseofficial · ★ 4.5k
Firestore, Auth, Data Connect, Storage and Remote Config tools, built into the Firebase CLI.
- Supabaseofficial · ★ 3k
Query Postgres, manage tables, migrations, edge functions and branches in your Supabase projects.
- Qdrantofficial · ★ 1.6k
Store and search memories in a Qdrant vector collection.
- SQL MCP Server (Data API builder)official · ★ 1.5k
Self-hosted server that exposes chosen SQL tables, views and procedures as safe CRUD tools.
- MongoDBofficial · ★ 1.2k
Query and manage MongoDB databases and Atlas clusters.
- Neo4jofficial · ★ 989
Run Cypher queries, model graph data and store agent memory in Neo4j.
- ClickHouseofficial · ★ 892
Run read-only SQL against ClickHouse and list databases and tables.
FAQ
What does the Convex MCP Server do?+
Read tables, run functions and inspect logs of a Convex deployment.
Is the Convex MCP server official?+
Official: built and maintained by Convex.
How do I add Convex to Claude Code?+
Run: claude mcp add convex -- npx -y convex@latest mcp start. Add --scope project to share it with your team through .mcp.json.
How do I use the Convex MCP server in Cursor or VS Code?+
Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").
Does Convex work in ChatGPT and claude.ai?+
No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.
What are the alternatives to the Convex MCP server?+
Other database MCP servers: MCP Toolbox for Databases, Firebase, Supabase, Qdrant and SQL MCP Server (Data API builder).