这是一个使用TypeScript构建的MCP(模型上下文协议)服务器,专门用于分析GitHub拉取请求,能为相关分析工作提供有力支持。
在开始使用本服务器前,需要确保满足以下先决条件:
若要通过Smithery自动为Claude Desktop安装GitHub拉取请求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
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服务器。欢迎大家为项目贡献力量!若您有改进建议,请 fork仓库并使用Pull Request提交您的更改。
该项目在MIT License下开源。