jhonymiler/Bitbucket-MCP-Cloud
If you are the rightful owner of Bitbucket-MCP-Cloud and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Bitbucket Cloud MCP Server is a comprehensive Model Context Protocol server designed for seamless integration with the Bitbucket Cloud API, providing programmatic access to essential functionalities.
The Bitbucket Cloud MCP Server is a robust solution for developers and teams looking to integrate with Bitbucket Cloud's API. It offers a complete Model Context Protocol (MCP) server that facilitates programmatic access to Bitbucket Cloud's core functionalities, such as repository management, pull requests, commits, and comments. This server is designed to streamline workflows by automating tasks and providing a unified interface for interacting with Bitbucket Cloud. With support for Python 3.10+, the server ensures compatibility with modern development environments. It also emphasizes security through the use of Bitbucket App Passwords for authentication, ensuring that all interactions with the API are secure and reliable. The server is built with a focus on ease of use, featuring detailed logging, robust error handling, and input validation using Pydantic models. This makes it an ideal choice for teams looking to enhance their development processes and improve collaboration through efficient use of Bitbucket Cloud's capabilities.
Features
- Comprehensive integration with Bitbucket Cloud API
- Secure authentication using Bitbucket App Passwords
- Robust error handling and detailed logging
- Support for Python 3.10+
- Automated testing and coverage reporting
Usages
usage with local python
python mcp.run(transport='stdio') # Tools defined via @mcp.tool() decorator
usage with uvicorn
bash uv run server.py
usage with python direct
bash python server.py
usage with pip installation
bash pip install bitbucket-mcp-cloud
usage with uv sync
bash uv sync
usage with git clone
bash git clone https://github.com/jhonymiler/Bitbucket-MCP-Cloud.git cd Bitbucket-MCP-Cloud
usage with uv run pytest
bash uv run pytest
Tools
list_projects
List projects in workspace
list_repositories
List repositories in workspace/project
list_commits
List commits in repository
list_pull_requests
List pull requests in repository
get_pull_request
Get specific pull request details
create_pull_request
Create new pull request
approve_pull_request
Approve pull request
decline_pull_request
Decline pull request
merge_pull_request
Merge approved pull request
list_pull_request_comments
List comments on pull request
create_pull_request_comment
Create comment on pull request
create_pull_request_inline_comment
Create inline comment on specific line in pull request diff
get_pull_request_diff
Get pull request diff for analysis
get_pull_request_diffstat
Get pull request diffstat summary