Bitbucket MCP Server

Connect Claude Code, OpenAI Codex, Cursor, VS Code (GitHub Copilot), and any MCP-compatible AI assistant to your Bitbucket Cloud repositories. Review pull requests, monitor pipelines, and manage your code - all through natural language. It runs locally over stdio via the published package.

People connecting developer tools tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-17 · ★ 3 · #66 OF 139 MAINTAINED DEVELOPER TOOLS · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Bitbucket MCP Server

before you install - you'll need

Set BITBUCKET_USERNAME, BITBUCKET_TOKEN, BITBUCKET_TOOLS_CONFIG, BITBUCKET_ALLOWED_HOSTS, BITBUCKET_ALLOWED_ORIGINS, BITBUCKET_RESOURCE_SERVER_URL before connecting. BITBUCKET_WORKSPACE is optional or environment-specific per the README.

Claude Code

claude mcp add lawp09-bitbucket-mcp -- uvx bitbucket-mcp-py

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "lawp09-bitbucket-mcp": {
      "command": "uvx",
      "args": [
        "bitbucket-mcp-py"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package bitbucket-mcp-py - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.lawp09 is GitHub-verified and matches the repo owner

03 · What Bitbucket MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.25.0 · 2026-08-12

Fixed · get_pipeline_step_logs always failed with HTTP 406 (issue #74). The pipeline step log endpoint is the only one in this client that does not return JSON - the Bitbucket spec declares produces…

v1.24.0 · 2026-08-04

Added · Stateless HTTP mode (issue #71) - --stateless runs the Streamable HTTP transport with no server-side session: no Mcp-Session-Id, a fresh transport per request, so any instance behind a load balancer can serve…

v1.23.0 · 2026-06-30

Changed · HTTP transport migrated from the deprecated SSE transport to Streamable HTTP (MCP spec 2025-03-26). --transport http now selects streamable-http; --transport sse is kept as a legacy alias that emits a…

04 · Who maintains Bitbucket MCP Server

Bitbucket MCP Server is maintained by lawp09. It's the only MCP server we track from this author; the repo dates to Oct 2025.

05 · Facts

category
developer tools - ranked #66 of 139 actively-maintained developer tools servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-12)
registry
io.github.lawp09/bitbucket-mcp (active, first published 2026-02-14 · 25 versions)
packages
pypi:bitbucket-mcp-py

06 · Bitbucket MCP Server FAQ

What is Bitbucket MCP Server?

Connect Claude Code, OpenAI Codex, Cursor, VS Code (GitHub Copilot), and any MCP-compatible AI assistant to your Bitbucket Cloud repositories. Review pull requests, monitor pipelines, and manage your code - all through natural language. It runs locally over stdio via the published package.

Is Bitbucket MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-17 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Bitbucket MCP Server?

Run `uvx bitbucket-mcp-py`. The README documents 7 environment variables (BITBUCKET_USERNAME, BITBUCKET_TOKEN, BITBUCKET_WORKSPACE…) to set first. Set BITBUCKET_USERNAME, BITBUCKET_TOKEN, BITBUCKET_TOOLS_CONFIG, BITBUCKET_ALLOWED_HOSTS, BITBUCKET_ALLOWED_ORIGINS, BITBUCKET_RESOURCE_SERVER_URL before connecting. BITBUCKET_WORKSPACE is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Bitbucket MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Bitbucket MCP Server