Creativity · MCP — server

MCP Bitbucket Server

Bitbucket is Atlassian's Git hosting, tightly integrated with Jira and Confluence. The MCP Bitbucket Server surfaces repositories, pull requests, pipelines, and branch operations as MCP tools — giving Claude a code-review and CI assistant hooked into Atlassian's ecosystem.

MCP facts

Kind
server
Ecosystem
anthropic-mcp
Language
TypeScript / Node.js
Transports
stdio

Capabilities

  • Tools: list_repos, list_pull_requests, get_pr_diff, comment_on_pr, list_pipelines, trigger_pipeline
  • App Password or API token auth
  • Cloud and self-hosted Data Center endpoints

Install

npx -y @modelcontextprotocol-community/server-bitbucket

Configuration

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol-community/server-bitbucket"],
      "env": {
        "BITBUCKET_USERNAME": "<username>",
        "BITBUCKET_APP_PASSWORD": "<app-password>",
        "BITBUCKET_WORKSPACE": "<workspace-id>"
      }
    }
  }
}

Frequently asked questions

Is there an official Bitbucket MCP server?

At the time of writing, Atlassian has not released an official MCP server. Multiple community implementations exist — prefer the most-starred, actively maintained one.

Does it work with Bitbucket Data Center?

Yes — configure BITBUCKET_BASE_URL to your on-prem hostname. The community server auto-switches to the Data Center REST API.

What about Pipelines?

trigger_pipeline and list_pipelines let the model start builds and inspect results. Treat triggering a production pipeline as a high-risk action.

Sources

  1. Bitbucket Cloud REST API — accessed 2026-04-20
  2. Model Context Protocol — accessed 2026-04-20