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.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no README, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 1 + 10 + 10 + 3 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.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.
{ "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
| Name | Required | Notes |
|---|---|---|
BITBUCKET_OAUTH_KEY | Optional | OAuth consumer key of your own Bitbucket Cloud OAuth consumer. Together with BITBUCKET_OAUTH_SECRET this enables the browser login flow. |
BITBUCKET_OAUTH_SECRETSecret | Optional | OAuth consumer secret matching BITBUCKET_OAUTH_KEY. |
BITBUCKET_ACCESS_TOKENSecret | Optional | Bitbucket Cloud access token sent as a Bearer credential. Takes precedence over every other credential and skips the OAuth flow. |
BITBUCKET_EMAIL | Optional | Atlassian account e-mail, used with BITBUCKET_API_TOKEN as Basic credentials. |
BITBUCKET_API_TOKENSecret | Optional | Atlassian API token, used with BITBUCKET_EMAIL as Basic credentials. |
BITBUCKET_DEFAULT_WORKSPACE | Optional | Workspace slug used when a tool call omits the workspace argument. |
Tools22Tool docs quality grade C
All capabilitiesPosts 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.
getPipelinetoolReads 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.
getPullRequesttoolReads 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.
listCodeInsightstoolLists 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.