MCP Catalogs
Home

bitbucket-mcp

by MatanYemini·136·Score 48

Bitbucket MCP server enables AI assistants to interact with Bitbucket repositories and pull requests.

developer-toolsproductivitygithub
88
Forks
34
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Automate PR review and approval processes for Bitbucket repositories
you:Integrate Bitbucket repository information into AI assistants for development workflows
you:Create AI-powered dashboards that monitor Bitbucket pull request activity
you:How do I authenticate with Bitbucket?
you:Does this MCP support Bitbucket Server?

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

    Lists repositories in a workspace

  • getRepository

    Gets details for a specific repository

  • getPullRequests

    Gets pull requests for a repository

  • createPullRequest

    Creates a new pull request

  • getPullRequest

    Gets details for a specific pull request

  • updatePullRequest

    Updates a pull request

  • getPullRequestActivity

    Gets the activity log for a pull request

  • approvePullRequest

    Approves a pull request

  • mergePullRequest

    Merges a pull request

  • addPullRequestComment

    Creates a comment on a pull request

  • createDraftPullRequest

    Creates a new draft pull request

  • publishDraftPullRequest

    Publishes a draft pull request to make it ready for review

Comparable tools

github-mcpgit-mcpbitbucket-api-wrapper

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@latest

Claude 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

GitHub →

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