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
{
"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