MCP.so
Sign In

Bitbucket Server MCP

@ManiKsi

About Bitbucket Server MCP

No overview available yet

Basic information

Category

Version Control

License

MIT

Runtime

node

Transports

stdio

Publisher

ManiKsi

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "bitbucket-server-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bitbucket-server-mcp"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Bitbucket Server MCP?

Bitbucket Server MCP is a Model Context Protocol server that provides a robust interface for automating and managing Bitbucket Server repositories and pull requests. It is designed for enterprise environments, supporting advanced workflows, large diffs, and seamless integration with MCP clients.

How to use Bitbucket Server MCP?

Install via npx (npx -y bitbucket-server-mcp) or clone and build locally, then configure environment variables (BITBUCKET_URL, BITBUCKET_TOKEN, optional BITBUCKET_DEFAULT_PROJECT, BITBUCKET_DEFAULT_REVIEWERS). Add the server to your MCP client configuration (e.g., cline_mcp_settings.json) with the appropriate command and arguments.

Key features of Bitbucket Server MCP

  • List repositories, branches, and pull requests
  • Create, update, merge, decline, and delete pull requests
  • Add comments and inline code suggestions
  • Retrieve pull request diffs and review status
  • Efficient handling of large pull request diffs
  • Cross-platform support (Windows, Mac, Linux)

Use cases of Bitbucket Server MCP

  • Automate pull request creation and merging for CI/CD workflows
  • Add code review comments and inline suggestions programmatically
  • Retrieve diffs for static analysis or integration with other tools
  • Manage repository and branch listings across large Bitbucket Server instances
  • Integrate pull request operations into chat or automation bots via MCP

FAQ from Bitbucket Server MCP

What is required to run Bitbucket Server MCP?

You need a Bitbucket Server URL and either a personal access token (BITBUCKET_TOKEN) or username/password. Optionally set a default project key and default reviewers.

How do I configure Bitbucket Server MCP in an MCP client?

Add a server entry to your MCP settings (e.g., cline_mcp_settings.json) with the command npx -y bitbucket-server-mcp and environment variables for your Bitbucket instance. If npx is unavailable, use direct node invocation with the built index.js path.

Does Bitbucket Server MCP support large pull request diffs?

Yes, the server is designed for efficient handling of large pull request diffs and supports retrieval of diffs and review status.

What authentication methods are supported?

You can authenticate using a personal access token (recommended) via the BITBUCKET_TOKEN variable, or fall back to BITBUCKET_USERNAME and BITBUCKET_PASSWORD.

What platforms does Bitbucket Server MCP run on?

It is cross-platform and supports Windows, Mac, and Linux.

Comments

More Version Control MCP servers