Labsco
jliocsar logo

Bitbucket MCP Server

from jliocsar

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

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

๐ŸŒฌ๏ธ bitbucket-mcp-server

Bun Bitbucket deployment

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.

Read the documentation here.

๐Ÿšง 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. ๐Ÿšง

Development

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

Then after cloning the repository, install its dependencies:

Copy & paste โ€” that's it
cd /path/to/repository
bun i

The best way to visualize everything working is by running:

Copy & paste โ€” that's it
bun inspect username:password

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

To do

  • Maybe implement OAuth

This project was created using bun init in bun v1.2.17. Bun is a fast all-in-one JavaScript runtime.