0n3
MCP servers · CockroachDB · MCP server

Connect Windsurf to CockroachDB

One line gives Windsurf your CockroachDB account as tools: 7 endpoints, clusters, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.

Get the line for WindsurfConnect CockroachDB first

Three steps

  1. Create a free 0n3 account and connect CockroachDB. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Windsurf. The mcp_config.json block.
  3. Ask Windsurf: whoami. Then: "List clusters in CockroachDB".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "0n3": {
      "serverUrl": "https://0n3.app/mcp",
      "headers": {
        "Authorization": "Bearer <your 0n token>"
      }
    }
  }
}

The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.

What Windsurf can then do in CockroachDB

Clusters · Manage clusters7
List clustersGET /clusters
Create a clusterPOST /clusters
Get a clusterGET /clusters/{cluster_id}
Delete a clusterDELETE /clusters/{cluster_id}
List sql usersGET /clusters/{cluster_id}/sql-users
Create a sql userPOST /clusters/{cluster_id}/sql-users
List databasesGET /clusters/{cluster_id}/databases

CockroachDB in other AI clients

Claude Code + CockroachDBMCP server + skillClaude (desktop & claude.ai) + CockroachDBconnectorChatGPT + CockroachDBconnector · GPT actionCodex CLI + CockroachDBMCP serverGemini CLI + CockroachDBMCP serverCursor + CockroachDBMCP serverVS Code (Copilot) + CockroachDBMCP server

Windsurf with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints