BitbucketMcpServers
by peakflames·★ 3·综合分 38
C#实现的MCP服务器,用于Bitbucket集成与拉取请求操作。
developer-toolsgithubproductivity
0
Forks
0
活跃 Issue
3 个月前
最近提交
2 天前
收录于
概述
这是一个功能完整的MCP服务器实现,通过C#提供Bitbucket Cloud集成。它支持基于ASP.NET Web API的服务器和基于控制台的工作站实现,并提供HTTP/SSE和stdio传输支持。服务器提供了列出和管理拉取请求的工具,包括获取详细信息 and评论。支持OAuth 2.0或Basic Auth认证方法。文档完整,包含Docker部署和客户端配置的清晰说明。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:通过支持MCP的AI助手自动化Bitbucket拉取请求管理
你:将Bitbucket操作集成到AI驱动的开发工作流中
你:为AI助手提供对Bitbucket仓库信息的访问权限
你:支持哪些认证方法?
你:有哪些传输方法可用?
什么时候选它
如果您已经使用 Bitbucket 并希望将拉取请求管理集成到 Cline 等 AI 助手中,特别是当您偏好 .NET/C# 技术栈或需要远程服务器和本地控制台部署选项时。
什么时候不要选它
如果您使用的是 GitHub 而非 Bitbucket,或者需要超出拉取请求之外的更多仓库管理功能(提交、分支等),请避免使用。
此 server 暴露的工具
从 README 抽取出 3 个工具list_pull_open_requestsGets all open pull requests in a Bitbucket repository.
get_pull_request_commentsGets comments for a specific pull request.
get_pull_request_detailsGets detailed information about a pull request including description, metadata, and changed files.
可对比工具
github-mcp-servergit-mcpbitbucket-cli
安装
安装
通过Docker(推荐)
- 拉取Docker镜像:
docker pull peakflames/bitbucket-remote-mcp-server- 创建包含Bitbucket账户名的
appsettings.json文件:
{
"BitbucketCloudConfig": {
"AccountName": "your-workspace-name"
}
}- 使用OAuth 2.0凭证运行:
docker run -d \
--name bitbucket-mcp-server \
-p 8080:8080 \
-e BITBUCKET_MCP_CONSUMER_KEY="your_consumer_key" \
-e BITBUCKET_MCP_SECRET_KEY="your_secret_key" \
-v $(pwd)/appsettings.json:/app/appsettings.json \
peakflames/bitbucket-remote-mcp-serverClaude Desktop配置
添加到Claude Desktop的config.json:
{
"mcpServers": {
"Bitbucket": {
"command": "docker",
"args": ["run", "--rm", "-p", "8080:8080", "peakflames/bitbucket-remote-mcp-server"],
"transportType": "sse",
"url": "http://localhost:8080/sse"
}
}
}FAQ
- 支持哪些认证方法?
- 服务器支持OAuth 2.0客户端凭据(推荐用于生产环境)和使用用户名和应用密码的Basic认证。
- 有哪些传输方法可用?
- 远程服务器实现支持可流式HTTP传输和SSE(服务器发送事件),控制台实现支持stdio传输。
BitbucketMcpServers 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。