Skip to main content
Glama
Atlassian Bamboo MCP Server

Atlassian Bamboo MCP Server

by norus

Atlassian Bamboo MCP Server

CI NPM Version MIT licensed TypeScript MCP

A Model Context Protocol (MCP) server that brings Atlassian Bamboo CI/CD operations directly into AI assistants like Claude Code and Cursor.

❌ Without Bamboo MCP

Working with Bamboo CI/CD requires constant context switching:

  • ❌ Switching to browser to check build status

  • ❌ Manually navigating through Bamboo UI to find logs

  • ❌ Copy-pasting build keys and deployment IDs

  • ❌ No AI assistance for CI/CD troubleshooting

Related MCP server: TeamCity MCP Server

✅ With Bamboo MCP

Bamboo MCP brings your CI/CD operations directly into your AI workflow:

What's the status of the latest build for project MY-PROJECT?
Show me the deployment logs for deployment result 2661941325
Trigger a build for plan PROJ-PLAN with variable ENV=staging

No tab-switching, no manual navigation — just ask and get instant CI/CD insights.

Features

  • 26 tools covering all major Bamboo operations

  • Build logs with actual content (not just URLs)

  • Deployment logs with full output

  • Proxy support for corporate environments

  • TypeScript with full type safety

Installation

Prerequisites

  • Node.js 22.23.4+, 24.22.1+, or 26.12.1+ (see security note below)

  • Bamboo personal access token (how to create)

Security note: Node.js versions before 22.23.4, 24.22.1 and 26.12.1 are affected by CVE-2026-111497 ("Node2Shell"), an out-of-bounds write in the Brotli decoder bundled with Node.js. This server decompresses Brotli-encoded responses from the Bamboo server, so run it on a patched Node.js release. Node.js 18 and 20 are end-of-life and will not receive the fix. If you use the Docker image, rebuild it with docker build --pull to pick up the patched base image.

From Source

git clone https://github.com/norus/atlassian-bamboo-mcp.git
cd atlassian-bamboo-mcp
npm install
npm run build

From npm

npm install -g bamboo-mcp-server

Configuration

The server requires these environment variables:

Variable

Required

Description

BAMBOO_URL

Yes

Base URL of your Bamboo server

BAMBOO_TOKEN

Yes

Personal access token

BAMBOO_PROXY

No

Proxy URL (e.g., http://proxy:8080)

Creating a Bamboo Token

  1. Log into Bamboo

  2. Go to Profile → Personal access tokens

  3. Click Create token

  4. Give it a name and appropriate permissions

  5. Copy the token (you won't see it again)

Setup

Run this command:

claude mcp add bamboo -- npx -y bamboo-mcp-server@latest

Or add to ~/.claude/settings.json:

{
  "mcpServers": {
    "bamboo": {
      "command": "npx",
      "args": ["-y", "bamboo-mcp-server@latest"],
      "env": {
        "BAMBOO_URL": "https://bamboo.example.com",
        "BAMBOO_TOKEN": "your-token"
      }
    }
  }
}

Add to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "bamboo": {
      "command": "npx",
      "args": ["-y", "bamboo-mcp-server@latest"],
      "env": {
        "BAMBOO_URL": "https://bamboo.example.com",
        "BAMBOO_TOKEN": "your-token",
        "BAMBOO_PROXY": "http://proxy:8080"
      }
    }
  }
}

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bamboo": {
      "command": "npx",
      "args": ["-y", "bamboo-mcp-server@latest"],
      "env": {
        "BAMBOO_URL": "https://bamboo.example.com",
        "BAMBOO_TOKEN": "your-token"
      }
    }
  }
}
BAMBOO_URL="https://bamboo.example.com" \
BAMBOO_TOKEN="your-token" \
npx bamboo-mcp-server

Build the image

docker build -t bamboo-mcp-server .

Run with Docker

docker run -i --rm \
  -e BAMBOO_URL="https://bamboo.example.com" \
  -e BAMBOO_TOKEN="your-token" \
  -e BAMBOO_PROXY="http://host.docker.internal:8080" \
  bamboo-mcp-server

