ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Bitbucket MCP

โดย FabianSchurigรุ่น 0.20.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.FabianSchurig/bitbucket-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: BITBUCKET_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • Dockerติดตั้ง Docker ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ 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": "ใส่ค่าของคุณ",
        "BITBUCKET_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add bitbucket --env BITBUCKET_USERNAME='ใส่ค่าของคุณ' --env BITBUCKET_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e BITBUCKET_USERNAME -e BITBUCKET_TOKEN ghcr.io/fabianschurig/bitbucket-mcp:0.20.2

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.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": "ใส่ค่าของคุณ",
        "BITBUCKET_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "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": "ใส่ค่าของคุณ",
        "BITBUCKET_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • BITBUCKET_USERNAME env
    Your Bitbucket username/ email (required for Basic auth, omit for workspace/repo access tokens)
  • BITBUCKET_TOKEN ความลับ จำเป็น env
    Your Bitbucket API token or OAuth2 access token

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub FabianSchurig ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 5670 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 33% ของอีก 5670 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5670 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Bitbucket MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: BITBUCKET_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.20.2) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

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

รันบนคลาวด์★ 5,213MITอัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx