MCP Catalogs
Home

mcp-server-atlassian-bitbucket

by aashari·146·Score 48

MCP server connecting AI assistants to Atlassian Bitbucket for repository and PR management.

developer-toolsgithubai-llm
53
Forks
23
Open issues
2 mo ago
Last commit
2d ago
Indexed

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:

you:Automate code reviews by having AI analyze pull request changes
you:Get instant insights into repository status and activity
you:Manage branches and pull requests through natural language commands
you:Is this server compatible with Bitbucket Server/Data Center?
you:What authentication methods are supported?
you:How can I reduce token consumption when using this server?

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 README
  • bb_get

    GET any Bitbucket API endpoint (read data)

  • bb_post

    POST to any endpoint (create resources)

  • bb_put

    PUT to any endpoint (replace resources)

  • bb_patch

    PATCH any endpoint (partial updates)

  • bb_delete

    DELETE any endpoint (remove resources)

  • bb_clone

    Clone a repository locally

Comparable tools

github-mcpgit-mcpbitbucket-rest-api

Installation

Installation

  1. 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"
  1. 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"
      }
    }
  }
}
  1. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.