Proxy configuration

When using a proxy from Docker:

  • macOS/Windows: Use host.docker.internal to reach the host (e.g., http://host.docker.internal:8080)

  • Linux: Use --network host flag or the host's actual IP address

Use with Claude Desktop

{
  "mcpServers": {
    "bamboo": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "BAMBOO_URL=https://bamboo.example.com",
        "-e", "BAMBOO_TOKEN=your-token",
        "-e", "BAMBOO_PROXY=http://host.docker.internal:8080",
        "bamboo-mcp-server"
      ]
    }
  }
}

Docker Compose

services:
  bamboo-mcp:
    build: .
    environment:
      - BAMBOO_URL=https://bamboo.example.com
      - BAMBOO_TOKEN=${BAMBOO_TOKEN}
      - BAMBOO_PROXY=http://host.docker.internal:8080
    stdin_open: true

Available Tools

Server (2)

Tool

Description

bamboo_server_info

Get Bamboo server version and state

bamboo_health_check

Check server health status

Projects (2)

Tool

Description

bamboo_list_projects

List all projects

bamboo_get_project

Get project details by key

Plans (6)

Tool

Description

bamboo_list_plans

List all build plans

bamboo_get_plan

Get plan details by key

bamboo_search_plans

Search plans by name

bamboo_enable_plan

Enable a build plan

bamboo_disable_plan

Disable a build plan

bamboo_clone_plan

Clone a build plan to a new plan

Branches (2)

Tool

Description

bamboo_list_plan_branches

List branches for a plan

bamboo_get_plan_branch

Get branch details

Builds (7)

Tool

Description

bamboo_trigger_build

Trigger a build (supports variables)

bamboo_stop_build

Stop a running build

bamboo_get_build_result

Get specific build result

bamboo_get_latest_result

Get latest build result

bamboo_list_build_results

List build results with filters

bamboo_get_build_logs

Get build log file URLs

bamboo_get_build_result_logs

Get build logs with actual content

Queue (2)

Tool

Description

bamboo_get_build_queue

Get current build queue

bamboo_get_deployment_queue

Get deployment queue status

Deployments (6)

Tool

Description

bamboo_list_deployment_projects

List deployment projects

bamboo_get_deployment_project

Get deployment project details

bamboo_create_deployment_project

Create a deployment project linked to a build plan

bamboo_get_deployment_results

Get deployment results for environment

bamboo_get_deployment_result

Get deployment result with logs

bamboo_trigger_deployment

Trigger a deployment

Example Prompts

Show me all failed builds in the last 24 hours
What's blocking the deployment queue?
Get the logs for build PROJ-PLAN-123 and tell me why it failed
Trigger a build for MY-PROJECT with variable DEPLOY_ENV=staging
List all branches for plan MY-PLAN and their build status

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Run locally
BAMBOO_URL="https://bamboo.example.com" \
BAMBOO_TOKEN="your-token" \
node dist/index.js

Troubleshooting

  • Verify BAMBOO_URL is correct and accessible

  • If behind a proxy, set BAMBOO_PROXY

  • Check if your token has expired

  • Verify your BAMBOO_TOKEN is correct

  • Ensure the token hasn't expired

  • Check token permissions in Bamboo

  • Restart Claude Code/Desktop after config changes

  • Verify the path to dist/index.js is absolute

  • Check Claude's MCP logs for errors

Security

  • No hardcoded secrets — all credentials via environment variables

  • Input validation — Zod schemas on all tool inputs

  • Proxy support — works in corporate environments

  • Read-heavy — most operations are read-only

For security issues, please report via GitHub Security tab.

License

MIT

Contributing

Contributions welcome! Please read our contributing guidelines before submitting PRs.

Available Tools

27 tools
bamboo_clone_planB

Clone an existing Bamboo build plan to a new plan

Inputs: dest_plan_key (required), source_plan_key (required), dest_project_key (required).

bamboo_create_deployment_projectB

Create a new Bamboo deployment project linked to a build plan

Inputs: name (required), plan_key (required), description.

bamboo_disable_planC

Disable a Bamboo build plan

