Bitbucket Cloud MCP Server
Provides tools for retrieving pull request details and diffs from Bitbucket Cloud.
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 Cloud MCP ServerSummarize pull request #42 in the my-app 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 Cloud MCP Server
An MCP (Model Context Protocol) server that lets AI assistants read Bitbucket Cloud pull requests. Connect Claude, Copilot, or any MCP-compatible client to your Bitbucket Cloud workspace and review PRs through natural conversation.
What Can It Do?
Tool | Description |
| Retrieve pull request details (title, author, status, branches, etc.) |
| Get the full diff of a pull request |
Example prompts you can use with your AI assistant:
"Summarize pull request #42 in the my-app repo"
"Review the diff for PR #15 and suggest improvements"
"What's the status of open PRs in our project?"
Related MCP server: Bitbucket MCP Server
Quick Start
1. Install
git clone https://github.com/ttekun/bitbucket-cloud-mcp-server.git
cd bitbucket-cloud-mcp-server
npm install
npm run build2. Get a Bitbucket App Password
Go to Bitbucket Cloud → Personal Settings → App passwords
Create a new app password with Repository: Read and Pull request: Read permissions
3. Configure Your MCP Client
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"bitbucket-cloud": {
"command": "node",
"args": ["/absolute/path/to/bitbucket-cloud-mcp-server/build/index.js"],
"env": {
"BITBUCKET_TOKEN": "your-app-password",
"BITBUCKET_WORKSPACE": "your-workspace"
}
}
}
}Add to your VS Code settings or .vscode/mcp.json:
{
"mcpServers": {
"bitbucket-cloud": {
"command": "node",
"args": ["/absolute/path/to/bitbucket-cloud-mcp-server/build/index.js"],
"env": {
"BITBUCKET_TOKEN": "your-app-password",
"BITBUCKET_WORKSPACE": "your-workspace"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Bitbucket Cloud app password |
| No | Default workspace (can be overridden per request) |
Tool Parameters
Both tools accept the same parameters:
Parameter | Type | Required | Description |
| string | Yes* | Bitbucket workspace (*falls back to |
| string | Yes | Repository slug |
| number | Yes | Pull request ID |
Development
npm run dev # Watch mode
npm test # Run tests
npm run lint # Lint
npm run inspector # MCP Inspector (debug tool)License
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/ttekun/bitbucket-cloud-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server