cockroachdb-mcp-server MCP Server

This is a CockroachDB MCP server for Cursor, implemented based on the Model Context Protocol (MCP) specification, allowing you to interact directly with CockroachDB database in Cursor.

Local serverstdio

What is the cockroachdb-mcp-server MCP Server?

cockroachdb-mcp-server is an MCP project maintained in the swayingleaves/cockroachdb-mcp-server repository. The maintainer describes its purpose as “This is a CockroachDB MCP server for Cursor, implemented based on the Model Context Protocol (MCP) specification, allowing you to interact directly with CockroachDB database…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
connect_database
initialize_connection
disconnect_database
get_tables
get_table_schema
execute_query

How to install the cockroachdb-mcp-server MCP Server

{
  "mcpServers": {
    "cockroachdb-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/local/cockroachdb-mcp",
        "run",
        "server.py"
      ],
      "jdbc_url": "jdbc:postgresql://localhost:26257/defaultdb",
      "username": "root",
      "password": "root"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.