mcp-server-atlassian-bitbucket

MCP.Pizza Chef: aashari

Six commands do the work, and only one of them is read-only. Rather than a menu of named actions, it hands your assistant five raw verbs, covering read, create, replace, update and delete, aimed at any part of Bitbucket your login can reach, plus a sixth that copies a repository onto your own machine. That makes it powerful and blunt: nothing stops it deleting a branch, and there is no read-only setting. Bitbucket Cloud only, never the self-hosted version.

Coding

Use This MCP server To

See every open pull request waiting on my review Ask what changed between my branch and main Add a comment to a pull request from chat Open a pull request for the branch I just pushed Copy a repository down onto my own machine List the repositories in my team's workspace

README

Connect AI to Your Bitbucket Repositories

Transform how you work with Bitbucket by connecting Claude, Cursor AI, and other AI assistants directly to your repositories, pull requests, and code. Get instant insights, automate code reviews, and streamline your development workflow.

NPM Version License

What You Can Do

  • Ask AI about your code: "What's the latest commit in my main repository?"
  • Get PR insights: "Show me all open pull requests that need review"
  • Search your codebase: "Find all JavaScript files that use the authentication function"
  • Review code changes: "Compare the differences between my feature branch and main"
  • Manage pull requests: "Create a PR for my new-feature branch"
  • Automate workflows: "Add a comment to PR #123 with the test results"

Perfect For

  • Developers who want AI assistance with code reviews and repository management
  • Team Leads needing quick insights into project status and pull request activity
  • DevOps Engineers automating repository workflows and branch management
  • Anyone who wants to interact with Bitbucket using natural language

Requirements

  • Node.js 18.0.0 or higher
  • Bitbucket Cloud account (not Bitbucket Server/Data Center)
  • Authentication credentials: Scoped API Token (recommended) or App Password (legacy)

Quick Start

Get up and running in 2 minutes:

mcp-server-atlassian-bitbucket FAQ

Do I need a key or a login?
Yes. You create a scoped Atlassian token and pair it with your Atlassian email address. The older app-password method it also documents is now past Atlassian's own June 2026 removal date, so start with the scoped token.
Can it delete things?
Yes, and this is the thing to watch. One of the six commands is a general-purpose delete that can reach anything your token has rights over, branches included. There is no read-only setting and no confirmation step, so give the token the narrowest permissions you can live with.
Can I use this to keep on top of code reviews?
Yes. Asking for open pull requests, reading the changes on a branch and leaving a review comment are the things it does best, and they only need read access plus pull-request rights.
Does it work with self-hosted Bitbucket?
No. It is built for Bitbucket Cloud only. Bitbucket Server and Data Center are explicitly unsupported.
Does it really have separate commands for listing, searching and commenting?
No, despite how it is described. There are five general-purpose commands plus a copy-repository one, and your assistant works out the right address itself. That usually works, but it can guess wrong.
Which apps does it work in?
Claude Desktop, Cursor, Cline, Continue and other MCP-compatible apps. You will need a reasonably recent Node installed on your machine.
How hard is the setup?
Easy enough. Paste a short block into your assistant's settings with your email address and token in it, then restart the app.
Does it put files on my computer?
It can. One command runs a repository copy into a folder decided during the conversation, so be specific about where you want things to land.