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
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/Zomino/bitbucket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server