Skip to content
MCP server
Registry

bitbucket-mcp MCP Server

Bitbucket Cloud pull requests and Pipelines: review, comment, merge, and diagnose failed builds.

bitbucket-mcp scores 66 (Good), licensed MIT and written in C#. It installs as a local process. It declares 22 tools. Filed under Version control. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by lahmaMITC#1 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 1 + 10 + 10 + 3 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "lahma-bitbucket-mcp": {      "command": "dnx",      "args": [        "bitbucket-mcp"      ],      "env": {        "BITBUCKET_OAUTH_KEY": "",        "BITBUCKET_OAUTH_SECRET": "YOUR_BITBUCKET_OAUTH_SECRET",        "BITBUCKET_ACCESS_TOKEN": "YOUR_BITBUCKET_ACCESS_TOKEN",        "BITBUCKET_EMAIL": "",        "BITBUCKET_API_TOKEN": "YOUR_BITBUCKET_API_TOKEN",        "BITBUCKET_DEFAULT_WORKSPACE": ""      }    }  }}

Environment variables

NameRequiredNotes
BITBUCKET_OAUTH_KEYOptionalOAuth consumer key of your own Bitbucket Cloud OAuth consumer. Together with BITBUCKET_OAUTH_SECRET this enables the browser login flow.
BITBUCKET_OAUTH_SECRETSecretOptionalOAuth consumer secret matching BITBUCKET_OAUTH_KEY.
BITBUCKET_ACCESS_TOKENSecretOptionalBitbucket Cloud access token sent as a Bearer credential. Takes precedence over every other credential and skips the OAuth flow.
BITBUCKET_EMAILOptionalAtlassian account e-mail, used with BITBUCKET_API_TOKEN as Basic credentials.
BITBUCKET_API_TOKENSecretOptionalAtlassian API token, used with BITBUCKET_EMAIL as Basic credentials.
BITBUCKET_DEFAULT_WORKSPACEOptionalWorkspace slug used when a tool call omits the workspace argument.

Tools22Tool docs quality grade C

All capabilities
  • Posts a comment: general, a reply, or inline on a line of the diff — anchored by codeSnippet copied verbatim out of the diff, or by line plus lineType.

  • Adds a task — one tracked item of work, optionally hung off a comment. Bitbucket counts these, and a repository can require them resolved before merging.

  • Opens a new pull request. Title and source branch are required, and closeSourceBranch and draft are settable here. Reviewers are account UUIDs and are entirely optional: omit reviewers for the repository's own default-reviewer rule, or pass

  • Declines a pull request, closing it without merging.

  • Reads one run with its steps: which step failed, its errorMessage, and the stepUuid to read next. Often the whole answer without touching a log.

  • Reads a step's build log — the end by default, where a step running under set -e reports what broke, or the lines matching pattern anywhere in it. Always truncated, always visibly.

  • Reads one pull request in full: title, description, state, branches, web URL, reviewers and participants with their approvals.

  • Lists a pull request's comments — general and inline — oldest first, with deleted comments filtered out; unresolvedOnly leaves out the threads already resolved.

  • Fetches a pull request's changes: with no arguments it lists the changed files, and passing paths returns those files' unified diff. Truncation is always marked inline.

  • Bitbucket's own dry run of a merge: state, permission, conflicts, every configured merge check (approvals, builds, tasks…) and the merge queue, blocking checks first — the check to make before mergePullRequest.

  • Lists a commit's Code Insights reports and the file-and-line findings behind the failing ones — the one build signal that points at the code rather than at a log.

  • Lists the repository's effective default reviewers with their account UUIDs, including the ones inherited from its project. Where reviewer UUIDs come from when there is no pull request to read them off.

About

Bitbucket Cloud pull requests and Pipelines: review, comment, merge, and diagnose failed builds.

Frequently asked questions

What is bitbucket-mcp MCP Server?

Bitbucket Cloud pull requests and Pipelines: review, comment, merge, and diagnose failed builds.

How do I install bitbucket-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. bitbucket-mcp MCP Server runs locally from the NuGet package bitbucket-mcp with the command dnx bitbucket-mcp.

Is bitbucket-mcp MCP Server free and open source?

Yes. bitbucket-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does bitbucket-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for bitbucket-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does bitbucket-mcp MCP Server provide?

bitbucket-mcp MCP Server provides 22 tools, including addPullRequestComment, addPullRequestTask, createPullRequest, and declinePullRequest. See the full tool list for descriptions and parameters.

How is bitbucket-mcp MCP Server's trust score calculated?

bitbucket-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server