$ timeahead.in
/ servers/npm/bitbucket-mcp
npm

bitbucket-mcp

Model Context Protocol (MCP) server for Bitbucket Cloud and Server API integration

146 stars3k/wkupdated 34d agogithub ↗
80fair
▣ Overview
CodeQLGitHub RepositoryLicense: MITnpm version

What it does

Bitbucket MCP is a Model Context Protocol server that bridges AI assistants like Claude or Cursor to Bitbucket Cloud and Server APIs. It enables read and write access to repositories, pull requests, and related metadata, allowing Claude to browse code context, retrieve PR details, and perform API operations without data loss risk (write operations exclude destructive deletions).

Who it's for

Backend engineers and development teams using Bitbucket who want Claude or Cursor to interact with their repositories—reviewing pull requests, summarizing code changes, or gathering context for code analysis without manually opening Bitbucket in a browser.

Common use cases

  • Fetch pull request details and review history from Claude
  • Query repository metadata, branches, and commit information
  • Browse code structure and repository contents
  • Gather context for AI-assisted code review and analysis

Setup pitfalls

  • Requires Bitbucket app password (not your regular account password); create one in Personal Settings > App Passwords with proper scopes: Repositories Read, Pull Requests Read/Write, Pipelines Read.
  • Workspace auto-detection depends on URL format—if authentication fails with 401 errors, try the explicit API URL format (https://api.bitbucket.org/2.0) and set BITBUCKET_WORKSPACE explicitly.
  • One credential secret detected in the repository—ensure all credentials are set via environment variables, never committed.
  • Project last updated 34 days ago with no recent CI passing; verify compatibility with your Bitbucket instance version before deploying.
1 credential detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
80
28.0
Freshness
25%
100
25.0
Adoption
20%
63
12.7
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
79.7
⚿ Capabilities & Risk Explainer
fs readfs writenetworksecrets
◆ Risk level: medium
fs read + fs write + 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": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "bitbucket-mcp"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
28/ 100 · is this project alive?
contributors (1y)13
top contributor share45%
releases (1y)0
ci✗ none
⛁ Raw data
weekly downloads3k
github stars146
forks96
open issues35
license✓ present
readme length21368 chars
last publish2d ago
last commit34d ago
last updated1d ago
install verified✓ pass · 29d 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