Skip to main content

Comprehensive Bitbucket Cloud MCP server for repositories, PRs, pipelines, branches, and more

Project description

Bitbucket Cloud MCP Server

A comprehensive MCP (Model Context Protocol) server for the Bitbucket Cloud REST API v2.0.

Features

  • 34 tools covering repositories, pull requests, branches, pipelines, commits, and webhooks
  • Full pull request lifecycle: create, review, comment, approve, merge, decline
  • CI/CD pipeline management: trigger, stop, view logs
  • Code search across workspace repositories
  • Branch comparison and management
  • Tag and release management

Installation

uv pip install msrashed-bitbucket-mcp-server

Configuration

Set environment variables:

export BITBUCKET_USERNAME="your-username"
export BITBUCKET_APP_PASSWORD="your-app-password"
export BITBUCKET_WORKSPACE="your-workspace"

Generate an app password at: Bitbucket > Settings > Personal settings > App passwords

Usage

As MCP Server (stdio)

bitbucket-mcp-server run

With Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "bitbucket": {
      "command": "bitbucket-mcp-server",
      "args": ["run"],
      "env": {
        "BITBUCKET_USERNAME": "your-username",
        "BITBUCKET_APP_PASSWORD": "your-app-password",
        "BITBUCKET_WORKSPACE": "your-workspace"
      }
    }
  }
}

Verify Connection

bitbucket-mcp-server check

List Available Tools

bitbucket-mcp-server info

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msrashed_bitbucket_mcp_server-0.1.0.tar.gz (74.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msrashed_bitbucket_mcp_server-0.1.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file msrashed_bitbucket_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for msrashed_bitbucket_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 177be6081640cfc523bd45bc9d1939fbdad8d045858c8bb178e92578b65ab849
MD5 97e69f7f7709f53aa353f15f53246ea2
BLAKE2b-256 8d064269e7a81ddb9e8542bff6ddd736b98a6f77e9e6c6da4ff0e0c4eec4ded9

See more details on using hashes here.

File details

Details for the file msrashed_bitbucket_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for msrashed_bitbucket_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7735e2284be9e8bc62358c661c599acccf63a526ead774883481423566fe8d3c
MD5 8b9187dddfbd7d1b1647096fc6c55ed0
BLAKE2b-256 ce1a7fa6bf58b0796e1913f8c9197c3c746702f320e4f564fb6c1effc39d4adc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page