MCP servers · CockroachDB · connector · GPT action
Connect ChatGPT to CockroachDB
One line gives ChatGPT your CockroachDB account as tools: 7 endpoints, clusters, called with your own connection. No key in the prompt, a receipt for every call, revoke ChatGPT's access alone any time.
Three steps
- Create a free 0n3 account and connect CockroachDB. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into ChatGPT. A custom connector in Developer mode, or an Action on a custom GPT from the OpenAPI spec.
- Ask ChatGPT: whoami. Then: "List clusters in CockroachDB".
Custom connector (needs Developer mode)
- Settings → Connectors (or Apps) → Advanced → Developer mode on
- Create → name 0n3 · MCP server URL https://0n3.app/mcp · Authentication: OAuth
- Finish the sign-in with your 0n account
- Enable the connector in a chat and ask: "whoami"
ChatGPT connectors cannot send a static header, so 0n3 signs you in through its OAuth door (dynamic client registration is on).
The line above carries a placeholder; 0n3.app/install mints a real key named for ChatGPT and fills it in.
What ChatGPT can then do in CockroachDB
Clusters · Manage clusters7
List clusters
GET /clustersCreate a cluster
POST /clustersGet a cluster
GET /clusters/{cluster_id}Delete a cluster
DELETE /clusters/{cluster_id}List sql users
GET /clusters/{cluster_id}/sql-usersCreate a sql user
POST /clusters/{cluster_id}/sql-usersList databases
GET /clusters/{cluster_id}/databasesCockroachDB in other AI clients
Claude Code + CockroachDBMCP server + skillClaude (desktop & claude.ai) + CockroachDBconnectorCodex CLI + CockroachDBMCP serverGemini CLI + CockroachDBMCP serverCursor + CockroachDBMCP serverVS Code (Copilot) + CockroachDBMCP serverWindsurf + CockroachDBMCP server
