Databases - official Convex server
Convex MCP server
Local MCP server built into the Convex CLI that lets agents inspect and act on a Convex deployment: list tables and schemas, page through data, run read-only one-off queries, call deployed functions, read logs and health insights, and manage environment variables. It runs locally from convex (npm); the notes below cover how it authenticates.
Last verified 12 tools8 sources
Install
Claude Code
About Claude Code/plugin install convex@claude-plugins-officialCodex
About Codex[mcp_servers.convex]
command = "npx"
args = ["-y", "convex@latest", "mcp", "start"]Cursor
About Cursor{
"mcpServers": {
"convex": {
"command": "npx",
"args": ["-y", "convex@latest", "mcp", "start"]
}
}
}VS Code
{
"servers": {
"convex-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "convex@latest", "mcp", "start"]
}
}
}Generic
npx -y convex@latest mcp startTools
status- Queries available deployments and returns a deployment selector for other tools
tables- Lists all tables with declared and inferred schemas and metadata
data- Paginates through documents in a specified table
runOneoffQuery- Runs sandboxed read-only JavaScript queries against deployment data
functionSpec- Metadata about all deployed functions: types, visibility, interfaces
run- Executes deployed Convex functions with provided arguments
logs- Fetches recent function execution log entries as structured objects
insights- Health insights for the last 72 hours, including OCC conflicts and resource limit issues
envList- Lists environment variable names, optionally with values
envGet- Retrieves the value of a specific environment variable
envSet- Sets a new environment variable or updates an existing one
envRemove- Removes an environment variable from the deployment
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Uses the credentials from npx convex login (access to all projects on the account) unless CONVEX_DEPLOY_KEY is set to restrict it to one deployment; the insights tool is unavailable with a deploy key.
- Production access is limited to non-PII read-only tools by default; --cautiously-allow-production-pii and --dangerously-enable-production-deployments widen it, and --disable-tools removes tools.
- The Claude Code snippet installs the official Convex plugin, which starts the MCP server automatically (Convex recommends the plugin for Claude Code and Cursor).
- The docs page carries no beta/GA label.
More MCP servers for databases
- AirtableStatus: GA
Airtable MCP server
Airtable's official hosted MCP server lets AI tools list and create bases, change table and field schema, read and write records, build interfaces, submit forms and draft automations, all within the user's existing permissions.
Transport: Streamable HTTPAuth: OAuth or API key - Chroma
Chroma MCP server
Self-hosted MCP server that lets agents create and manage Chroma collections and add, query, update and delete documents. It supports vector search, full-text search and metadata filtering against ephemeral, persistent, self-hosted HTTP or Chroma Cloud clients.
Transport: stdioAuth: Other - ClickHouseStatus: Beta
ClickHouse Cloud remote MCP server
A fully managed remote MCP endpoint for ClickHouse Cloud services that lets agents list databases and tables, run read-only SELECT queries, and inspect organizations, services, backups, ClickPipes and billing. All 13 tools are read-only.
Transport: Streamable HTTPAuth: OAuth or API key - ClickHouse
ClickHouse MCP server
Open-source MCP server from ClickHouse that lets AI assistants list databases and tables and run SQL against any ClickHouse instance, self-hosted or Cloud. It also has an optional chDB embedded engine. It runs locally over stdio by default, and can also serve Streamable HTTP.
Transport: stdio, Streamable HTTP, SSEAuth: Other - CockroachDBStatus: GA
CockroachDB Cloud MCP server
Managed MCP server built into CockroachDB Cloud that lets AI tools list clusters, explore live schemas and run SQL against clusters in a CockroachDB Cloud organization. Connections can cover every cluster the user or service account can access, or be scoped to one cluster with an mcp-cluster-id header.
Transport: Streamable HTTPAuth: OAuth or API key - CouchbaseStatus: GA
Couchbase MCP server
Self-hosted MCP server that connects AI agents to Couchbase clusters on Capella or self-managed, with tools for cluster health, schema discovery, key-value operations, SQL++ queries, indexing, full-text and vector search, and query performance analysis.
Transport: stdio, Streamable HTTP, SSEAuth: Other
Related reading
- GPT-5.6 Closes 30-Year Gap in Convex Optimization TheoryGPT-5.6 helped produce a Lean-verified proof closing a 1996 gap in derivative-free convex optimization. How the 10-page expert prompt worked, and what HN said.
- Convex to Neon: The Playbook After 4 App MigrationsWe ran the same Convex to Neon migration on four apps in a week. Here is what stayed identical, what differed per app, and the real speed-up by app two.
- Convex vs Supabase for AI AppsConvex and Supabase both work for AI-powered apps. Here is when to use each, based on building production apps with both.
- The Next.js AI App Stack for 2026Next.js AI app stack for 2026: Next.js 16, Vercel AI SDK, Convex, Clerk and Tailwind - why each piece matters and how they fit together.
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
FAQ
What does the Convex MCP server do?
Local MCP server built into the Convex CLI that lets agents inspect and act on a Convex deployment: list tables and schemas, page through data, run read-only one-off queries, call deployed functions, read logs and health insights, and manage environment variables. The vendor documents 12 tools, including status, tables, data and runOneoffQuery.
How do I add the Convex MCP server to Claude Code?
Run /plugin install convex@claude-plugins-official, copied from Convex's docs. This page also has snippets for Codex, Cursor, VS Code and Generic.
Does the Convex MCP server need authentication?
It uses a scheme other than OAuth or an API key, such as the session of the app or instance it runs in; the notes on this page describe it. Transport: stdio. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 8 Convex pages, then re-checked independently.
- docs.convex.devhttps://docs.convex.dev/ai/convex-mcp-server
- docs.convex.devhttps://docs.convex.dev/ai/overview.md
- docs.convex.devhttps://docs.convex.dev/ai/using-codex.md
- docs.convex.devhttps://docs.convex.dev/ai/using-github-copilot.md
- docs.convex.devhttps://docs.convex.dev/ai/using-claude-code.md
- docs.convex.devhttps://docs.convex.dev/ai/using-cursor.md
- api.github.comhttps://api.github.com/repos/get-convex/convex-js
- api.github.comhttps://api.github.com/repos/get-convex/convex-js/releases
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.