bitbucket

Community-maintained MCP server for Atlassian Bitbucket Data Center. Not affiliated with Atlassian.

build.protocol_tooling.mcp#mcp#atlassian#bitbucket#data-center#model-context-protocol

Install bitbucket in your MCP client

bitbucket is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add bitbucket to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; bitbucket's tools should appear.
{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "-y",
        "@atlassian-dc-mcp/bitbucket"
      ]
    }
  }
}

Install bitbucket in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. bitbucket will show up in the assistant's tool list on next launch.

Install bitbucket in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). bitbucket will show up in the assistant's tool list on next launch.

Install bitbucket in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). bitbucket will show up in the assistant's tool list on next launch.

Install bitbucket in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. bitbucket will show up in the assistant's tool list on next launch.

npm package: @atlassian-dc-mcp/bitbucket

Transport

bitbucket supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

From the bitbucket README

# Atlassian Bitbucket Data Center MCP This package provides a Machine Comprehension Protocol (MCP) server for interacting with Atlassian Bitbucket Data Center edition. ## Claude Desktop Configuration To use this MCP connector with Claude Desktop, add the following to your Claude Desktop configuration: macOS: ``` ~/Library/Application Support/Claude/claude_desktop_config.json ``` Windows: ``` %APPDATA%\Claude\claude_desktop_config.json ``` ```json { "mcpServers": { "atlassian-bitbucket-dc": { "command": "npx", "args": ["-y", "@atlassian-dc-mcp/bitbucket"], "env": { "BITBUCKET_HOST": "your-bitbucket-host", "BITBUCKET_API_TOKEN": "your-token" } } } } ``` To reuse one shared dotenv file across multiple tools or MCP hosts, point the ser

Other Model Context Protocol servers in the same space as bitbucket. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.