Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Bitbucket MCP

by FabianSchurigversion 0.20.2i★ –iRuns on your computer
Registry nameio.github.FabianSchurig/bitbucket-mcp

Install

Overview

Description from the maker (original English)

Bitbucket Cloud MCP in Go: complete API auto-generated from spec, customizable prompts.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Search & AI memory
  • You need to fill in: BITBUCKET_TOKEN

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: BITBUCKET_USERNAME, BITBUCKET_TOKEN

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "bitbucket": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BITBUCKET_USERNAME",
        "-e",
        "BITBUCKET_TOKEN",
        "ghcr.io/fabianschurig/bitbucket-mcp:0.20.2"
      ],
      "env": {
        "BITBUCKET_USERNAME": "your-value",
        "BITBUCKET_TOKEN": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add bitbucket --env BITBUCKET_USERNAME=your-value --env BITBUCKET_TOKEN=your-value -- docker run -i --rm -e BITBUCKET_USERNAME -e BITBUCKET_TOKEN ghcr.io/fabianschurig/bitbucket-mcp:0.20.2

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "bitbucket": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BITBUCKET_USERNAME",
        "-e",
        "BITBUCKET_TOKEN",
        "ghcr.io/fabianschurig/bitbucket-mcp:0.20.2"
      ],
      "env": {
        "BITBUCKET_USERNAME": "your-value",
        "BITBUCKET_TOKEN": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "bitbucket": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BITBUCKET_USERNAME",
        "-e",
        "BITBUCKET_TOKEN",
        "ghcr.io/fabianschurig/bitbucket-mcp:0.20.2"
      ],
      "env": {
        "BITBUCKET_USERNAME": "your-value",
        "BITBUCKET_TOKEN": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • BITBUCKET_USERNAME env
    Your Bitbucket username/ email (required for Basic auth, omit for workspace/repo access tokens)
  • BITBUCKET_TOKEN secret required env
    Your Bitbucket API token or OAuth2 access token

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account FabianSchurig, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 5759 servers in this category
  • Published to the registry more recently than 32% of the other 5759 servers in this category
  • Basic checks equal to or better than 100% of the other 5759 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Bitbucket MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: BITBUCKET_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.20.2) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.

What can I use instead?

In the same category: Context7, Codebase Memory, Exa

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Context7

Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.

by upstashWidely used↓ 972.7K/wk★ 64.2KUpdated 3 days ago

Computer or cloud

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

by DeusDataWidely used↓ 18K/wk★ 48.1KUpdated 23 days ago

Runs on your computer

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated 2 months ago

Runs in the cloud✓ exa.ai

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

bitbucket-cli

Low-maintenance Bitbucket Cloud tooling built from the live OpenAPI spec: a CLI for software engineers, an MCP server for AI agents, and a Terraform provider for DevSecOps teams.

[!IMPORTANT]

https://github.com/FabianSchurig/bitbucket-cli is the canonical repository.

If you found this project through the terraform-provider-bitbucket mirror, watch, star, file issues, and contribute in bitbucket-cli.

Start here

AudienceBest fitStart here
DevSecOps engineersTerraform providerTerraform Registry, generated provider docs, example: bitbucket_tags
Software engineers / computer scientistsbb-cliCLI usage guide
AI agents / agent platform usersbb-mcpMCP usage guide

Quick links

Install

Homebrew (macOS & Linux)

To install the CLI tool via our custom tap, tap the repository and explicitly trust the formula to reduce supply chain risks:

brew tap FabianSchurig/tap

brew trust --formula FabianSchurig/tap/bitbucket-cli brew install bitbucket-cli

Or to install the MCP server:

brew tap FabianSchurig/tap

brew trust --formula FabianSchurig/tap/bitbucket-mcp brew install bitbucket-mcp

*(Note: If you previously tapped the old cask, you can safely untap via brew untap fabianschurig/tap before running the command).*

APT (Debian / Ubuntu)

Download the .deb package from the latest release and install it. Supported architectures: amd64, arm64.

