Skip to content
Cursor

Bytebase for Cursor

io.github.bytebase/bytebase-mcp

Query, inspect, and change databases through Bytebase's governed workflow with audit logging.

client:Cursor transport:stdio runtime:npm

Install Bytebase in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "bytebase-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/bytebase-mcp"
      ],
      "env": {
        "BYTEBASE_URL": "<BYTEBASE_URL>",
        "BYTEBASE_MCP_HOME": "<BYTEBASE_MCP_HOME>",
        "BYTEBASE_MCP_CALLBACK_PORT": "<BYTEBASE_MCP_CALLBACK_PORT>",
        "BYTEBASE_MCP_NO_BROWSER": "<BYTEBASE_MCP_NO_BROWSER>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Bytebase in other clients