Skip to content
Claude Code

Bytebase for Claude Code

io.github.bytebase/bytebase-mcp

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

client:Claude Code transport:stdio runtime:npm

Install Bytebase in Claude Code

run in your project directory

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

claude mcp add bytebase-mcp -e BYTEBASE_URL=<BYTEBASE_URL> -e BYTEBASE_MCP_HOME=<BYTEBASE_MCP_HOME> -e BYTEBASE_MCP_CALLBACK_PORT=<BYTEBASE_MCP_CALLBACK_PORT> -e BYTEBASE_MCP_NO_BROWSER=<BYTEBASE_MCP_NO_BROWSER> -- npx -y @bytebase/bytebase-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Bytebase in other clients