Personal Bitbucket MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with tools to interact with Bitbucket Cloud repositories. Built with Quarkus, the

Local serverstdioGo

What is the Personal Bitbucket MCP server?

A Model Context Protocol (MCP) server that provides AI assistants with tools to interact with Bitbucket Cloud repositories. Built with Quarkus, the Supersonic Subatomic Java Framework. That is what the personal bitbucket mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). This server implements MCP to expose Bitbucket operations as tools that AI assistants like Claude, ChatGPT, or other LLM-powered applications can use.

  • 🔧 11 MCP Tools for Bitbucket operations
  • 🚀 Native Image Support with GraalVM for fast startup and low memory footprint
  • 🐳 Multi-Architecture Docker Images (AMD64 & ARM64)
  • 🔐 Secure Authentication using Bitbucket App Passwords
  • 📦 RESTful API for direct HTTP access
  • Multiple Transport Options - stdio (universal), SSE, and HTTP Stream

The tools it exposes

The server publishes 3 tools. What each one is for:

Getting it running

Installation goes through your MCP client rather than a global install: point it at @modelcontextprotocol/inspector on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: BITBUCKET_API_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  1. Bitbucket API Token: Create an API token at https://bitbucket.org/account/settings/api-token/ - Required permissions: repository:read, pullrequest:read, pullrequest:write - See Creating a Bitbucket API Token for detailed instructions 2. Docker (optional): For running the containerized version

How it compares

Plenty of monitoring and observability servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Personal Bitbucket's toolset — Repositories, Prerequisites, Logs — is a fair guide to whether it matches your workflow. It is maintained by tedysaputro; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
RepositoriesRead
Prerequisites1. **Bitbucket API Token**: Create an API token at https://bitbucket.org/account/settings/api-token/ - Required permissions: repository:read, pullrequest:read, pullrequest:write - See [Creating a Bitbucket API Token](#cr
LogsThe Logs tool exposed by this server.

How to install the Personal Bitbucket MCP server

{
  "mcpServers": {
    "personal-bitbucket": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "BITBUCKET_API_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. Bitbucket API Token: Create an API token at https://bitbucket.org/account/settings/api-token/ - Required permissions: repository:read, pullrequest:read, pullrequest:write - See Creating a Bitbucket API Token for detailed instructions 2. Docker (optional): For running the containerized version
VariableDescriptionRequired
BITBUCKET_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Personal Bitbucket to Repositories.
  • Use Personal Bitbucket to Prerequisites.
  • Use Personal Bitbucket to Logs.

Frequently asked questions

It connects Personal Bitbucket to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Repositories, Prerequisites, Logs) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Personal Bitbucket directly.