Atlassian Bitbucket Server
FreeNot checkedAtliassian Bitbucket MCP Server for self hosted bitbucket server
About
Atliassian Bitbucket MCP Server for self hosted bitbucket server
README
A Model Context Protocol (MCP) server that integrates Atlassian Bitbucket Server/Data Center with AI systems.
What It Does
This server enables AI systems to interact with Bitbucket repositories by providing:
- Access to projects, repositories, branches, and files
- Tools for working with pull requests
- Type-safe API integration with official Bitbucket OpenAPI specs
Quick Setup
Prerequisites
- Node.js (v20+ recommended)
- npm
- Python 3 (for OpenAPI filtering script)
- Bitbucket Server access token
Installation
git clone [<atlassian-bitbucket-server-mcp>](https://github.com/guenichone/atlassian-bitbucket-server-mcp)
cd mcp-server-selfhosted-bitbucket
npm install
npm run build-app
Running the Server
# As STDIO server (default for AI integration)
ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \
ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \
npm start
# As HTTP/SSE server
MCP_TRANSPORT=sse \
ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \
ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \
npm start
Docker Usage
Using Docker CLI
# Build
docker build -t bitbucket-mcp-server .
# Run
docker run --rm -i \
-e ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \
-e ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \
bitbucket-mcp-server
Using the Makefile (Recommended)
The project includes a Makefile for simplified Docker operations:
# Build the Docker image
make docker-build
# Run with your Bitbucket credentials
BITBUCKET_URL=https://git.your-company.com/ BITBUCKET_TOKEN=your-token make docker-run
# Build and run in one command
BITBUCKET_URL=https://git.your-company.com/ BITBUCKET_TOKEN=your-token make docker-all
# View all available make commands and examples
make help
Environment Variables
ATLASSIAN_BITBUCKET_SERVER_URL- Bitbucket server URLATLASSIAN_BITBUCKET_ACCESS_TOKEN- Your access tokenMCP_TRANSPORT-stdio(default) orssePORT- HTTP port when using SSE (default: 3000)
Thanks
This project was inspired by aashari/mcp-server-atlassian-bitbucket.
License
MIT - See LICENSE file for details.
Installing Atlassian Bitbucket Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/guenichone/atlassian-bitbucket-server-mcpFAQ
Is Atlassian Bitbucket Server MCP free?
Yes, Atlassian Bitbucket Server MCP is free — one-click install via Unyly at no cost.
Does Atlassian Bitbucket Server need an API key?
No, Atlassian Bitbucket Server runs without API keys or environment variables.
Is Atlassian Bitbucket Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Atlassian Bitbucket Server in Claude Desktop, Claude Code or Cursor?
Open Atlassian Bitbucket Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Atlassian Bitbucket Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