TAG_URL=$(curl -fsSIL -o /dev/null -w '%{url_effective}' https://github.com/FabianSchurig/bitbucket-cli/releases/latest)

VERSION=${TAG_URL##*/} VERSION=${VERSION%%\?*} VERSION=${VERSION%%\#*} VERSION=${VERSION#v} ARCH=$(dpkg --print-architecture) curl -LO "https://github.com/FabianSchurig/bitbucket-cli/releases/download/v${VERSION}/bb-cli_${VERSION}_${ARCH}.deb" sudo dpkg -i "bb-cli_${VERSION}_${ARCH}.deb"

Replace bb-cli with bb-mcp to install the MCP server instead.

RPM (Fedora / RHEL / CentOS)

Download the .rpm package from the latest release and install it. Supported architectures: amd64, arm64.

TAG_URL=$(curl -fsSIL -o /dev/null -w '%{url_effective}' https://github.com/FabianSchurig/bitbucket-cli/releases/latest)

VERSION=${TAG_URL##*/} VERSION=${VERSION%%\?*} VERSION=${VERSION%%\#*} VERSION=${VERSION#v} ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') curl -LO "https://github.com/FabianSchurig/bitbucket-cli/releases/download/v${VERSION}/bb-cli_${VERSION}_${ARCH}.rpm" sudo rpm -i "bb-cli_${VERSION}_${ARCH}.rpm"

Replace bb-cli with bb-mcp to install the MCP server instead.

Scoop (Windows)
scoop bucket add bitbucket https://github.com/FabianSchurig/scoop-bucket

scoop install bb-cli scoop install bb-mcp

Winget (Windows)
winget install FabianSchurig.bb-cli

winget install FabianSchurig.bb-mcp

Install script
curl -fsSL https://raw.githubusercontent.com/FabianSchurig/bitbucket-cli/main/install.sh | sh

See install.sh options for version selection, binary choice (bb-cli, bb-mcp, or all), and custom install directories.

Other methods
MethodCommand
Go installgo install github.com/FabianSchurig/bitbucket-cli/cmd/bb-cli@latest
Dockerdocker pull ghcr.io/fabianschurig/bitbucket-cli:latest
Download binariesGitHub Releases

For full installation details see the CLI usage guide and the MCP usage guide.

What this project is

This repository keeps Bitbucket Cloud tooling maintainable by generating most of the surface area from the live Bitbucket OpenAPI spec.

  • One API description, three user-facing tools: CLI, MCP, and Terraform all come from the same schema pipeline.
  • Thin hand-written runtime: auth, dispatch, output, and Terraform runtime stay generic instead of growing per-endpoint glue.
  • Fast spec adoption: new Bitbucket endpoints flow in through generation instead of large manual rewrites.
  • Maintenance-first design: the main development effort goes into the shared generators and runtime, not duplicated endpoint code.
  • Internal/undocumented endpoints supported the same way: schemas under schema/ can be hand-authored for endpoints that are not in Bitbucket's public OpenAPI spec (for example the project-level branch-restrictions endpoint exposed only via https://bitbucket.org/!api/internal/...). The generators and runtime treat them identically — schema paths may use absolute URLs and the dispatcher passes them through unchanged.

Architecture

flowchart LR

A[Live Bitbucket OpenAPI spec] --> B[enrich_spec.py] B --> C[partition_spec.py] C --> D[schema/*-schema.yaml] D --> E[oapi-codegen models] D --> F[CLI generator] D --> G[MCP generator] D --> H[Terraform generator] E --> I[Shared generated types] F --> J[bb-cli] G --> K[bb-mcp] H --> L[terraform-provider-bitbucket] I --> J I --> K I --> L M[Hand-written runtime\nauth, dispatch, output, MCP handler, TF runtime] --> J M --> K M --> L

In practice:

  • CLI exposes Bitbucket operations as terminal commands.
  • MCP exposes the same operations as tool calls for AI agents.
  • Terraform maps operation groups into generic resources and data sources.
  • Hand-written code stays small on purpose; generated code handles endpoint coverage.

CI pipelines

flowchart TD

A[push / pull_request] --> B[ci.yml] A --> C[terraform-tests.yml] D[schedule / manual] --> E[schema-sync.yml] E --> F[Fetch live spec] F --> G[Regenerate code and docs] G --> H[Build and test] H --> I[Tag new version] I --> J[release.yml] J --> K[docker.yml] I --> L[terraform-release.yml] K --> M[Publish to MCP Registry]

  • `ci.yml`: builds, lints, vets, runs Go tests, and sends analysis to SonarQube Cloud.
  • `terraform-tests.yml`: runs mock-based Terraform acceptance and terraform test suites, plus real API tests when credentials exist. See docs/e2e-coverage.md for the current list of endpoints exercised by the real-API tests.
  • `schema-sync.yml`: daily/manual sync that fetches the live Bitbucket spec, regenerates generated artifacts, rebuilds docs, tests everything, and tags a release when the schema changed.
  • `release.yml`: publishes tagged binary releases via GoReleaser.
  • `docker.yml`: builds multi-arch container images for bb-cli and bb-mcp, pushes them to GHCR, publishes their SBOM and CVE reports (see Supply chain: SBOM and CVE reports), and publishes the bb-mcp server to the MCP Registry.
  • `terraform-release.yml`: mirrors the tagged source into terraform-provider-bitbucket and publishes the Terraform provider release.
Schema sync safety

The live OpenAPI document is treated as an input, not as an authority to delete a working API group because of a transient omission. Three mechanisms keep the daily sync from breaking published surface or itself:

  • Group preservation: when a group extracts with no paths, partition_spec.py preserves its existing populated schema; a genuinely empty or new group is still written normally.
  • Stable operationIds: ids are recorded in the committed lockfile schema/operation-ids.json, keyed by " ". An operation keeps its id forever, and ids of removed operations stay reserved — so a sibling endpoint can never inherit an id and silently rename a shipped CLI command, MCP tool, or CRUDConfig reference.
  • Operation retention: Atlassian regularly removes *deprecated but still functional* endpoints from the published spec. Rather than dropping commands in an automatic patch release, partition_spec.py carries such operations forward verbatim from the committed schema, annotated x-bb-cli-retained: true so the schema diff shows exactly what upstream stopped publishing. Retiring one for good is a deliberate act: delete it from schema/*-schema.yaml, and the invariant tests then flag any hand-maintained mapping (for example in CRUDConfig) that still references it.

Acceptance tests in internal/tfprovider/acceptance_test.go are hand-written and are never deleted by schema generation. Generated Terraform fixtures are regenerated from the surviving resource groups, while the schema-sync build and test gate, including the mock Terraform acceptance suites, must pass before any change is committed or released. The generated real-API coverage report makes missing group coverage visible without requiring manual bookkeeping.

Supply chain: SBOM and CVE reports

Every released container image ships with a Software Bill of Materials and a vulnerability report in standard formats. Both are produced from the exact image digest that was pushed to GHCR.

ArtifactFormatWhere to get it
Image SBOMSPDX 2.3 JSONsbom-bitbucket-cli.spdx.json / sbom-bitbucket-mcp.spdx.json on the matching GitHub Release, or as a signed attestation on the image itself
Image CVE reportGrype JSON + plain-text tablecves-bitbucket-cli.{json,txt} / cves-bitbucket-mcp.{json,txt} on the matching GitHub Release

| Source SBOM | SPDX JSON | At

Only the beginning is shown; read the rest in the repo

Ask PopNx