Bitbucket MCP Server
Allows autonomous agents to perform file modifications, check commits, and manage pull requests on Bitbucket Cloud or Server.
Quick Answer / TL;DR
The Bitbucket MCP server establishes a secure, local or remote JSON-RPC 2.0 communication tunnel, allowing AI models (like Claude or Cursor) to automatically discover and execute capabilities (tools, prompts, and resources) within the Bitbucket ecosystem with extremely low latency.
Key Takeaways
- Integrate codebases into LLM workflows
- Check branch status
- Review repository changes
Core Integration Concept
Connecting the model to Bitbucket bypasses complex setup. The LLM can auto-discover what endpoints are active, what input variables are expected, and how answers will be delivered.
Verified Use Cases
Setup Overview
Connection Setup Checklist
- Prepare Credentials: Obtain your App Password / OAuth credentials directly from your Bitbucket settings.
- Update Config: Add the executable tool command structure directly to your Claude config file.
- Restart & Confirm: Reload the desktop model client to complete the connection handshake sequence.
Sample Connection Schema
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "execute_bitbucket",
"arguments": {
"query": "status_check"
}
},
"id": 1
}Security Considerations
To guarantee perfect data isolation, safeguard the App Password / OAuth credentials. Always run integrations in sandboxed contexts to block unsolicited access.
Best Practices
- Configure exact resource boundaries for the Repo checkout feature.
- Configure exact resource boundaries for the Pull request reviews feature.
- Configure exact resource boundaries for the Branch updates feature.
- Configure exact resource boundaries for the Commit search feature.
Required Auth Keys
App Password / OAuth
Deploy Bitbucket Server
Deploy this Bitbucket integration to our global edge container cluster. Zero DevOps, instant SSE.
Related Connectors
Bitbucket - FAQ
Contextual information and technical support details regarding Model Context Protocol integration