原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Bamboo MCP Server

作者:hmdmph版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.hmdmph/bamboo-mcp

安装

概览

作者提供的说明(英文原文)

Read-only MCP server for self-hosted Atlassian Bamboo CI/CD

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:BAMBOO_URL, BAMBOO_TOKEN, MCP_TRANSPORT

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: BAMBOO_URL, BAMBOO_TOKEN, MCP_TRANSPORT, BAMBOO_PROXY, BITBUCKET_URL, VERBOSE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "bamboo": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BAMBOO_URL",
        "-e",
        "BAMBOO_TOKEN",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "BAMBOO_PROXY",
        "-e",
        "BITBUCKET_URL",
        "-e",
        "VERBOSE",
        "ghcr.io/hmdmph/bamboo-mcp:0.1.2"
      ],
      "env": {
        "BAMBOO_URL": "your-value",
        "BAMBOO_TOKEN": "your-value",
        "MCP_TRANSPORT": "your-value",
        "BAMBOO_PROXY": "your-value",
        "BITBUCKET_URL": "your-value",
        "VERBOSE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add bamboo --env BAMBOO_URL=your-value --env BAMBOO_TOKEN=your-value --env MCP_TRANSPORT=your-value --env BAMBOO_PROXY=your-value --env BITBUCKET_URL=your-value --env VERBOSE=your-value -- docker run -i --rm -e BAMBOO_URL -e BAMBOO_TOKEN -e MCP_TRANSPORT -e BAMBOO_PROXY -e BITBUCKET_URL -e VERBOSE ghcr.io/hmdmph/bamboo-mcp:0.1.2

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "bamboo": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BAMBOO_URL",
        "-e",
        "BAMBOO_TOKEN",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "BAMBOO_PROXY",
        "-e",
        "BITBUCKET_URL",
        "-e",
        "VERBOSE",
        "ghcr.io/hmdmph/bamboo-mcp:0.1.2"
      ],
      "env": {
        "BAMBOO_URL": "your-value",
        "BAMBOO_TOKEN": "your-value",
        "MCP_TRANSPORT": "your-value",
        "BAMBOO_PROXY": "your-value",
        "BITBUCKET_URL": "your-value",
        "VERBOSE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "bamboo": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BAMBOO_URL",
        "-e",
        "BAMBOO_TOKEN",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "BAMBOO_PROXY",
        "-e",
        "BITBUCKET_URL",
        "-e",
        "VERBOSE",
        "ghcr.io/hmdmph/bamboo-mcp:0.1.2"
      ],
      "env": {
        "BAMBOO_URL": "your-value",
        "BAMBOO_TOKEN": "your-value",
        "MCP_TRANSPORT": "your-value",
        "BAMBOO_PROXY": "your-value",
        "BITBUCKET_URL": "your-value",
        "VERBOSE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • BAMBOO_URL 必填 env
    Base URL of your Bamboo server, e.g. https://bamboo.example.com
  • BAMBOO_TOKEN 机密 必填 env
    Bamboo personal access token. Read permission is sufficient.
  • MCP_TRANSPORT 必填 env
    Transport mode. Must be stdio when the client runs the container.
  • BAMBOO_PROXY env
    HTTP proxy URL, if Bamboo is only reachable via a proxy.
  • BITBUCKET_URL env
    Bitbucket base URL, used to build source links in build results.
  • VERBOSE env
    Set to true to log requests and errors to stderr.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hmdmph 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4912 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4912 个服务器的 35% 更新
  • 基础检查结果等于或优于此分类中其他 4912 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Bamboo MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:BAMBOO_URL, BAMBOO_TOKEN, MCP_TRANSPORT

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Bamboo MCP Server

A Model Context Protocol server that exposes a self-hosted Atlassian Bamboo instance to AI assistants — Claude Desktop, Claude Code, Cursor, Windsurf, or any other MCP client.

Ask *"who deployed CHECKOUT to staging and did it pass?"* instead of clicking through the Bamboo UI.

Read-only by design. Every tool is registered behind a policy engine that enforces a GET-only floor. This server cannot trigger a build, start a deployment, or change anything in Bamboo.


⚠️ About self-hosted Bamboo

Atlassian has announced the end of support for Bamboo Data Center in 2029. If you are starting a new CI/CD project, you should be looking at a supported platform instead — check Atlassian's end-of-life policy for the current dates.

That said, plenty of organisations are still running Bamboo Server / Data Center today and will be for years, often with hundreds of plans and deployment projects accumulated over a decade. This project exists for those teams: if you are living with Bamboo until the migration lands, this makes the day-to-day "what's deployed where, and who broke it" questions a lot cheaper to answer.

Contributions are welcome, but be aware you are building on a platform with a known sunset.


Contents

  • Features
  • Quick start
  • Configuration
  • Connecting an MCP client
  • Plan context — teaching it your conventions
  • Security model
  • Example prompts
  • Important points & known limitations
  • Development
  • License

Features

31 read-only Bamboo tools

Server & projects (5)

ToolWhat it does
bamboo_server_infoBamboo server version and build info
bamboo_health_checkReachability and auth check
bamboo_list_projectsList projects (paginated)
bamboo_list_all_projectsList every project (auto-paginated)
bamboo_get_projectDetails for one project

Plans & branches (5)

ToolWhat it does
bamboo_list_plansList all build plans
bamboo_get_planDetails for one plan
bamboo_search_plansSearch plans by name
bamboo_list_plan_branchesBranch plans for a plan
bamboo_get_plan_branchDetails for one branch plan

Builds (7)

ToolWhat it does
bamboo_get_latest_resultLatest build result for a plan
bamboo_list_build_resultsRecent build results
bamboo_get_build_resultOne build result
bamboo_get_build_result_expandedBuild result plus changes, artifacts, stages, metadata and log URLs
bamboo_get_build_repositoriesRepositories and commits for a build
bamboo_get_plan_repositoriesRepositories configured on a plan
bamboo_get_build_queueWhat's currently queued

Deployments (8)

ToolWhat it does
bamboo_list_deployment_projectsAll deployment projects
bamboo_list_deployment_projects_for_planDeployment projects linked to a build plan
bamboo_get_deployment_projectDeployment project + its environments
bamboo_get_environment_resultsDeployment history for an environment — who, when, status, version
bamboo_get_deployment_resultFull detail of one deployment (trigger, timing, agent)
bamboo_list_deploy_versionsReleases/versions for a deployment project
bamboo_get_deploy_versionOne version (creator, plan branch, items)
bamboo_get_deploy_version_statusWhere a given version sits across all environments

Plan context — the "smart" tools (6)

These are what make the server useful rather than just a REST wrapper. They read a YAML file describing *your* plan-key and environment naming conventions, so the model can go from a human reference to a Bamboo key without you spelling it out.

ToolWhat it does
bamboo_resolve_planCHECKOUT + app → EXAMPLE-CHECKOUTAPP
bamboo_get_deploy_statusOne call: resolve plan → latest build → deployment project → filter environments → per-environment history → Bamboo UI + log links
bamboo_explain_environmentParse staging_network_checkout_deploy into env / module / ref / action, with descriptions
bamboo_get_plan_type_infoEverything known about a plan type: formats, actions, modules, log patterns, custom inputs, hints
bamboo_get_plan_contextDump the whole context config
bamboo_reload_contextHot-reload the config after you edit it — no restart

Bitbucket credential storage (4) — optional, see limitations

bitbucket_add_repo, bitbucket_get_repo, bitbucket_list_repos, bitbucket_delete_repo.

Stores repository URL/username/token in ~/.bamboo-mcp/bitbucket.json (mode 0600, tokens masked on read). Nothing else in the server consumes this — Bitbucket links in build results are built from the BITBUCKET_URL environment variable. See limitations.

35 tools total. The full surface — names, descriptions and JSON Schemas — is generated into tools.json, and bamboo-mcp --list-tools prints the same payload without needing a Bamboo connection. See the tool manifest.

9 prompt templates

MCP prompts give the model a structured plan for common workflows, so you get consistent output instead of ad-hoc tool flailing.

PromptArgumentsPurpose
deploy_statusreference, plan_type, environment, moduleDeployment status with per-environment history
who_deployed_lastreference, environment*, module, plan_typeWho shipped last, and when
explain_environmentenvironment_name*, plan_typeBreak an env name into its parts
plan_type_guideplan_type*Full guide to a plan type
build_investigationbuild_key*Investigate a build — changes, stages, log link
build_repositoriesbuild_key, plan_keyCommits and repos behind a build
deployment_historyenvironment_id*, limitWho deployed what, when, as a table
resolve_planreference*, plan_typeReference → plan key + latest build
health_check—Full Bamboo health report
  • = required
Other
  • Two transports — stdio for desktop clients, sse (HTTP) for containers and remote access.
  • Startup validation — config completeness, URL format, network reachability, token validity, transport sanity. Skippable with SKIP_VALIDATION=true.
  • Security layer — GET-only floor, per-tool rate limits, result caps, response size limits, prompt-injection scanning. See Security model.
  • Proxy support — BAMBOO_PROXY for corporate networks.
  • Declared tool surface — tools.json and --list-tools, generated from the catalog and verified in CI, with a test that calls every declared tool. See Tests.

Quick start

Requires Go 1.23+ and a Bamboo personal access token.

git clone https://github.com/hmdmph/bamboo-mcp.git

cd bamboo-mcp make build # → bin/bamboo-mcp

export BAMBOO_URL=https://bamboo.example.com export BAMBOO_TOKEN=your_personal_access_token

./bin/bamboo-mcp # stdio mode

Getting a token: Bamboo → your profile → *Personal access tokens* → create. Read permission on the projects you care about is enough; this server never writes.

Docker / Podman

Prebuilt multi-arch images (linux/amd64, linux/arm64) are published to GHCR on every release:

docker run --rm -p 8080:8080 \

-e BAMBOO_URL=https://bamboo.example.com \ -e BAMBOO_TOKEN=your_token \ ghcr.io/hmdmph/bamboo-mcp:latest

Tags: latest, 1, 1.2, 1.2.3. Or build it yourself:

make docker-build

make docker-run-sse # detached, SSE on :8080

DOCKER_IMAGE=myregistry/bamboo-mcp DOCKER_TAG=v1.0.0 HTTP_PORT=9090 make docker-run-sse make docker-logs make docker-stop

# docker-compose.yml

services: bamboo-mcp: image: bamboo-mcp:latest ports: ["8080:8080"] environment: BAMBOO_URL: https://bamboo.example.com BAMBOO_TOKEN: your-token MCP_TRANSPORT: sse MCP_BASE_URL: http://bamboo-mcp:8080 restart: unless-stopped

Behind a corporate CA? The Dockerfile has commented-out lines near the top for copying your own PEM files into the image — drop them in certs/ and uncomment.


Configuration

All configuration is environment variables. Copy .env.example to .env.dev to keep them out of git.

VariableDefaultPurpose
BAMBOO_URL—Required. Base URL, e.g. https://bamboo.example.com
BAMBOO_TOKEN—Required. Personal access token (sent as Bearer)
BAMBOO_PROXY—HTTP proxy, e.g. http://proxy.example.com:8080
BITBUCKET_URL—Base URL used to build source links in build results
VERBOSEfalseLog requests/responses to stderr
CONTEXT_FILE~/.bamboo-mcp/context.yamlPlan context config
SECURITY_FILE~/.bamboo-mcp/security.yamlSecurity policy config
SKIP_VALIDATIONfalseStart even if Bamboo is unreachable
MCP_TRANSPORTstdiostdio or sse
MCP_HTTP_HOST0.0.0.0SSE only
MCP_HTTP_PORT8080SSE only
MCP_BASE_URLhttp://localhost:8080SSE only — the externally reachable URL

Note on logging: in stdio mode, stdout carries the MCP protocol stream. All logging goes to stderr — never add fmt.Println to a handler.


Connecting an MCP client

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "bamboo": { "command": "/absolute/path/to/bamboo-mcp/bin/bamboo-mcp", "env": { "BAMBOO_URL": "https://bamboo.example.com", "BAMBOO_TOKEN": "your_personal_access_token" } } } }

Claude Code
claude mcp add bamboo /absolute/path/to/bin/bamboo-mcp \

-e BAMBOO_URL=https://bamboo.example.com \ -e BAMBOO_TOKEN=your_personal_access_token

Cursor / Windsurf

Same shape as Claude Desktop, in the client's MCP settings file.

Remote (SSE)
{

"mcpServers": { "bamboo": { "url": "http://your-server:8080/sse" } } }

The SSE server exposes /sse and /message. It has no authentication of its own — see limitations.


Plan context — teaching it your conventions

This is the part worth spending ten minutes on.

Most Bamboo estates encode meaning in their plan keys and environment names — something like PROJ-CHECKOUTAPP with environments called staging_network_checkout_deploy. Out of the box an AI assistant has no idea what any of that means. context.yaml tells it.

On first run a starter file is written to ~/.bamboo-mcp/context.yaml. It ships deliberately generic placeholders — the feature only becomes useful once you describe your own conventions. A fully commented, worked example lives in examples/context.yaml.

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx