Bitbucket MCP Server

A Model Context Protocol (MCP) server that provides integration with Bitbucket API for repositories, pull requests, and issues management.

Local serverstdioMIT

What is the Bitbucket MCP Server?

Bitbucket MCP Server is an MCP project maintained in the rafliruslan/bitbucket-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides integration with Bitbucket API for repositories, pull requests, and issues management”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares BITBUCKET_USERNAME, BITBUCKET_APP_PASSWORD. 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
bitbucket_list_repositoriesList repositories in a workspace
bitbucket_get_repositoryGet repository details
bitbucket_list_pull_requestsList pull requests
bitbucket_get_pull_requestGet pull request details
bitbucket_create_pull_requestCreate a new pull request
bitbucket_list_issuesList repository issues

How to install the Bitbucket MCP Server

{
  "mcpServers": {
    "bitbucket": {
      "command": "node",
      "args": [
        "/path/to/bitbucket-mcp-server/build/index.js"
      ],
      "env": {
        "BITBUCKET_USERNAME": "your-username",
        "BITBUCKET_APP_PASSWORD": "YOUR_BITBUCKET_APP_PASSWORD"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
BITBUCKET_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
BITBUCKET_APP_PASSWORDDeclared in the maintainer’s client configuration.Check documentation