drio
Open app

Bitbucket Server MCP

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

Bitbucket Server MCP is a server designed for managing pull requests in Bitbucket Server using the Model Context Protocol (MCP). It provides tools to interact with the Bitbucket Server API for efficient pull request management.

To use the Bitbucket Server MCP, install the necessary dependencies using npm, configure the server settings, and run the server to manage pull requests through the provided API endpoints.

  • Create, retrieve, merge, and decline pull requests. - Add comments to pull requests. - Fetch review history and diffs for pull requests. - Supports various merge strategies.
  1. Automating pull request creation and management in Bitbucket Server.
  2. Integrating pull request workflows into CI/CD pipelines.
  3. Enhancing collaboration among developers through comments and reviews.

Add to your AI client

Use these steps to connect Bitbucket Server MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "garc33-bitbucket-server-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-garc33-bitbucket-server-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What are the requirements to run Bitbucket Server MCP?

You need Node.js version 16 or higher to run the server.

How do I configure the server?

Configuration is done through the VSCode MCP settings file, where you specify the Bitbucket URL and authentication details.

Can I use this server for multiple Bitbucket projects?

Yes, you can manage multiple projects by specifying different project keys in your API requests.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":930,"uuid":"0625a65f-73e3-4cf9-87d7-555bb33aa5a1","name":"garc33_bitbucket-server-mcp-server","title":"Bitbucket Server MCP","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-01-28T02:18:58.516Z","updated_at":"2025-02-23T07:19:17.529Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"bitbucket,mcp,pull-request-management","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/garc33_bitbucket-server-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]