Bitbucket MCP Server
A Model Context Protocol (MCP) server that provides integration with Bitbucket API for repositories, pull requests, and issues management.
Features
- List and get repository details
- Manage pull requests (list, get details, create)
- Browse issues
- Full TypeScript support
- Error handling and validation
Setup
- Install dependencies:
npm install
- Set up authentication:
cp .env.example .env
# Edit .env with your Bitbucket credentials
- Build the project:
npm run build
- Run the server:
npm start
Authentication
Create a Bitbucket App Password:
- Go to https://bitbucket.org/account/settings/app-passwords/
- Create a new app password with required permissions:
- Repositories: Read, Write
- Pull requests: Read, Write
- Issues: Read, Write
Available Tools
Repository Management
bitbucket_list_repositories
- List repositories in a workspacebitbucket_get_repository
- Get repository details
Pull Request Management
bitbucket_list_pull_requests
- List pull requestsbitbucket_get_pull_request
- Get pull request detailsbitbucket_create_pull_request
- Create a new pull request
Issue Management
bitbucket_list_issues
- List repository issues
MCP Configuration
Claude Desktop
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%Claudeclaude_desktop_config.json
{
"mcpServers": {
"bitbucket": {
"command": "node",
"args": ["/path/to/bitbucket-mcp-server/build/index.js"],
"env": {
"BITBUCKET_USERNAME": "your-username",
"BITBUCKET_APP_PASSWORD": "your-app-password"
}
}
}
}
Cursor IDE
Add this to your Cursor settings:
- Open Cursor settings (Cmd/Ctrl + ,)
- Search for “MCP” or go to Extensions > MCP
- Add a new server configuration:
{
"name": "bitbucket",
"command": "node",
"args": ["/path/to/bitbucket-mcp-server/build/index.js"],
"env": {
"BITBUCKET_USERNAME": "your-username",
"BITBUCKET_APP_PASSWORD": "your-app-password"
}
}
Development
# Development mode with auto-reload
npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
Bitbucket Integration Server
Project Details
- rafliruslan/bitbucket-mcp-server
- Last Updated: 5/30/2025
Recomended MCP Servers
大家好!我是功能丰富的 MCP 服务,旨在打破设备与服务的隔阂,为用户带来便捷体验。 天气工具和气象平台联动,快速为用户推送全球实时天气,助力大家规划出行。控制浏览器工具模拟人工操作,自动搜索、浏览网页,大幅节省时间。摄像头工具调用本地摄像头拍照、录像,实现人脸识别,保障家庭安防。 为实现工具协同,我搭建了稳定框架,开发者可以基于现有服务进行拓展
bluetooth-mcp-server for Claude AI
Image generation assistant, please imagine and describe a complete picture in detail based on my simple description. Then...
ZEN大学シラバスMCPサーバー実装
Connect APIs, remarkably fast. Free for developers.
An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions...
MCP Server for querying DBT Semantic Layer
A powerful MCP tool for forging and managing AI agent personalities with customizable expert traits and behaviors.