bitbucket-mcp
Provides tools for interacting with Bitbucket Cloud REST API, enabling management of repositories, branches, pull requests, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bitbucket-mcpshow me open pull requests in the project team/repo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bitbucket MCP
A FastMCP server for Bitbucket Cloud REST API.
Features
List repositories
Get repo details
List branches
List pull requests
Create/manage pull requests
And more...
Related MCP server: Bitbucket MCP
Setup
1. Create a Bitbucket API Token
Go to https://id.atlassian.com/manage-profile/security/api-tokens
Click "Create API token with scopes" (not the regular one)
Name it (e.g., "MCP Tool")
Under "Select app", choose Bitbucket
Grant the needed permissions (repo read/write, PR read/write, etc.)
Copy the token
2. Set Environment Variables
export BITBUCKET_EMAIL="your-email@domain.com"
export BITBUCKET_API_TOKEN="your-api-token-here"Or create a .env file:
BITBUCKET_EMAIL=your-email@domain.com
BITBUCKET_API_TOKEN=your-api-token-here3. Run the Server
# Using uv (recommended)
uv run --directory /path/to/bitbucket-mcp python server.py
# Or with pip
pip install -r requirements.txt
python server.py4. Connect via mcporter
Add to your mcporter.json:
{
"mcpServers": {
"bitbucket": {
"command": "/path/to/uv",
"args": [
"run",
"--directory",
"/path/to/bitbucket-mcp",
"python",
"server.py"
],
"env": {
"BITBUCKET_EMAIL": "your-email@domain.com",
"BITBUCKET_API_TOKEN": "your-api-token"
}
}
}
}Requirements
Python 3.10+
uv(optional, but recommended)
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that provides tools for interacting with the Bitbucket API, supporting both Bitbucket Cloud and Bitbucket Server, enabling pull request, branch, file, code review, and search operations.194,628MIT
- Alicense-qualityCmaintenanceAn MCP server for Bitbucket Cloud that enables managing pull requests, branches, and repositories in natural language from any MCP-capable client.1354MIT
- FlicenseCqualityCmaintenanceAn MCP server for Bitbucket Cloud, covering pull requests, pull request comments, and pipelines.26
- AlicenseAqualityCmaintenanceMCP server for Bitbucket Cloud that enables reviewing, managing, and merging pull requests, assigning reviewers by name, reading files at a ref, and inspecting pipeline status from any MCP client.14MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
A basic MCP server to operate on the Postman API.
MCP server for Appcircle mobile CI/CD platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanscdm/bitbucket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server