Bitbucket MCP Server
MCP server for Bitbucket Server integration, enabling project, repository, pull request, source code, branch, and code review operations via the Bitbucket Server APIs.
README
Bitbucket MCP Server
MCP (Model Context Protocol) server for Bitbucket Server integration. This server provides tools to interact with Bitbucket Server APIs.
Features
Project Operations
- list_projects: List all projects the user has access to
- get_project_detail: Get detailed information about a specific project
Repository Operations
- list_repositories: List repositories in a specific project
- get_repo_branches: List branches in a repository (with optional filter)
- get_repo_commits: List recent commits in a repository
- get_repo_tags: List tags in a repository (with optional filter)
Pull Request Operations
- get_pull_requests: Get pull requests for a repository
- get_pull_request_detail: Get detailed information about a specific pull request
- create_pull_request: Create a new pull request (with optional reviewers)
- merge_pull_request: Merge a pull request
- decline_pull_request: Decline/reject a pull request
- get_pull_request_comments: Get comments on a pull request
Source Code Operations
- get_file_content: Get the raw content of a file
- get_directory_listing: List files and directories at a given path
- get_file_diff: Get the diff between two commits or branches
Branch Operations
- create_branch: Create a new branch
- delete_branch: Delete a branch
Code Review Operations
- get_pull_request_diff: Get the diff of a pull request for code review
Code Search
- search_code: Search for code in a repository
Installation
Using npx (recommended)
npx sbitbucket-mcp-server
Using npm
npm install -g sbitbucket-mcp-server
Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
BITBUCKET_URL |
Yes | Your Bitbucket Server URL (e.g., https://bitbucket.example.com) |
BITBUCKET_TOKEN |
Yes | Personal Access Token (PAT) for authentication |
Claude Desktop Configuration
Add to your Claude Desktop config file:
{
"mcpServers": {
"bitbucket": {
"command": "npx",
"args": ["-y", "sbitbucket-mcp-server"],
"env": {
"BITBUCKET_URL": "https://your-bitbucket-server.com",
"BITBUCKET_TOKEN": "your-personal-access-token"
}
}
}
}
Development
# Install dependencies
npm install
# Build
npm run build
# Development mode (watch)
npm run dev
# Start server
npm start
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.