Bitbucket Server MCP
by MCP-Mirror
The Bitbucket Server MCP is a server designed for managing Bitbucket Server Pull Requests through the Model Context Protocol. It provides tools to interact with the Bitbucket Server API, enabling streamlined pull request management.
Last updated: N/A
What is Bitbucket Server MCP?
The Bitbucket Server MCP is a server that facilitates interaction with the Bitbucket Server API using the Model Context Protocol (MCP). It provides a set of tools for creating, retrieving, merging, declining, and commenting on pull requests, as well as retrieving diffs and review history.
How to use Bitbucket Server MCP?
To use the server, you need to install the dependencies using npm install
and build the project using npm run build
. Configure the server in your VSCode MCP settings file, providing the Bitbucket Server URL and authentication credentials (either a personal access token or username/password). Then, you can use the provided functions to interact with the Bitbucket Server API.
Key features of Bitbucket Server MCP
Create pull requests
Retrieve pull request details
Merge pull requests
Decline pull requests
Add comments to pull requests
Retrieve pull request diffs
Fetch pull request review history
Use cases of Bitbucket Server MCP
Automating pull request creation and management
Integrating Bitbucket Server with other tools and workflows
Streamlining code review processes
Programmatically interacting with Bitbucket Server API
FAQ from Bitbucket Server MCP
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
MCP is a protocol used for communication between different tools and services, allowing them to exchange information and trigger actions.
What authentication methods are supported?
What authentication methods are supported?
The server supports authentication using either a personal access token or a username/password combination.
What environment variables are required?
What environment variables are required?
The required environment variables are BITBUCKET_URL
(the base URL of your Bitbucket Server instance) and either BITBUCKET_TOKEN
(personal access token) or BITBUCKET_USERNAME
and BITBUCKET_PASSWORD
(basic authentication credentials).
Where are the logs stored?
Where are the logs stored?
The server logs all operations to bitbucket.log
using Winston.
What dependencies are required?
What dependencies are required?
The server depends on @modelcontextprotocol/sdk
, axios
, and winston
.