Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Bitbucket MCP

MCP server by inconcept Verified · npm:@inconcept-labs

Bitbucket MCP lets AI assistants manage pull requests, branches, and repositories in Bitbucket Cloud. It is for developers who use MCP-capable clients such as Cursor or Claude Desktop.

  • Score 63
  • 4 stars
  • 637 a week
  • MIT
  • Updated

Install Bitbucket MCP

Built from the published package, never by AI.

claude mcp add bitbucket-mcp -- npx -y @inconcept-labs/bitbucket-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Bitbucket MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the bitbucket-mcp block.

About

Bitbucket MCP is an MCP server for Bitbucket Cloud. It runs over stdio and is meant to be launched by an MCP client rather than run by hand. Once configured, a client can list repositories, work with pull requests, and manage branches using natural language. It calls the Bitbucket Cloud REST API at api.bitbucket.org/2.0 by default.

Authentication uses an Atlassian API token paired with your Atlassian account email. The server needs a workspace slug and Node.js 24 or newer. Delete tools are off unless you set an environment variable to opt in. The project targets developers who want to handle Bitbucket work from an AI assistant. It is published under the MIT license.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_repositoriesList repos in the workspace, with search and pagination.
  • list_pull_requestsList PRs filtered by state such as OPEN, MERGED, or DECLINED.
  • get_pull_requestShow full PR details including participants and reviewers.
  • create_pull_requestOpen a new PR with optional reviewers.
  • merge_pull_requestMerge a PR using merge_commit, squash, or fast_forward.
  • get_diffFetch the unified diff of a PR, truncated for safety.
  • add_pr_commentPost a Markdown comment on a PR.
  • approve_pull_requestApprove a PR.
  • list_branchesList branches with optional name search.
  • delete_branchDelete a branch. Only registered if destructive tools are enabled.

What you need

  • Node.js 24 or newer
  • A Bitbucket Cloud account with access to the workspace
  • An Atlassian API token with the listed Bitbucket scopes
  • The Atlassian account email used for sign in
  • An MCP-capable client such as Cursor or Claude Desktop

Try asking

  • List all open PRs in the backend repo
  • Show me the diff for PR #42
  • Merge PR #42 using squash

Good to know

  • Only endpoints matching the Bitbucket Cloud API shape are guaranteed on Server or Data Center.
  • delete_branch and delete_pr_comment are off by default and need an opt-in variable.
  • get_diff output is truncated.
  • Bitbucket Cloud app passwords are deprecated, so an API token is required.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Bitbucket MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Bitbucket MCP: common questions

Does Bitbucket MCP work with Bitbucket Server or Data Center?

It can be pointed at a Server or Data Center instance with BITBUCKET_BASE_URL. The source says only endpoints that match the Cloud API shape are guaranteed to work.

Can the assistant delete branches or comments with this server?

Not by default. The delete_branch and delete_pr_comment tools are only registered when BITBUCKET_MCP_ALLOW_DESTRUCTIVE_TOOLS is set to a truthy value.

Why does authentication need an email instead of a Bitbucket username?

API tokens authenticate as email:token, so the Atlassian account email is required. The source says a Bitbucket username will not work.

How do I install Bitbucket MCP?

In Claude Code run claude mcp add bitbucket-mcp -- npx -y @inconcept-labs/bitbucket-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Bitbucket MCP the official server?

Bitbucket MCP is published by npm:@inconcept-labs from its verified domain in the official MCP Registry.

Is Bitbucket MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Bitbucket MCP safe to use?

It scores 63 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Bitbucket MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Bitbucket MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Bitbucket MCP Install

Add to stack

Loading.