](https://mseep.ai/app/gourav221b-github-pr-mcp-server)
GitHub PR MCP服务器
](https://smithery.ai/server/@gourav221b/Github-PR-MCP-server)
使用TypeScript构建的MCP(模型上下文协议)服务器,用于分析GitHub Pull请求。
先决条件
- (版本14或更高)
- (附带Node.js)
安装
通过Smithery安装
通过以下方式自动为Claude Desktop安装GitHub PR MCP服务器 史密瑟里:
npx -y @smithery/cli install @gourav221b/Github-PR-MCP-server --client claude手动安装
- 克隆存储库:
git clone https://github.com/gourav221b/Github-PR-MCP-server.git- 导航到项目目录:
cd Github-PR-MCP-server- 安装依赖项:
npm install- 构建项目:
npm run build- 添加MCP客户端配置的路径:
command: node
args: path/to/build/index.js项目结构
src/:包含TypeScript源代码。build/:保存已编译的JavaScript文件。package.json:列出项目依赖关系和脚本。tsconfig.json:TypeScript配置文件。
脚本
npm run build:将TypeScript文件编译为JavaScript。npm start:运行编译后的JavaScript服务器。
贡献
欢迎投稿!请分叉存储库,并使用您的更改创建一个pull请求。
许可证
该项目根据MIT许可证获得许可。

