GitHub PR评论MCP服务器
一个智能MCP服务器,用于直接从Claude Code管理GitHub PR评论。通过上下文感知分析自动审查、分类和响应自动PR评论(复制副本、安全扫描仪等)。
特性
- 智能过滤:按作者、状态、年龄、关键字筛选评论
- 有效性分析:人工智能检测已经修复或过时的问题
- 批量操作:高效处理多条评论
- 交互式工作流:针对不确定评论的用户指导决策
- 自动检测:从git remote自动检测存储库
- 代码修复:使用git commits应用修复(手动推送)
快速开始
# Clone and install
git clone https://github.com/MarkEnverus/claude-mcp-agent-github-comments.git
cd claude-mcp-agent-github-comments
pip install -e .
# Configure
export GITHUB_TOKEN=ghp_your_token_here
# GITHUB_REPO is optional - auto-detected from git remote
# Add to Claude Code config
# See docs/installation.md for setup instructionsClaude代码中的用法
安装后,使用自然语言:
"Review open Copilot comments on PR 72"
"Batch close all resolved comments on PR 80"
"Show me context for comment ID 12345"或者直接调用工具:
mcp__github-pr-comments__fetch_pr_comments(pr_number=72)
mcp__github-pr-comments__prepare_comment_decisions(pr_number=72, fast_mode=true)文档
许可证
MIT许可证-请参阅 许可证
______________________________________________________________________
内置于 模型上下文协议 克劳德密码
