Bitbucket MCP Server

MCP server for Bitbucket Server / Data Center with code review, cross-repo PRs, and CI insights

Local serverstdio

What is the Bitbucket MCP Server?

MCP server for Bitbucket Server / Data Center with code review, cross-repo PRs, and CI insights

What you get

Configuration and credentials

  • Bitbucket Server / Data Center 7.21+ (the E2E suite covers 7.21, 8.5, 8.9, 8.19, 9.4 and 10.2). - One of: - Node.js >= 22.14 (via npx) - Bun (via bunx) - Docker

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Bitbucket MCP Server

{
  "mcpServers": {
    "bitbucket-server-1": {
      "command": "npx",
      "args": ["-y", "@pavel-kalmykov/bitbucket-server-mcp"],
      "env": {
        "BITBUCKET_URL": "your-value",
        "BITBUCKET_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Bitbucket Server / Data Center 7.21+ (the E2E suite covers 7.21, 8.5, 8.9, 8.19, 9.4 and 10.2). - One of: - Node.js >= 22.14 (via npx) - Bun (via bunx) - Docker
VariableDescriptionRequired
BITBUCKET_URLEndpoint or connection string the server talks to.Yes
BITBUCKET_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Bitbucket to Repositories.”
  • “Use Bitbucket to Forks.”
  • “Use Bitbucket to Users.”

Frequently asked questions

MCP server for Bitbucket Server / Data Center with code review, cross-repo PRs, and CI insights Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.