Inputs: plan_key (required).

bamboo_enable_planB

Enable a Bamboo build plan

Inputs: plan_key (required).

bamboo_get_build_logsC

Get the build logs for a specific build. Returns log file URLs that can be accessed via browser.

Inputs: build_key (required), job_key.

bamboo_get_build_queueB

Get the current Bamboo build queue

Inputs: expand.

bamboo_get_build_resultC

Get the result of a specific build

Inputs: build_key (required), expand.

bamboo_get_build_result_logsA

Get build result with actual log content. For plan builds, fetches logs from all jobs. For job builds, returns logs directly.

Inputs: build_key (required), max_log_lines.

bamboo_get_deployment_projectA

Get details of a specific deployment project

Inputs: project_id (required).

bamboo_get_deployment_queueA

Get the current Bamboo deployment queue

Inputs: no named parameters.

bamboo_get_deployment_resultA

Get a specific deployment result with optional logs

Inputs: deployment_result_id (required), include_logs, max_log_lines.

bamboo_get_deployment_resultsC

Get deployment results for an environment

Inputs: environment_id (required), max_results, start_index.

bamboo_get_latest_resultB

Get the latest build result for a plan

Inputs: plan_key (required), expand.

bamboo_get_planB

Get details of a specific Bamboo build plan by key

Inputs: plan_key (required), expand.

bamboo_get_plan_branchB

Get details of a specific plan branch

Inputs: plan_key (required), branch_name (required).

bamboo_get_projectA

Get details of a specific Bamboo project by key

Inputs: project_key (required), expand.

bamboo_health_checkB

Check Bamboo server health status

Inputs: no named parameters.

bamboo_list_build_resultsC

List build results with optional filters

Inputs: expand, plan_key, build_state, max_results, +3 more.

bamboo_list_deployment_projectsA

List all Bamboo deployment projects

Inputs: no named parameters.

bamboo_list_plan_branchesB

List all branches for a Bamboo build plan

Inputs: plan_key (required), max_results, start_index, enabled_only.

bamboo_list_plansC

List all Bamboo build plans

Inputs: expand, max_results, start_index.

bamboo_list_projectsB

List all Bamboo projects

Inputs: expand, max_results, start_index.

bamboo_search_plansB

Search for Bamboo build plans by name

Inputs: name (required), fuzzy, max_results, start_index.

bamboo_server_infoA

Get Bamboo server information including version, edition, and state

Inputs: no named parameters.

bamboo_stop_buildB

Stop a running build for a Bamboo plan

Inputs: plan_key (required).

bamboo_trigger_buildC

Trigger a build for a Bamboo plan

Inputs: plan_key (required), stage, variables, custom_revision, +1 more.

bamboo_trigger_deploymentC

Trigger a deployment to an environment

Inputs: version_id (required), environment_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 27 tools

    Disambiguation4/5

    Most tools have distinct purposes, but bamboo_get_build_logs and bamboo_get_build_result_logs could cause confusion as both relate to logs. The descriptions help disambiguate (URLs vs actual content), but the overlap is slight.

    Naming Consistency5/5

    All tools follow a consistent 'bamboo_verb_noun' pattern in snake_case, making it predictable and easy to understand the action and resource.

    Tool Count4/5

    27 tools is on the high side but still justifiable given the broad scope of Bamboo (projects, plans, branches, builds, deployments, server info). Each tool contributes to a complete CI/CD workflow.

    Completeness3/5

    The toolset covers many operations but lacks a create plan from scratch (only clone) and update plan functionality. Core workflows like triggering and viewing results are covered, but some lifecycle gaps exist.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with BambooHR's API through natural language queries. Provides access to employee data, time off management, company files, and HR operations with comprehensive tools for workforce management.
      108 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding assistants to interact with JetBrains TeamCity CI/CD server through natural language commands. Supports triggering builds, monitoring status, analyzing test failures, and managing build configurations directly from development environments.
      32
      2,848 npm
      32
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Jenkins CI/CD systems through natural language, providing build management, job monitoring, log analysis, and debugging capabilities.
      MIT