Can AI agents automate CockroachDB?
Cockroach Labs · hybrid · databasedeveloper-tools
CockroachDB is automatable today through SQL and the CockroachDB Cloud API. This record is CockroachDB, including self-hosted clusters and CockroachDB Cloud. It is the database, not the separate CockroachDB docs assistant. CockroachDB speaks the PostgreSQL wire protocol. The cockroach sql client runs statements from an interactive shell or from the command line with --execute, --file, or stdin, and Cockroach Labs documents the non-interactive output as a stable interface aside from lines that begin with #. The Cloud API is a separate REST management plane at https://cockroachlabs.cloud/api/v1. The opened guide uses version 2024-09-16, sent with the Cc-Version header. Service accounts authenticate with Authorization Bearer and a secret key. The documented rate limit is 10 requests per second per user. The guide shows cluster list and create calls for Basic, Standard, and Advanced clusters. Only service accounts can call the Cloud API. Cockroach Labs documents two first-party MCP servers. The self-hosted server in cockroachdb/cockroachdb-mcp-server runs over stdio or HTTPS. Read tools are the default, and writes require CRDB_MCP_ENABLE_WRITE_QUERIES. The Cloud MCP is hosted at https://cockroachlabs.cloud/mcp and uses OAuth or a service-account API key. By default it can reach every cluster the caller can access. An optional mcp-cluster-id header pins one cluster. Cloud read tools include list_clusters, get_cluster, list_databases, list_tables, get_table_schema, select_query, explain_query, show_statement, and show_running_queries. Cloud write tools are create_database, create_table, and insert_rows. Cloud tool calls run one statement, time out after 20 seconds, and cap responses at 10 KiB. A docs index is published at https://docs.cockroachlabs.com/llms.txt. iPaaS connector catalogs were not opened. Computer-use viability is unassessed. API scores 8 and is the best path.
Best path today: api · Overall automatability: 8/10
Modalities
| Modality | Status | Detail |
|---|---|---|
| API | yes | sqlrestbearer-api-key coverage: partial · docs |
| SDK | unknown | official: unknown |
| MCP | yes | verdict: official |
| Integrations | unknown | |
| CLI | yes | |
| Extensibility | yes | sql webhooks: unknown |
| Data access | export: sql · import: sql | |
| RPA / UI automation | unknown | web-dom No repeatable UI probe was run. CockroachDB SQL, the Cloud API, the cockroach SQL client, and the first-party MCP servers cover query and cluster work without browser control.
|
| Computer use | unknown | measured verdicts only — "unknown" means not yet probed by us |
Scores
| api | mcp | integrations | cli | rpa | computer use | overall |
|---|---|---|---|---|---|---|
| 8 | 7 | — | 7 | — | — | 8 |
Evidence
| Fact | Tier | Source | Date |
|---|---|---|---|
homepage | declared | source | 2026-10-01 |
license | declared | source | 2026-10-01 |
deployment | declared | source | 2026-10-01 |
platforms | declared | source | 2026-10-01 |
platforms | declared | source | 2026-10-01 |
platforms | declared | source | 2026-10-01 |
modalities.api.exists | declared | source | 2026-10-01 |
modalities.api.kinds[0] | declared | source | 2026-10-01 |
modalities.api.kinds[1] | declared | source | 2026-10-01 |
modalities.api.auth[0] | declared | source | 2026-10-01 |
modalities.api.coverage | declared | source | 2026-10-01 |
modalities.api.docs | declared | source | 2026-10-01 |
modalities.mcp.first_party | declared | source | 2026-10-01 |
modalities.mcp.verdict | declared | source | 2026-10-01 |
modalities.cli.exists | declared | source | 2026-10-01 |
modalities.extensibility.scripting[0] | declared | source | 2026-10-01 |
modalities.data_access.export[0] | declared | source | 2026-10-01 |
modalities.data_access.import[0] | declared | source | 2026-10-01 |
modalities.agent_docs.llms_txt | declared | source | 2026-10-01 |
verdict.scores.api | declared | source | 2026-10-01 |
verdict.scores.mcp | declared | source | 2026-10-01 |
verdict.scores.cli | declared | source | 2026-10-01 |
freshness.watch[0].url | declared | source | 2026-10-01 |
freshness.watch[1].url | declared | source | 2026-10-01 |
freshness.watch[2].url | declared | source | 2026-10-01 |
freshness.watch[3].url | declared | source | 2026-10-01 |
Related tools
Other products in this database that share a category with CockroachDB.
Last verified 2026-10-01 · volatility high · JSON record