Bitbucket MCP
B

Bitbucket MCP

An MCP server that connects AI assistants with Bitbucket Cloud, providing 45 tools for code review, pull request management, pipeline monitoring, etc., and supporting platforms such as Claude Code, VS Code, and Cursor.
2 points
8.9K

What is Bitbucket MCP Server?

Bitbucket MCP Server is a bridge that connects AI assistants with Bitbucket cloud repositories. It allows you to use natural language to communicate with AI assistants (such as Claude, GitHub Copilot) to manage your code repositories, review pull requests, monitor build status, etc., without manually operating the Bitbucket interface or memorizing complex API commands.

How to use Bitbucket MCP Server?

The usage is divided into three simple steps: 1) Install the server (it is recommended to use the uvx tool); 2) Configure Bitbucket API credentials (username, token, and workspace); 3) Configure the MCP server connection in your favorite AI assistant (Claude Code, VS Code, Cursor). After the configuration is completed, you can directly ask the AI assistant questions about your Bitbucket repository.

Use cases

This service is particularly suitable for developers and team leaders for: quickly reviewing the content and status of multiple pull requests; obtaining the real-time status of the repository build pipeline; managing code review tasks in batches; querying relevant code history or PR information without switching tools during coding.

Main features

Rich toolset
Provides 45 MCP tools, covering the complete development workflow of repositories, PRs, comments, tasks, difference comparison, pipelines, build status, reviewers, etc.
Streamlined response
Optimizes the API response, filters out irrelevant metadata, significantly reduces the token usage of the AI assistant, and improves the interaction efficiency.
Highly configurable
Specific tools can be flexibly enabled/disabled through configuration files or environment variables. For example, high-risk operations such as merging PRs and stopping pipelines are disabled by default for security reasons.
Secure credential management
Supports securely storing Bitbucket API tokens through environment variables or the system keychain (such as macOS Keychain) to avoid the leakage of sensitive information.
Multi-client support
Seamlessly supports Claude Code, VS Code (GitHub Copilot), Cursor, and any AI assistant that follows the MCP protocol.
Advantages
Improve efficiency: Quickly complete Bitbucket operations through natural language and reduce context switching.
Reduce costs: The streamlined response design reduces the number of tokens processed by AI, which may reduce the usage cost.
Flexible and secure: The tool permissions can be finely controlled. High-risk operations are disabled by default to ensure the security of the repository.
Easy to integrate: Provides multiple installation methods (uvx, pip, Docker) and clear configuration examples for each client.
Limitations
Only available for Bitbucket Cloud: Currently does not support Bitbucket Server (local deployment version).
Depends on API tokens: Users need to create and properly manage Bitbucket API tokens with appropriate permissions.
Some advanced functions need to be manually enabled: Operations such as merging PRs and stopping pipelines need to be explicitly enabled in the configuration.

How to use

Install the server
It is recommended to use the uvx tool for installation-free operation, which is the fastest and environment-isolated way.
Get and configure credentials
Create an API token in your Atlassian account (pay attention to selecting specific scopes, such as 'Repositories: Read') and set environment variables.
Configure the AI client
Edit the corresponding configuration file according to the AI assistant you are using (Claude Code, VS Code, or Cursor) and add the MCP server information. A configuration example for Claude Code is provided below.

Usage examples

Quickly review a PR
A developer wants to quickly understand the changes in a PR without opening the web page to view line by line.
Check the build status
A team leader wants to confirm whether all the pipelines of an important bug-fix PR have passed.
Batch process review tasks
A reviewer returns from vacation and needs to process the accumulated review tasks and add comments uniformly.

Frequently Asked Questions

Why can't I use my API token?
How can I reduce the token consumption of the AI assistant when processing large PRs?
How can I enable the 'Merge PR' function that is disabled by default?
Does it support Bitbucket Server (local version)?

Related resources

MCP official registry
Find other available MCP servers.
PyPI project page
View the details of the Python package, version history, and installation statistics.
Bitbucket REST API documentation
Understand the detailed interface description of the underlying Bitbucket API.
GitHub project repository
Access the source code, submit issues, view the CI status, and contribution guidelines.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "bitbucket-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--from", "bitbucket-mcp-py", "bitbucket-mcp"],
      "env": {
        "BITBUCKET_USERNAME": "your-email@example.com",
        "BITBUCKET_TOKEN": "your-api-token",
        "BITBUCKET_WORKSPACE": "your-workspace"
      }
    }
  }
}

{
  "mcpServers": {
    "bitbucket-mcp": {
      "command": "uvx",
      "args": ["--from", "bitbucket-mcp-py", "bitbucket-mcp"],
      "env": {
        "BITBUCKET_USERNAME": "your-email@example.com",
        "BITBUCKET_TOKEN": "your-api-token",
        "BITBUCKET_WORKSPACE": "your-workspace"
      }
    }
  }
}

{
  "mcpServers": {
    "bitbucket-mcp": {
      "command": "docker",
      "args": ["exec", "-i", "bitbucket-mcp", "python", "-m", "src.main", "--transport", "stdio"]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
9.6K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
9.1K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
14.9K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
6.7K
4 points
P
Paperbanana
Python
10.0K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
8.7K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
10.0K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
8.9K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
28.5K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
24.9K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
81.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
38.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
69.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
37.5K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
24.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
56.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase