An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.
{{ message }}
jliocsar / bitbucket-mcp-server Public
Simple Bitbucket MCP server used for pull request reviewing.
0 stars0 forksBranches Tags Activity
Star
Notifications
main
BranchesTags
Go to file
Code
Name | Name | Last commit message | Last commit date |
---|---|---|---|
58 Commits | |||
.github | .github | ||
src | src | ||
.gitignore | .gitignore | ||
build.civet | build.civet | ||
bun.lock | bun.lock | ||
bunfig.toml | bunfig.toml | ||
docs.md | docs.md | ||
package.json | package.json | ||
readme.md | readme.md | ||
tsconfig.json | tsconfig.json | ||
View all files |
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. 🚧
First clone this repository somewhere you'd like.
Then there are 2 ways to run it locally:
index.civet
file directly.To run from the pre-built binaries, go to the Releases page 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"]
}
}
}
This is enough to get the server going.
If you want to run with Bun (or build with it), you'll first need to install bun
by running:
curl -fsSL https://bun.sh/install | bash
Then from the project directory install all dependencies with:
bun i
To run with bun
directly, 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:
bun run build
This will output a binary in the dist/
folder to whatever architecture you're using.
Then follow the same steps from the Release option 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:
cd /path/to/repository bun i
The best way to visualize everything working is by running:
bun inspect username:password
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.
Currently bitbucket-mcp-server
provides 24 tools total. Consider disabling the ones you don't use often to save some slots.
This project was created using bun init
in bun v1.2.17. Bun is a fast all-in-one JavaScript runtime.
Readme
Activity
0 stars
0 watching
0 forks
Report repository
v0.0.5 Latest
Jul 4, 2025
+ 4 releases
No packages published
An MCP server for interacting with and automating Git repositories using Large Language Models.
A server for GitHub project management with advanced resource management, capacity planning, and workload optimization capabilities.
Integrate with the GitHub Enterprise API to access repositories, issues, pull requests, and workflows.
An MCP server for integrating with and managing Subversion (SVN) repositories, enabling AI agents to perform version control tasks.
Manage GitHub Projects V2 using the GitHub GraphQL API.
Integrates with GitHub APIs for advanced automation and interaction, supporting both remote and local deployments.
Interact with the GitHub API for file operations, repository management, and search.
Manage GitHub repositories using a personal access token via CLI or environment variables.
Connects AI assistants to Obsidian vaults stored in GitHub repositories, enabling them to read, search, and analyze your notes and documentation.
Interact with GitHub repositories, including issues, pull requests, commits, releases, and actions.