mcp-server-atlassian-bitbucket
by aashari·★ 146·Score 48
MCP server connecting AI assistants to Atlassian Bitbucket for repository and PR management.
Overview
This TypeScript-based MCP server enables AI systems like Claude, Cursor, and other assistants to interact with Bitbucket repositories and pull requests through standardized tools. It supports all Bitbucket Cloud API operations including listing workspaces, repositories, branches, commits, and managing pull requests. The server features an optimized TOON output format to reduce token consumption by 30-60% and supports both legacy App Passwords and modern Scoped API Tokens for authentication.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you're using Bitbucket Cloud and want AI assistants to directly interact with your repositories, pull requests, and codebase through natural language commands.
When NOT to choose this
Don't choose this if you're using Bitbucket Server/Data Center, require write access beyond PR management, or need to integrate with Atlassian's other products like Jira.
Tools this server exposes
6 tools extracted from the READMEbb_getGET any Bitbucket API endpoint (read data)
bb_postPOST to any endpoint (create resources)
bb_putPUT to any endpoint (replace resources)
bb_patchPATCH any endpoint (partial updates)
bb_deleteDELETE any endpoint (remove resources)
bb_cloneClone a repository locally
Comparable tools
Installation
Installation
- Set your credentials:
# Scoped API Token (recommended)
export ATLASSIAN_USER_EMAIL="your.email@company.com"
export ATLASSIAN_API_TOKEN="your_scoped_api_token"
# OR Legacy App Password (deprecated)
export ATLASSIAN_BITBUCKET_USERNAME="your_username"
export ATLASSIAN_BITBUCKET_APP_PASSWORD="your_app_password"- Add to Claude Desktop config (
~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"bitbucket": {
"command": "npx",
"args": ["-y", "@aashari/mcp-server-atlassian-bitbucket"],
"env": {
"ATLASSIAN_USER_EMAIL": "your.email@company.com",
"ATLASSIAN_API_TOKEN": "your_scoped_api_token"
}
}
}
}- Restart Claude Desktop to activate the server.
FAQ
- Is this server compatible with Bitbucket Server/Data Center?
- No, this server is designed for Bitbucket Cloud only. It does not support Bitbucket Server or Data Center.
- What authentication methods are supported?
- The server supports both legacy App Passwords (deprecated June 2026) and modern Scoped API Tokens. Scoped API Tokens are recommended for new setups.
- How can I reduce token consumption when using this server?
- Use the built-in TOON output format (default, reduces tokens by 30-60%) and always apply JMESPath filtering to extract only the needed data from API responses.
Compare mcp-server-atlassian-bitbucket with
Last updated · Auto-generated from public README + GitHub signals.