A Model Context Protocol (MCP) server for BitBucket Cloud operations
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"bitbucket-python-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# BitBucket MCP Server A Model Context Protocol (MCP) server for BitBucket Cloud operations. This server enables AI coding agents like Claude Code CLI and Codex CLI to interact with BitBucket repositories, branches, and pull requests. ## Features - **Repository Management**: Create, delete, update, and list repositories - **Branch Management**: Create, delete, and list branches - **Pull Request Operations**: Create, review, approve, comment on pull requests - **Code Search**: Search repositories and browse file contents - **Memory System**: Store and retrieve workspace standards and learnings from PR reviews - **Auto-detection**: Automatically detects current BitBucket repository from git remote ## Installation ### Using uvx (Recommended) ```bash uvx bitbucket-python-mcp ``` ### Using pip ```bash pip install bitbucket-python-mcp ``` ### From Source ```bash git clone https://github.com/yourusername/bitbucket-python-mcp.git cd bitbucket-python-mcp uv sync ``` ## Configuration The server requires the following environment variables: | Variable | Required | Description | |----------|----------|-------------| | `BITBUCKET_USERNAME` | Yes | Your BitBucket username (not email) | | `BITBUCKET_API_TOKEN` | Yes | App password/API token from BitBucket settings | | `BITBUCKET_WORKSPACE` | Yes | Default workspace slug | | `BITBUCKET_MCP_DEBUG` | No | Enable debug logging (1/true/yes) | ### Creating an App Password 1. Go to [BitBucket App Passwords](https://bitbucket.org/account/settings/app-passwords/) 2. Click "Create app password" 3. Give it a descriptive name (e.g., "MCP Server") 4. Select the required permissions: - Repositories: Read, Write, Admin (for create/delete) - Pull requests: Read, Write 5. Click "Create" and copy the generated password ## Usage with AI Agents ### Claude Code CLI Add to your `~/.claude/claude_desktop_config.json`: ```json { "mcpServers": { "bitbucket": { "command": "uvx", "args": ["bitbucket-python-mcp"], …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.