Bitbucket Server MCP 服务器

Bitbucket Server MCP 服务器

用于 Bitbucket Server 的 MCP 协议服务,提供 Pull Request 管理工具。

快速入门

要求

  • Node.js >= 16

安装

使用 Smithery 安装

运行以下命令: npx -y @smithery/cli install @garc33/bitbucket-server-mcp-server --client claude

手动安装

运行以下命令: npm install

构建

运行以下命令: npm run build

配置

在 VSCode MCP 设置文件中添加配置,例如: { "mcpServers": { "bitbucket": { "command": "node", "args": ["/path/to/bitbucket-server/build/index.js"], "env": { "BITBUCKET_URL": "https://your-bitbucket-server.com", "BITBUCKET_TOKEN": "your-access-token" } } } }

功能

支持创建、获取、合并和关闭 Pull Request,以及添加评论等操作。