Distributed SQL database with a managed Cloud offering, a Cloud REST API and a managed MCP server for AI agents.

MCPAPI

What your agent can do

  • enables your AI coding tools and AI agents to access the clusters in your CockroachDB Cloud organization

    Via MCP.

  • allows you programmatic access to manage the lifecycle of clusters within your organization

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

MCP connection
MCP server URL
https://cockroachlabs.cloud/mcp

Authentication
Cockroach Labs recommends using OAuth to connect to the Cloud MCP server
API connection
API path
https://cockroachlabs.cloud/api/v1/clusters

Authentication
Authorization: Bearer {secret_key}

Documentation & experience

  • 2 of 2 connection paths checked
  • Latest documentation check 7 Oct 2026
View sources and checks
How documentation is checked