Bytebase for VS Code
io.github.bytebase/bytebase-mcp
Query, inspect, and change databases through Bytebase's governed workflow with audit logging.
client:VS Code
transport:stdio
runtime:npm
Install Bytebase in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "bytebase-url",
"description": "BYTEBASE_URL",
"password": true
},
{
"type": "promptString",
"id": "bytebase-mcp-home",
"description": "BYTEBASE_MCP_HOME",
"password": true
},
{
"type": "promptString",
"id": "bytebase-mcp-callback-port",
"description": "BYTEBASE_MCP_CALLBACK_PORT",
"password": true
},
{
"type": "promptString",
"id": "bytebase-mcp-no-browser",
"description": "BYTEBASE_MCP_NO_BROWSER",
"password": true
}
],
"servers": {
"bytebase-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bytebase/bytebase-mcp"
],
"env": {
"BYTEBASE_URL": "${input:bytebase-url}",
"BYTEBASE_MCP_HOME": "${input:bytebase-mcp-home}",
"BYTEBASE_MCP_CALLBACK_PORT": "${input:bytebase-mcp-callback-port}",
"BYTEBASE_MCP_NO_BROWSER": "${input:bytebase-mcp-no-browser}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs