$ timeahead.in
/ servers/npm/@nexus2520/bitbucket-mcp-server
npm

@nexus2520/bitbucket-mcp-server

MCP server for Bitbucket API integration - supports both Cloud and Server

22 stars7k/wkupdated 8d agogithub ↗
83good
▣ Overview
npm versionLicense: MIT

What it does

This server bridges Claude to Bitbucket's API, exposing 29 tools for PR management, code review, file navigation, and repository search. It supports both Bitbucket Cloud and Server, automatically filtering server-only tools when pointed at Cloud. Tools span PR operations (create, merge, approve), comment threads, inline suggestions, commit history, branch control, file listing with content retrieval, structural code search (with language/path/extension filters), and file blame tracking. v2.0.0 optimizes token usage by letting you expose only the tool groups relevant to your workflow (e.g., pr_core + files), cutting estimated prompt overhead from 5,100 tokens down to 2,100.

Who it's for

Backend engineers and code reviewers navigating large Bitbucket repositories; DevOps teams automating PR merges and reviews; platform engineers needing to script Bitbucket Server instances; any developer who wants Claude to search code, propose changes, or surface file history without leaving their editor.

Common use cases

  • Fetch and review a PR's full diff, existing comments, and merge state without switching windows
  • Search repositories by language, file extension, or path pattern (e.g., lang:go path:config)
  • Navigate file trees, read file content, and retrieve per-line blame history
  • Create, update, and bulk-manage PR tasks and review comments, including inline suggestions
  • List and filter PRs by author, state, or destination branch, then merge or decline in batch

Setup pitfalls

  • Cloud vs. Server use different auth: Cloud requires an app password created at bitbucket.org/account/settings/app-passwords/ with Account/Repositories/Pull requests permissions; Server requires an HTTP access token and the BITBUCKET_BASE_URL env var pointing to your instance.
  • Server-only tools are auto-filtered in Cloud — no configuration needed, but misconfiguring the base URL will silently hide 10 tools.
  • App password scope matters: Create the password with only the minimum permissions you need. Overly broad tokens increase blast radius if credentials leak.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
85
21.3
Adoption
20%
60
12.0
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
83.2
⚿ Capabilities & Risk Explainer
networksecrets
◆ Risk level: medium
network + secrets — requires access to credentials or environment secrets.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "nexus2520bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "@nexus2520/bitbucket-mcp-server"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
13/ 100 · is this project alive?
contributors (1y)2
top contributor share97%
releases (1y)0
ci✗ none
⛁ Raw data
weekly downloads7k
github stars22
forks21
open issues7
license✓ present
readme length57779 chars
last publish8d ago
last commit8d ago
last updated1d ago
install verified✓ pass · 22d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points