
Bitbucket MCP
A Model Context Protocol server that enables AI assistants to interact with Bitbucket repositories, pull requests, and other resources through Bitbucket Cloud and Server APIs.
Tools
getPullRequests
listRepositories
getRepository
README
Bitbucket MCP
A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs. This MCP server allows AI assistants to interact with Bitbucket repositories, pull requests, and other resources.
Overview
This server implements the Model Context Protocol standard to provide AI assistants with access to Bitbucket data and operations. It includes tools for:
- Listing and retrieving repositories
- Managing pull requests
- Working with repository content
Getting Started
Prerequisites
- Node.js 18 or higher
- A Bitbucket Cloud account or Bitbucket Server instance
- Optional: Bitbucket API token for authenticated requests
Installation
# Clone the repository
git clone https://github.com/yourusername/bitbucket-mcp.git
cd bitbucket-mcp
# Install dependencies
npm install
# Build the project
npm run build
Configuration
Configure the server using environment variables:
# Bitbucket API token (optional, but recommended)
export BITBUCKET_TOKEN=your_token_here
# For custom Bitbucket Server installations
export BITBUCKET_API_URL=https://your-bitbucket-server.com/api
Running the Server
# Start the server
npm start
# Or run in development mode
npm run dev
# Use standalone mode for direct stdio communication
npm run standalone
Available Tools
This MCP server provides tools for interacting with Bitbucket repositories and pull requests. For a comprehensive list of all available tools with detailed documentation, please see TOOLS.md.
Some of the available tools include:
- listRepositories: List repositories in a workspace
- getRepository: Get details for a specific repository
- getPullRequests: Get pull requests for a repository
Integration with MCP Clients
This server can be integrated with any MCP client by connecting to the server endpoint:
- HTTP endpoint:
http://localhost:3000/mcp
- When running in standalone mode, communication happens over stdio
Development
Project Structure
bitbucket-mcp/
├── src/
│ ├── api/ # API-related code
│ ├── services/ # Service implementations
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ └── index.ts # Entry point
├── package.json
└── tsconfig.json
Adding New Tools
To add a new tool, modify the src/index.ts
file and add your tool definition:
const newTool = server.tool(
"newToolName",
{
param1: z.string(),
param2: z.number().optional(),
},
async ({ param1, param2 }) => {
// Implementation goes here
return {
content: [{ type: "text", text: "Result" }],
};
}
);
License
This project is licensed under the MIT License - see the LICENSE file for details.
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.
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.
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.

E2B
Using MCP to run code via e2b.
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.