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 tugudush Verified · npm:@tugudush

Bitbucket MCP is a read-only Model Context Protocol server for Bitbucket repositories, pull requests and pipelines. It works with VS Code GitHub Copilot, Cursor and Claude Code for developers who want assistant access to Bitbucket data.

  • Score 64
  • 3 stars
  • 154 a week
  • MIT
  • Updated

Install Bitbucket MCP

Built from the published package, never by AI.

claude mcp add bitbucket-mcp -- npx -y @tugudush/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 a read-only Model Context Protocol server for Bitbucket. It gives AI assistants access to repositories, pull requests, branches and commits, diffs, CI/CD pipelines, issues and user information through 38 tools. The source lists 189 unit tests and describes a modular architecture.

It can be installed from npm as @tugudush/bitbucket-mcp or built from source. Users configure it with a Bitbucket API token and their Atlassian account email. The source says it integrates with VS Code GitHub Copilot, Cursor and Claude Code. It is aimed at developers who want their AI assistant to read Bitbucket data. Output can be text, JSON or TOON, with optional JMESPath filtering.

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

Tools it gives your assistant

  • bb_list_repositoriesList repositories across workspaces.
  • bb_browse_repositoryExplore directory structure, including branches with slashes.
  • bb_get_file_contentRead files with pagination (1-10,000 lines).
  • bb_get_pull_requestGet detailed PR information.
  • bb_get_pull_request_diffGet unified diff for a PR.
  • bb_get_pr_statusesGet CI/CD build statuses for a PR.
  • bb_get_contextGet curated PR context bundle in a single call.
  • bb_get_pipeline_step_logGet build logs for pipeline steps.
  • bb_search_codeAdvanced code search with language filtering.
  • bb_get_issuesList repository issues.

What you need

  • Node.js 18 or later
  • Bitbucket API token
  • Atlassian account email
  • Code search enabled at bitbucket.org/search for bb_search_code

Try asking

  • Show open pull requests for myworkspace/myrepo
  • Get full context for PR #123 in myworkspace/myrepo
  • Search for 'authentication' code in myworkspace/myrepo

Good to know

  • Read-only: the server provides read operations only.
  • Code search must be enabled at bitbucket.org/search for bb_search_code.
  • Integration tests verified 31 of 38 tools.

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

Is Bitbucket MCP read-only?

Yes. The source describes it as a read-only Model Context Protocol server for Bitbucket.

Which AI assistants does Bitbucket MCP work with?

The source names VS Code GitHub Copilot, Cursor and Claude Code as supported clients.

What output formats does Bitbucket MCP support?

It supports text, json and toon. The source says TOON is a compact format that can save 30-60% of tokens for large responses.

How do I install Bitbucket MCP?

In Claude Code run claude mcp add bitbucket-mcp -- npx -y @tugudush/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:@tugudush 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 64 of 100. Grades: maintenance C, 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.