CockroachDB Cloud MCP server
- MCP server
- 12 callable tools
- 6 capabilities
Overview
Cockroach Labs' managed MCP server that lets AI coding tools and agents access the clusters in a CockroachDB Cloud organization. It works with CockroachDB clusters, exploring schemas and running SQL statements.
Capabilities:
- List clusters, databases, tables and table schemas
- Run SELECT, EXPLAIN and SHOW statements against cluster data
- Show currently executing queries
- Create databases and tables
- Insert rows into tables
- Limit a connection to a single cluster
Works with
The products your agent can work with through this server.
Tools
The callable functions your agent uses to work with this server.
| Tool | What it does |
|---|---|
list_ | List all accessible clusters. |
get_ | Get detailed cluster information. |
list_ | List databases in the cluster. |
list_ | List tables in a database. |
get_ | Get detailed schema for a table. |
select_ | Execute a SELECT statement. |
explain_ | Execute an EXPLAIN statement. |
show_ | Execute a SHOW statement. |
show_ | List currently executing queries. |
create_ | Create a new database. |
create_ | Create a new table. |
insert_ | Insert rows into a table. |
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add CockroachDB Cloud MCP server to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add CockroachDB Cloud MCP server to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add CockroachDB Cloud MCP server to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add CockroachDB Cloud MCP server to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login cockroachdb-cloud.
Add CockroachDB Cloud MCP server to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add CockroachDB Cloud MCP server to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Related MCP servers
Other servers for the same products, or from the same vendor.
Sources
Documentation and source code reviewed on 19 November 2026.