MCP.so
Sign In

Bitbucket Server MCP Server

@kartikpatpatwingify

Basic information

Category

Version Control

License

Apache-2.0 license

Transports

stdio

Author

kartikpatpatwingify

About Bitbucket Server MCP Server

MCP (Model Context Protocol) server for Bitbucket Server Pull Request management

Bitbucket Server MCP Server config

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

{
  "mcpServers": {
    "bitbucket-server-mcp-server-kartikpatpatwingify": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@garc33/bitbucket-server-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Bitbucket Server MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Bitbucket Server MCP?

Bitbucket Server MCP is a Model Context Protocol (MCP) server that provides tools and resources to interact with the Bitbucket Server API for pull request management. It is designed for developers who need to manage Bitbucket Server pull requests through MCP‑compatible clients.

How to use Bitbucket Server MCP?

Install the server via Smithery or manually, then build it with npm run build. Configure it in your MCP client settings (e.g., VSCode MCP settings file) by setting required environment variables (BITBUCKET_URL, authentication) and optionally default project/repository. Once running, the MCP client can call the provided tools to manage pull requests and related operations.

Key features of Bitbucket Server MCP

  • Create, retrieve, merge, and decline pull requests
  • Add comments to pull requests
  • Retrieve pull request diffs and review history
  • Push multiple files in a single commit to a branch
  • Support for personal access token or username/password authentication
  • Configurable default project and repository keys

Use cases of Bitbucket Server MCP

  • Automating pull request creation from CI/CD pipelines
  • Reviewing and merging pull requests without leaving the MCP client
  • Adding comments or declining pull requests programmatically
  • Fetching diffs or review history for code inspection
  • Pushing file changes directly from a conversational AI interface

Frequently asked questions

1

What Node.js version is required?

Node.js version 16 or higher is required.

2

What authentication options are available?

You can authenticate using either a personal access token (`BITBUCKET_TOKEN`) or basic authentication with username and password (`BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`).

3

How is the server configured?

Configuration is done via environment variables in your MCP client settings. `BITBUCKET_URL` is required, along with one of the two authentication methods. Optionally, `BITBUCKET_DEFAULT_PROJECT` and `BITBUCKET_DEFAULT_REPOSITORY` can be set to avoid repeating those parameters in every tool call.

4

Where are logs stored?

The server logs all operations to a file named `bitbucket.log` using the Winston logging framework.

5

How do I install Bitbucket Server MCP?

You can install it via Smithery: `npx -y @smithery/cli install @garc33/bitbucket-server-mcp-server --client claude`, or manually by cloning the repository and running `npm install` followed by `npm run build`.

Comments

More Version Control MCP servers