- Explore MCP Servers
- garc33_bitbucket-server-mcp-server
Garc33 Bitbucket Server Mcp Server
What is Garc33 Bitbucket Server Mcp Server
garc33_bitbucket-server-mcp-server is a Model Context Protocol (MCP) server designed for managing pull requests in Bitbucket Server. It provides tools and resources to interact with the Bitbucket Server API using the MCP protocol.
Use cases
Use cases include automating the pull request creation process, integrating pull request management into CI/CD pipelines, facilitating code reviews by adding comments, and managing pull request merges and declines programmatically.
How to use
To use garc33_bitbucket-server-mcp-server, first ensure you have Node.js version 16 or higher installed. Then, install the necessary dependencies by running ‘npm install’. After installation, you can build the server with ‘npm run build’ and start using its features for pull request management.
Key features
Key features include creating new pull requests, retrieving pull request details, merging pull requests, declining pull requests, adding comments, and retrieving diffs for pull requests. Each feature requires specific parameters such as project key, repository slug, and pull request ID.
Where to use
garc33_bitbucket-server-mcp-server is primarily used in software development environments where Bitbucket Server is utilized for version control and collaboration. It is suitable for teams that need to manage pull requests efficiently.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Garc33 Bitbucket Server Mcp Server
garc33_bitbucket-server-mcp-server is a Model Context Protocol (MCP) server designed for managing pull requests in Bitbucket Server. It provides tools and resources to interact with the Bitbucket Server API using the MCP protocol.
Use cases
Use cases include automating the pull request creation process, integrating pull request management into CI/CD pipelines, facilitating code reviews by adding comments, and managing pull request merges and declines programmatically.
How to use
To use garc33_bitbucket-server-mcp-server, first ensure you have Node.js version 16 or higher installed. Then, install the necessary dependencies by running ‘npm install’. After installation, you can build the server with ‘npm run build’ and start using its features for pull request management.
Key features
Key features include creating new pull requests, retrieving pull request details, merging pull requests, declining pull requests, adding comments, and retrieving diffs for pull requests. Each feature requires specific parameters such as project key, repository slug, and pull request ID.
Where to use
garc33_bitbucket-server-mcp-server is primarily used in software development environments where Bitbucket Server is utilized for version control and collaboration. It is suitable for teams that need to manage pull requests efficiently.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Bitbucket Server MCP
MCP (Model Context Protocol) server for Bitbucket Server Pull Request management. This server provides tools and resources to interact with the Bitbucket Server API through the MCP protocol.
Requirements
- Node.js >= 16
Installation
npm install
Build
npm run build
Features
The server provides the following tools for Bitbucket Server integration:
create_pull_request
Creates a new pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugtitle(required): PR titledescription: PR descriptionsourceBranch(required): Source branch nametargetBranch(required): Target branch namereviewers: Array of reviewer usernames
get_pull_request
Retrieves detailed information about a specific pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request ID
merge_pull_request
Merges a pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request IDmessage: Merge commit messagestrategy: One of:merge-commit(default)squashfast-forward
decline_pull_request
Declines a pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request IDmessage: Reason for declining
add_comment
Adds a comment to a pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request IDtext(required): Comment textparentId: Parent comment ID for replies
get_diff
Retrieves the diff for a pull request.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request IDcontextLines: Number of context lines (default: 10)
get_reviews
Fetches the review history of a pull request, including approvals and reviews.
Parameters:
project(required): Bitbucket project keyrepository(required): Repository slugprId(required): Pull request ID
Dependencies
@modelcontextprotocol/sdk- SDK for MCP protocol implementationaxios- HTTP client for API requestswinston- Logging framework
Configuration
The server requires configuration in the VSCode MCP settings file. Here’s a sample configuration:
Environment Variables
BITBUCKET_URL(required): Base URL of your Bitbucket Server instance- Authentication (one of the following is required):
BITBUCKET_TOKEN: Personal access tokenBITBUCKET_USERNAMEandBITBUCKET_PASSWORD: Basic authentication credentials
Logging
The server logs all operations to bitbucket.log using Winston for debugging and monitoring purposes.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










