Bitbucket Server Model Context Protocol Server

1.10.8 · active · verified Tue Apr 21

mcp-bitbucket-server is a Model Context Protocol (MCP) server designed to connect AI assistants, such as Claude, to Bitbucket Server/Data Center instances. It enables natural language interaction for tasks like reviewing pull requests, managing repositories, searching users, and adding comments directly from an AI interface. The current stable version is 1.10.8. While no explicit release cadence is stated, the use of `npx mcp-bitbucket-server@latest` suggests frequent updates and maintenance. Key differentiators include its focus on the MCP standard, providing 11 specialized tools for Bitbucket operations, optimizing responses to reduce AI token usage, and utilizing Bitbucket Personal Access Tokens for secure authentication rather than OAuth or more complex schemes. It supports Node.js versions 22.0.0 and newer.

Common errors

Warnings

Install

Imports

Quickstart

This command registers the Bitbucket Server MCP with the Claude Code CLI, setting up environment variables for the Bitbucket URL and a Personal Access Token.

claude mcp add -s user \
    bitbucket-server \
    npx mcp-bitbucket-server@latest \
    -e "BITBUCKET_URL=https://bitbucket.yourcompany.com" \
    -e "BITBUCKET_TOKEN=your_personal_access_token"

view raw JSON →