mcp-bitbucket

mcp-bitbucket

Access all major Bitbucket Cloud features—repositories, pull requests, issues, branches, pipelines, deployments, and more—using a modern Rust codebase. Expose Bitbucket as Model Context Protocol (MCP) tools, ideal for bots, CI/CD, and workflow automation.

Category
Visit Server

README

Bitbucket MCP Server

Bitbucket MCP is a high-performance, stateless server that brings the full power of the Bitbucket Cloud API to your automation, CI/CD pipelines, bots, and Rust-based integrations. Built in Rust for speed and reliability, Bitbucket MCP makes it easy to securely access and manage Bitbucket repositories, pull requests, issues, and more—whether you're building developer tools, workflow automation, or DevOps solutions.


Why Bitbucket MCP?

  • Seamless Bitbucket API Integration: Access all major Bitbucket Cloud features—repositories, pull requests, issues, branches, pipelines, deployments, and more—using a modern Rust codebase.
  • Perfect for Automation & Bots: Expose Bitbucket as Model Context Protocol (MCP) tools, ideal for bots, CI/CD, and workflow automation.
  • Secure by Default: Uses only rustls for TLS (no OpenSSL headaches), and supports Bitbucket App Password authentication.
  • Docker-Ready: Deploy anywhere with our prebuilt Docker images on GHCR, or build locally in minutes.
  • Battle-Tested: Comprehensive test suite covers all public API methods, ensuring reliability for your integrations.

Quick Start: Bitbucket API Automation in Rust

1. Use the Prebuilt Docker Image from GHCR

docker run -e BITBUCKET_API_USERNAME=<your_username> -e BITBUCKET_APP_PASSWORD=<your_app_password> -p 8080:8080 ghcr.io/ibrahimogod/bitbucket-mcp:latest

2. Build and Run Locally (Rust)

git clone https://github.com/Ibrahimogod/bitbucket-mcp.git
cd bitbucket-mcp
cargo build --release
$env:BITBUCKET_API_USERNAME="<your_username>"
$env:BITBUCKET_APP_PASSWORD="<your_app_password>"
cargo run --release --bin bitbucket_stdio

Supported Bitbucket Operations (via MCP)

  • List and manage repositories, workspaces, pull requests, issues, branches, tags, commits
  • Get repository, workspace, and user details
  • Automate pull request workflows: create, update, approve, decline, merge, comment, and manage tasks
  • Integrate with Bitbucket pipelines, deployments, downloads, webhooks, snippets, and projects
  • See src/common/bitbucket.rs for the full API

Bitbucket Authentication

  • Create a Bitbucket App Password with Repository:Read and Pull requests:Read permissions.
  • Set BITBUCKET_API_USERNAME to your Atlassian email.
  • Set BITBUCKET_APP_PASSWORD to your App Password.

Project Structure

  • src/common/bitbucket.rs — Bitbucket API integration logic
  • src/bitbucket_stdio.rs — Server entry point
  • Cargo.toml — Dependency configuration (uses rustls only)
  • Dockerfile — Multi-stage build, no OpenSSL
  • tests/bitbucket.rs — Full test suite for all public API methods

License

MIT


Bitbucket MCP is the best way to automate Bitbucket Cloud with Rust, bots, or CI/CD. Star the repo and try it today!

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured