Atlassian Bitbucket MCP Server
Provides tools for interacting with Atlassian Bitbucket Server/Data Center, enabling AI systems to access projects, repositories, branches, files, and manage pull requests.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Atlassian Bitbucket MCP Serverlist open pull requests in project PROJ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Atlassian Bitbucket MCP Server
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
Related MCP server: Atlassian Bitbucket MCP Server
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-appRunning 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 startDocker 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-serverUsing 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 helpEnvironment 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceEnables AI assistants to interact with Bitbucket Cloud repositories, allowing users to manage pull requests, comments, tasks, and branches through natural language commands.Last updated5,0991MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Bitbucket Cloud and self-hosted instances for pull request reviews, code search, repository operations, and managing PR comments and approvals.Last updated19GPL 3.0
- AlicenseBqualityDmaintenanceEnables LLMs to interact with Bitbucket repositories to manage pull requests, branches, and commits through the Model Context Protocol. It supports repository operations such as searching code, accessing file contents, and comparing branches using natural language.Last updated165,099MIT
- Alicense-qualityDmaintenanceConnects AI assistants to Bitbucket Server/Data Center for reviewing pull requests, managing repositories, searching users, and more.Last updated1494MIT
Related MCP Connectors
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guenichone/atlassian-bitbucket-server-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server