markheramis
MCP Servermarkheramispublic

mcp bitbucket

一个用于管理 Bitbucket Server/Cloud 拉取请求和仓库的 MCP 服务器。

Repository Info

0
Stars
0
Forks
0
Watchers
1
Issues
TypeScript
Language
-
License

About This Server

一个用于管理 Bitbucket Server/Cloud 拉取请求和仓库的 MCP 服务器。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Bitbucket MCP Server

An MCP (Model Context Protocol) server for managing Bitbucket Server/Cloud pull requests and repositories. This server provides a collection of tools that allow AI assistants to interact with Bitbucket APIs.

Features

  • Workspace management tools
  • Project creation and management
  • Repository operations
  • Pull request creation, reviews, and management
  • Comment operations
  • Branch management
  • Commit information retrieval

Installation

Ensure you have Node.js 18 or higher installed, then:

# Clone the repository
git clone <repository-url>
cd bitbucket-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Create a .env file in the root directory with the following variables:

BITBUCKET_URL=https://api.bitbucket.org/2.0
BITBUCKET_TOKEN=your_access_token
# Or use username/password authentication
BITBUCKET_USERNAME=your_username
BITBUCKET_PASSWORD=your_password

Usage

Starting the server

# Start the server
npm start

# For development (with auto-recompilation)
npm run start:dev

Using the MCP Inspector

To inspect and test the MCP server:

npm run inspector

Available Tools

The server exposes the following categories of tools:

  • Workspace Tools: List workspaces, get workspace details, manage members and permissions
  • Project Tools: Create, list, update, and delete projects
  • Repository Tools: Create, manage, and delete repositories, list branches and commits
  • Pull Request Tools: Create, list, merge, decline pull requests, get diffs and reviews
  • Comment Tools: Add, list, update, and delete comments on pull requests

Development

# Run tests
npm test

# Run linter
npm run lint

# Watch mode for development
npm run dev

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/markheramis/mcp-bitbucket
2

Install dependencies

cd mcp-bitbucket
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermarkheramis
Repomcp-bitbucket
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation