bitbucket-mcp
Provides tools for managing Bitbucket pull requests, comments, and pipelines.
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-mcplist open pull requests"
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
⚠️ This is a personal project built for fun and carries no support or guarantees. For anything that matters, prefer the official Atlassian MCP server.
An MCP server for Bitbucket Cloud, covering pull requests, pull request comments, and pipelines. Distributed as a Claude Code plugin.
Setup
Requires uv on PATH.
1. Install
claude plugin marketplace add Zomino/bitbucket-mcp
claude plugin install bitbucket@bitbucket2. Create a token
Create a Bitbucket API token at https://id.atlassian.com/manage-profile/security/api-tokens. Grant exactly these scopes:
Scope | Why |
| List and read pull requests, diffs, commits, statuses, and comments |
| Create, update, comment, approve, request changes, decline, and merge |
| Read pipelines, steps, and step logs |
| Read the repository content behind pull request diffs and commits |
With BITBUCKET_READ_ONLY=true, drop write:pullrequest:bitbucket and grant
only the three read: scopes.
3. Set the env vars
Set these in the env block of a Claude Code settings file
(~/.claude/settings.json for every project, or .claude/settings.json for
one), then restart the session.
{
"env": {
"BITBUCKET_WORKSPACE": "my-workspace",
"BITBUCKET_REPO": "my-repo",
"BITBUCKET_USERNAME": "me@example.com",
"BITBUCKET_API_TOKEN": "…"
}
}Variable | Required | Default | Purpose |
| yes | Workspace slug | |
| yes | Repository slug | |
| yes | Atlassian account email | |
| yes | Token from step 2 | |
| no |
| Expose read-only tools only |
| no |
| Toggle pull request tools |
| no |
| Toggle pipeline tools |
Related MCP server: Bitbucket MCP Server
Development
Run the test suite with
uv run pytest.Build a wheel with
uv build.Publish with
uv publish.
One server instance targets one workspace and repository, selected by the env vars above.
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables interaction with Bitbucket repositories through the Model Context Protocol, supporting both Bitbucket Cloud and Server with features for PR lifecycle management and code review.Last updated194,43424MIT
- Alicense-qualityDmaintenanceAn 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.Last updated4,434MIT
- Alicense-qualityDmaintenanceAn MCP server for Bitbucket Cloud that enables managing pull requests, branches, and repositories in natural language from any MCP-capable client.Last updated1114MIT
- AlicenseAqualityCmaintenanceMCP server for Bitbucket Cloud, focused on pull-request review workflowsLast updated4115,152MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
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/Zomino/bitbucket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server