Bitbucket MCP Server

by jliocsar

Not rated
GitHub

About

An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.

Details

Author
jliocsar
Categories
Developer Tools, AI

Setup

Install Bitbucket MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/jliocsar/bitbucket-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.

Simple MCP implementation for (mostly) pull requests on Bitbucket.

Provide context from your PRs to your favorite LLM and let it review them for you!

Written in Bun and Civet using Cursor as an assistant.

🚧 This repository is a MCP learning exercise and it is still work in progress.

The API here lacks many features as of now. More features might be added in the near future.

Also, the documentation was written by Cursor itself. Don't expect it to be perfect. 🚧

First clone this repository somewhere you'd like.

Then there are 2 ways to run it locally:

- If you want to download and use the release version, you can run via the binary available in this repositoryReleases;
- Otherwise, you'll have to either build from scratch, or install Bun and run theindex.civetfile directly.

To run from the pre-built binaries, go to theReleasespage and get the latest release from there.

Extract the binary somewhere you'd like.

Then, add this to your MCP servers settings:

{ "mcpServers": { "Bitbucket": { // Or just \bitbucket-mcp-server\ if you made it // available as a system/user-wide binary "command": "/path/to/bitbucket-mcp-server", "args": ["username:password"] } } }

If you want to run with Bun (or build with it), you'll first need to installbunby running:

curl -fsSL https://bun.sh/install | bash

Then from the project directory install all dependencies with:

To run withbundirectly, add this entry to your MCP servers settings:

{ "mcpServers": { "Bitbucket": { "command": "bun", "args": [ "run", "/path/to/repository/src/index.civet", "username:password" ] } } }

Run the build command from the project root directory:

This will output a binary in thedist/folder to whatever architecture you're using.

Then follow the same steps from theReleaseoption to add the MCP server to your settings.

Make sure you have both Bun's runtime and Civet's VSCode/Cursor extension installed.

Then after cloning the repository, install its dependencies:

The best way to visualize everything working is by running:

This will open the MCP Inspector with a GUI to play around and explore the MCP tools.

MCP has a limitation of 40 tools that will be sent to the agent.

Currentlybitbucket-mcp-serverprovides 24 tools total. Consider disabling the ones you don't use often to save some slots.

This project was created usingbun initin bun v1.2.17.Bunis a fast all-in-one JavaScript runtime.

Automate Google Jules, the AI coding assistant, for tasks like code reviews, repository management, and AI-powered development workflows.

Agent memory with git-like version control. Custom LLMs turn conversations into structured facts with automatic conflict detection - your agent sees how decisions evolved, not four contradictory text blobs. 80% token reduction vs RAG/graph systems. MCP + REST.

Integrates with the Gerrit code review system to review code changes and details.

Analyze and query GitHub repositories using the GitHub Chat API.

Browse GitHub repositories, explore directories, and view file contents.

AI-powered GitHub project management with complete requirements traceability.

Prevents your AI from breaking code by revealing hidden file dependencies through git forensics.

Entity-level code intelligence for agents

Skene is a codebase analysis toolkit for product-led growth. It scan your codebase, detect growth opportunities, and generate actionable implementation plans.

AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.