# CockroachDB Cloud MCP Server

CockroachDB Cloud includes a managed Model Context Protocol (MCP) server.

MCP server by CockroachDB. Category: Agent craft.

## Install

Project (for this project only):

```sh
npx add-mcp https://cockroachlabs.cloud/mcp
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp https://cockroachlabs.cloud/mcp -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

The cloud.

## What it needs

Headers:

- `mcp-cluster-id` (optional): Optional. It restricts the connection to one cluster.

## Tags

- Runs in the cloud: It runs on the publisher's servers. What you send it leaves your machine.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://docs.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [Cloudflare One CASB](https://syn4pse.dev/terminal/cloudflare-one-casb.md)
- Next: [CockroachDB Docs MCP Server](https://syn4pse.dev/terminal/cockroachdb-docs-mcp-server.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
