CockroachDB
www.cockroachlabs.comDistributed SQL database with a managed Cloud offering, a Cloud REST API and a managed MCP server for AI agents.
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
For compatible agent apps
OAuth sign-in
Docs checkedView setup for MCPAPI
For custom integrations
an access token
Docs checkedView paths for APIMCP 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}