home / mcp / bitbucket mcp server
Provides Bitbucket PR context to an MCP client for automated reviews and guidance.
Configuration
View docs{
"mcpServers": {
"jliocsar-bitbucket-mcp-server": {
"command": "/path/to/bitbucket-mcp-server",
"args": [
"username:password"
]
}
}
}This MCP server lets you connect your Bitbucket pull requests to a lightweight AI assistant, so you can get contextual reviews and guidance as you work. It runs locally or from a pre-built binary, and you can choose the execution method that fits your setup.
You can run one or more MCP server instances locally and connect your MCP client to them. Start the server that matches your preferred workflow, then configure your MCP client with the provided command and arguments. When the server is running, your client can query it for context about Bitbucket pull requests, enabling automated guidance and analysis during code reviews.
Prerequisites: you need a compatible runtime installed on your system. The server can be run from a pre-built binary or via Bun. You will also use a credentials string in the startup arguments.
Option 1: Run from a pre-built binary release you download locally.
Option 2: Run with Bun after installing Bun on your machine.
Follow these steps to get started with your chosen method.
{
"mcpServers": {
"Bitbucket": {
"command": "/path/to/bitbucket-mcp-server",
"args": ["username:password"]
}
}
}Configuration notes reflect two explicit ways to run the MCP server locally. You can either point to a local binary or run via Bun pointing to the project entry script.
If you prefer Bun, you can start with Bun installed and run the server using the Bun command along with the index script path and credentials.
{
"mcpServers": {
"BitbucketBun": {
"command": "bun",
"args": [
"run",
"/path/to/repository/src/index.civet",
"username:password"
]
}
}
}The server runs locally or from a binary, so you can verify its operation on your machine before integrating it into your Bitbucket workflow. Ensure you keep credentials secure and restrict access to trusted users.