Skip to main content

Bytebase

io.github.bytebase/bytebase-mcp

v0.1.0Updated Nov 24, 2026stdio · npm

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add bytebase-mcp -e 'BYTEBASE_URL=<your-bytebase-url>' -- npx -y @bytebase/[email protected]

Configuration

4 settings.

  • BYTEBASE_URL
    Env var· required
    External URL of your Bytebase instance (e.g. https://bytebase.example.com). The package connects to <BYTEBASE_URL>/mcp and signs you in with the instance's OAuth.
  • BYTEBASE_MCP_HOME
    Env var· optional
    Directory for the OAuth sign-ins (default: ~/.bytebase-mcp)
  • BYTEBASE_MCP_CALLBACK_PORT
    Env var· optional
    Loopback port that receives the OAuth redirect during sign-in (default: 51789)
  • BYTEBASE_MCP_NO_BROWSER
    Env var· optional
    Set to 1 to print the sign-in URL instead of opening a browser

Listed in the official MCP Registry since Nov 24, 2026. Mirrored daily; last checked Nov 26, 2026.