BY

Bytebase MCP Server

Published by bytebase

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

Website
CATEGORY
Data & databases
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.1
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add Bytebase MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'BYTEBASE_URL=<your-bytebase-url>' --transport stdio bytebase -- npx -y @bytebase/bytebase-mcp

Replace the <your-…> placeholder with your own BYTEBASE_URL.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "bytebase": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/bytebase-mcp"
      ],
      "env": {
        "BYTEBASE_URL": "<your-bytebase-url>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BYTEBASE_URL.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add bytebase --env 'BYTEBASE_URL=<your-bytebase-url>' -- npx -y @bytebase/bytebase-mcp

Replace the <your-…> placeholder with your own BYTEBASE_URL.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

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

Replace the <your-…> placeholder with your own BYTEBASE_URL.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "bytebase": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/bytebase-mcp"
      ],
      "env": {
        "BYTEBASE_URL": "<your-bytebase-url>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BYTEBASE_URL.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Bytebase MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Bytebase MCP Server need an API key?

To run it on your computer, set BYTEBASE_URL first, with values from the publisher.

Is Bytebase MCP Server official?

It's published by bytebase. The Official MCP Registry accepts names under io.github.bytebase only from the GitHub account or organisation bytebase. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @bytebase/bytebase-mcp@0.1.1
View source repository