MCP Server for Bitbucket API

MCP server for Bitbucket API operations. Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Local serverstdio

What is the MCP Server for Bitbucket API MCP Server?

MCP Server for Bitbucket API is an MCP project maintained in the javimaligno/mcp-server-bitbucket repository. The maintainer describes its purpose as “MCP server for Bitbucket API operations. Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcp-server-bitbucket. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares BITBUCKET_WORKSPACE, BITBUCKET_EMAIL, BITBUCKET_API_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_repositoriesList and search repositories
get_repositoryGet repository details
create_repositoryCreate a new repository
delete_repositoryDelete a repository
update_repositoryUpdate repo settings
list_pull_requestsList PRs
get_pull_requestGet PR details
create_pull_requestCreate a new PR
merge_pull_requestMerge a PR
approve_prApprove a PR
unapprove_prRemove approval
request_changes_prRequest changes
decline_prDecline a PR
list_pr_commentsList comments
add_pr_commentAdd comment
get_pr_diffGet the diff
list_pipelinesList recent runs
get_pipelineGet status
get_pipeline_logsView logs
trigger_pipelineTrigger a run (supports custom pipelines and commit triggers)
stop_pipelineStop pipeline
list_pipeline_variablesList variables
get_pipeline_variableGet variable
create_pipeline_variableCreate variable
update_pipeline_variableUpdate variable
delete_pipeline_variableDelete variable

How to install the MCP Server for Bitbucket API MCP Server

{
  "mcpServers": {
    "bitbucket": {
      "command": "npx",
      "args": [
        "mcp-server-bitbucket"
      ],
      "env": {
        "BITBUCKET_WORKSPACE": "your-workspace",
        "BITBUCKET_EMAIL": "your-email@example.com",
        "BITBUCKET_API_TOKEN": "YOUR_BITBUCKET_API_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
BITBUCKET_WORKSPACEDeclared in the maintainer’s client configuration.Check documentation
BITBUCKET_EMAILDeclared in the maintainer’s client configuration.Check documentation
BITBUCKET_API_TOKENDeclared in the maintainer’s client configuration.Check documentation