Token导航 LogoToken导航TokenDH.com
Wrapper Bitbucket logo
开发工具未说明官方级别未说明来源级核验

Wrapper Bitbucket

MCP Server

This is a MCP bridge for existing TypeScript Bitbucket MCP server in a Python UV-based API layer, essentially making UV act as a proxy/bridge.

工具数

8

提示词数

0

GitHub Stars

0

资源数

0
FastAPIAPI集成开发工具

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

vishn9893

提供方

vishn9893

最后核验

2026/5/18 04:56

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

______________________________________________________________________

README.md

# Bitbucket MCP Server - FastAPI Wrapper

This project is a Python-based FastAPI wrapper around a TypeScript MCP (Model Context Protocol) server for managing Bitbucket Server pull requests. It bridges the original MCP server with a modern HTTP/REST interface.

![FastAPI](https://img.shields.io/badge/FastAPI-API-green.svg)

![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)

---

## 🚀 Features

- Launches the MCP server (written in Node.js)
- Communicates over stdio for performance & flexibility
- Exposes clean REST endpoints via FastAPI
- Auto-generated OpenAPI docs
- Docker-ready

---

## 🧩 Endpoints

| Method | Path                    | Description                 |
|--------|-------------------------|-----------------------------|
| POST   | `/create-pull-request` | Create a new pull request   |
| POST   | `/get-pull-request`    | Retrieve a PR's details     |
| POST   | `/merge-pull-request`  | Merge a pull request        |
| POST   | `/decline-pull-request`| Decline a pull request      |
| POST   | `/add-comment`         | Add comment to a PR         |
| POST   | `/get-diff`            | Get diff of a pull request  |
| POST   | `/get-reviews`         | Fetch review history        |
| POST   | `/mcp`                 | Direct MCP protocol access  |

📘 Swagger UI available at: [http://localhost:8000/docs](http://localhost:8000/docs)

---

## 🧰 Requirements

- Python 3.10+
- Node.js 18+
- Bitbucket Server instance + token
- (Optional) Docker

---

## 🔧 Setup

### 1. Install Python dependencies

pip install -r requirements.txt


### 2.安装并构建MCP服务器(Node.js)

npm install npm run build


### 3.启动FastAPI服务器

uvicorn app.main:app --reload


______________________________________________________________________

## 🐳 码头工人

要在Docker中运行所有内容:

docker build -t bitbucket-mcp-wrapper . docker run -p 8000:8000 bitbucket-mcp-wrapper


______________________________________________________________________

## 🌍 环境变量

设置这些以配置Bitbucket MCP服务器:

BITBUCKET_URL=https://your-bitbucket-server.com BITBUCKET_TOKEN=your-access-token

Or use BITBUCKET_USERNAME + BITBUCKET_PASSWORD


______________________________________________________________________

## 📂 项目结构

mcp_uv_wrapper/ ├── app/ │ ├── main.py # FastAPI entry point │ └── mcp_bridge.py # Communicates with MCP server ├── requirements.txt └── Dockerfile


______________________________________________________________________

## 🧑‍💻 维护者

此包装是通过人工智能辅助生成和管理的。\
请随意分叉、打开问题或贡献!

______________________________________________________________________

目录标签

目录标签

FastAPIAPI集成开发工具developer-toolsmcpbitbucketapi-wrapper拉取请求管理Python本地部署RESTAPINode.js

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

8

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP