v1.0.0
A Bitbucket Cloud MCP server you can actually audit: every dependency comes from Microsoft or the official Model Context Protocol SDK — no third-party packages, no generated client, ~30 hand-written source files. Built for the full pull-request lifecycle, from opening a PR to reviewing, commenting, and merging it.
Why this one
- Trustable by inspection. The whole dependency tree is Microsoft + the official MCP SDK, pinned exactly. One person can read everything this server runs.
- Instant startup. Native AOT binaries for five platforms — the server cold-starts in about 10 ms, so your editor never waits on it.
- Built for AI context economy. Results are shaped, not echoed: no
linksnoise, no repository payloads, nulls omitted. Diffs follow a diffstat-first workflow with per-file retrieval and visible truncation, so a large PR never floods the model's context.
Pull-request tools (16)
- Explore —
listPullRequests(filter by state, author, or source branch),getPullRequest,getPullRequestDiff(diffstat or targeted per-file diffs),getPullRequestComments,listPullRequestStatuses(is CI green before you merge?),listDefaultReviewers,listPullRequestTasks - Review —
addPullRequestCommentwith inline comments anchored by code snippet instead of brittle line numbers,resolvePullRequestComment,addPullRequestTask/updatePullRequestTask,setPullRequestReviewStatus(approve / request changes / unapprove) - Ship —
createPullRequest,updatePullRequest,mergePullRequest(merge commit, squash, or fast-forward),declinePullRequest
Every result that names a PR or comment carries its web URL, ready to hand to a human.
Sign in your way
- OAuth 2.0 browser flow — run
bitbucket-mcp loginonce; tokens are cached encrypted (DPAPI on Windows,0600elsewhere) and refreshed silently. - Atlassian API token — set
BITBUCKET_EMAIL+BITBUCKET_API_TOKENand it just works; ideal for CI or when you can't create an OAuth consumer.
Get it
-
Binaries (recommended — fastest startup): download the archive for your platform below and point your MCP client at the executable.
-
NuGet:
dnx bitbucket-mcp@1.0.0 --yesruns it with no download step. -
Claude Code, one command for everything — server, credential prompts, and a PR-workflow skill:
/plugin marketplace add lahma/bitbucket-mcp /plugin install bitbucket-mcp@bitbucket-mcp
An agent skill teaching the review and creation playbooks ships in the repo and works with Cursor, VS Code, Codex, and Gemini CLI too.
See the README for the OAuth consumer walkthrough, all environment variables, and client configuration examples.