bitbucket-mcp
by MatanYemini·★ 136·Score 48
Bitbucket MCP server enables AI assistants to interact with Bitbucket repositories and pull requests.
Overview
The Bitbucket MCP server provides comprehensive integration with Bitbucket Cloud and Server APIs through the Model Context Protocol. It offers tools for managing repositories, pull requests, and related resources with proper authentication and safety features. The server is designed to be safe by default, avoiding DELETE operations to prevent data loss while allowing controlled enablement of dangerous operations when needed.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if your team uses Bitbucket for version control and you want AI assistants to directly interact with repositories, pull requests, and code review processes.
When NOT to choose this
Avoid this if you need write operations to Bitbucket (limited to PRs only) or if you use GitHub exclusively, as there's no equivalent GitHub integration from this author.
Tools this server exposes
12 tools extracted from the READMElistRepositoriesLists repositories in a workspace
getRepositoryGets details for a specific repository
getPullRequestsGets pull requests for a repository
createPullRequestCreates a new pull request
getPullRequestGets details for a specific pull request
updatePullRequestUpdates a pull request
getPullRequestActivityGets the activity log for a pull request
approvePullRequestApproves a pull request
mergePullRequestMerges a pull request
addPullRequestCommentCreates a comment on a pull request
createDraftPullRequestCreates a new draft pull request
publishDraftPullRequestPublishes a draft pull request to make it ready for review
Comparable tools
Installation
Installation
Using NPX (Recommended)
BITBUCKET_URL="https://api.bitbucket.org/2.0" \
BITBUCKET_WORKSPACE="your-workspace" \
BITBUCKET_USERNAME="your-username" \
BITBUCKET_PASSWORD="your-app-password" \
npx -y bitbucket-mcp@latestClaude Desktop Configuration
{
"mcpServers": {
"bitbucket": {
"command": "npx",
"args": ["-y", "bitbucket-mcp@latest"],
"env": {
"BITBUCKET_URL": "https://api.bitbucket.org/2.0",
"BITBUCKET_WORKSPACE": "your-workspace",
"BITBUCKET_USERNAME": "your-username",
"BITBUCKET_PASSWORD": "your-app-password"
}
}
}
}FAQ
- How do I authenticate with Bitbucket?
- You can authenticate using either username/app password or an access token. For username/password, create an App Password with 'Repositories: Read' and 'Pull requests: Read, Write' permissions.
- Does this MCP support Bitbucket Server?
- Yes, this MCP server supports both Bitbucket Cloud and Server. For Server, set BITBUCKET_URL to your self-hosted instance URL.
Compare bitbucket-mcp with
Last updated · Auto-generated from public README + GitHub signals.