Skip to content
MCP server

Bitbucket MCP Server

Provider-agnostic, AI-review-first MCP server for Bitbucket Cloud.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.2.0
Listing updated
4 days ago

About Bitbucket MCP Server

Bitbucket MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add bitbucket-mcp-server --env BITBUCKET_ACCESS_TOKEN='<BITBUCKET_ACCESS_TOKEN>' --env BITBUCKET_EMAIL='<BITBUCKET_EMAIL>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y @droplinkperformance/bitbucket-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bitbucket-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@droplinkperformance/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_ACCESS_TOKEN": "<BITBUCKET_ACCESS_TOKEN>",
        "BITBUCKET_EMAIL": "<BITBUCKET_EMAIL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bitbucket-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@droplinkperformance/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_ACCESS_TOKEN": "<BITBUCKET_ACCESS_TOKEN>",
        "BITBUCKET_EMAIL": "<BITBUCKET_EMAIL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "bitbucket-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@droplinkperformance/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_ACCESS_TOKEN": "<BITBUCKET_ACCESS_TOKEN>",
        "BITBUCKET_EMAIL": "<BITBUCKET_EMAIL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bitbucket-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@droplinkperformance/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_ACCESS_TOKEN": "<BITBUCKET_ACCESS_TOKEN>",
        "BITBUCKET_EMAIL": "<BITBUCKET_EMAIL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bitbucket-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@droplinkperformance/bitbucket-mcp-server"
      ],
      "env": {
        "BITBUCKET_ACCESS_TOKEN": "<BITBUCKET_ACCESS_TOKEN>",
        "BITBUCKET_EMAIL": "<BITBUCKET_EMAIL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Configuration

  • BITBUCKET_ACCESS_TOKENBitbucket API token (ATATT), app password, or OAuth access tokenRequired
  • BITBUCKET_EMAILAtlassian account email (required with API tokens)Required
  • BITBUCKET_DEFAULT_WORKSPACEDefault Bitbucket workspace when a tool omits workspace
  • LLM_PROVIDERLLM backend for analyze_pull_request (openai, anthropic, gemini, bedrock)
  • OPENAI_API_KEYOpenAI API key when LLM_PROVIDER is openai

Pricing

Open source

Bitbucket MCP Server FAQ

Is Bitbucket MCP Server free?

Yes. Bitbucket MCP Server is open source, so you can use and self-host it for free.

How do I add Bitbucket MCP Server to Claude Code?

Run this command in your terminal: claude mcp add bitbucket-mcp-server --env BITBUCKET_ACCESS_TOKEN='<BITBUCKET_ACCESS_TOKEN>' --env BITBUCKET_EMAIL='<BITBUCKET_EMAIL>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y @droplinkperformance/bitbucket-mcp-server

What are the best alternatives to Bitbucket MCP Server?

The closest alternatives to Bitbucket MCP Server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Bitbucket MCP Server

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools