BI

Bitbucket MCP Server

Published by adarshba

Bitbucket MCP for Data Center: PR review with multi-line comments, plus Code Mode over the REST API.

CATEGORY
Developer tools
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.1
SOURCE CHECKED
Dec 1, 2026

Quick answers

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

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'BITBUCKET_BASE_URL=<your-bitbucket-base-url>' --env 'BITBUCKET_TOKEN=<your-bitbucket-token>' --transport stdio bitbucket -- npx -y @adarsh.ba/bitbucket-mcp

Replace the <your-…> placeholder with your own BITBUCKET_BASE_URL and BITBUCKET_TOKEN.

Claude Code setup guide
CursorConfig

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

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "@adarsh.ba/bitbucket-mcp"
      ],
      "env": {
        "BITBUCKET_BASE_URL": "<your-bitbucket-base-url>",
        "BITBUCKET_TOKEN": "<your-bitbucket-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BITBUCKET_BASE_URL and BITBUCKET_TOKEN.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add bitbucket --env 'BITBUCKET_BASE_URL=<your-bitbucket-base-url>' --env 'BITBUCKET_TOKEN=<your-bitbucket-token>' -- npx -y @adarsh.ba/bitbucket-mcp

Replace the <your-…> placeholder with your own BITBUCKET_BASE_URL and BITBUCKET_TOKEN.

Codex setup guide
VS CodeConfig

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

{
  "mcpServers": {
    "bitbucket": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@adarsh.ba/bitbucket-mcp"
      ],
      "env": {
        "BITBUCKET_BASE_URL": "<your-bitbucket-base-url>",
        "BITBUCKET_TOKEN": "<your-bitbucket-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BITBUCKET_BASE_URL and BITBUCKET_TOKEN.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "@adarsh.ba/bitbucket-mcp"
      ],
      "env": {
        "BITBUCKET_BASE_URL": "<your-bitbucket-base-url>",
        "BITBUCKET_TOKEN": "<your-bitbucket-token>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own BITBUCKET_BASE_URL and BITBUCKET_TOKEN.

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 Bitbucket 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 Bitbucket MCP Server need an API key?

To run it on your computer, set BITBUCKET_BASE_URL and BITBUCKET_TOKEN first, with values from the publisher.

Is Bitbucket MCP Server official?

It's published by adarshba. The Official MCP Registry accepts names under io.github.adarshba only from the GitHub account or organisation adarshba. 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 · @adarsh.ba/bitbucket-mcp@0.1.1
View source repository