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 Server
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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