Bitbucket Server MCP
@kartikpatpatwingify
About Bitbucket Server MCP
MCP (Model Context Protocol) server for Bitbucket Server Pull Request management
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"bitbucket-server-mcp-server-kartikpatpatwingify": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@garc33/bitbucket-server-mcp-server",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Bitbucket Server MCP?
Bitbucket Server MCP is a Model Context Protocol (MCP) server that provides tools and resources to interact with the Bitbucket Server API for pull request management. It is designed for developers who need to manage Bitbucket Server pull requests through MCP‑compatible clients.
How to use Bitbucket Server MCP?
Install the server via Smithery or manually, then build it with npm run build. Configure it in your MCP client settings (e.g., VSCode MCP settings file) by setting required environment variables (BITBUCKET_URL, authentication) and optionally default project/repository. Once running, the MCP client can call the provided tools to manage pull requests and related operations.
Key features of Bitbucket Server MCP
- Create, retrieve, merge, and decline pull requests
- Add comments to pull requests
- Retrieve pull request diffs and review history
- Push multiple files in a single commit to a branch
- Support for personal access token or username/password authentication
- Configurable default project and repository keys
Use cases of Bitbucket Server MCP
- Automating pull request creation from CI/CD pipelines
- Reviewing and merging pull requests without leaving the MCP client
- Adding comments or declining pull requests programmatically
- Fetching diffs or review history for code inspection
- Pushing file changes directly from a conversational AI interface
FAQ from Bitbucket Server MCP
What Node.js version is required?
Node.js version 16 or higher is required.
What authentication options are available?
You can authenticate using either a personal access token (BITBUCKET_TOKEN) or basic authentication with username and password (BITBUCKET_USERNAME and BITBUCKET_PASSWORD).
How is the server configured?
Configuration is done via environment variables in your MCP client settings. BITBUCKET_URL is required, along with one of the two authentication methods. Optionally, BITBUCKET_DEFAULT_PROJECT and BITBUCKET_DEFAULT_REPOSITORY can be set to avoid repeating those parameters in every tool call.
Where are logs stored?
The server logs all operations to a file named bitbucket.log using the Winston logging framework.
How do I install Bitbucket Server MCP?
You can install it via Smithery: npx -y @smithery/cli install @garc33/bitbucket-server-mcp-server --client claude, or manually by cloning the repository and running npm install followed by npm run build.
Frequently asked questions
What Node.js version is required?
Node.js version 16 or higher is required.
What authentication options are available?
You can authenticate using either a personal access token (`BITBUCKET_TOKEN`) or basic authentication with username and password (`BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`).
How is the server configured?
Configuration is done via environment variables in your MCP client settings. `BITBUCKET_URL` is required, along with one of the two authentication methods. Optionally, `BITBUCKET_DEFAULT_PROJECT` and `BITBUCKET_DEFAULT_REPOSITORY` can be set to avoid repeating those parameters in every tool call.
Where are logs stored?
The server logs all operations to a file named `bitbucket.log` using the Winston logging framework.
How do I install Bitbucket Server MCP?
You can install it via Smithery: `npx -y @smithery/cli install @garc33/bitbucket-server-mcp-server --client claude`, or manually by cloning the repository and running `npm install` followed by `npm run build`.
Basic information
More Version Control MCP servers
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
Bitbucket Server MCP
garc33mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Code Review Server
crazyrabbitLTCA MCP server for code reviews
Gerrit Review MCP Server
cayirtepeomerThis MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.
Comments