An intelligent MCP server for managing GitHub PR comments directly from Claude Code. Automatically reviews, triages, and responds to automated PR comments (Copilot, security scanners, etc.) with context-aware analysis.
- Smart Filtering: Filter comments by author, status, age, keywords
- Validity Analysis: AI-powered detection of already-fixed or outdated issues
- Batch Operations: Process multiple comments efficiently
- Interactive Workflows: User-guided decision making for uncertain comments
- Auto-Detection: Automatically detects repository from git remote
- Code Fixes: Apply fixes with git commits (manual push)
# 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 instructionsOnce installed, use natural language:
"Review open Copilot comments on PR 72"
"Batch close all resolved comments on PR 80"
"Show me context for comment ID 12345"
Or call tools directly:
mcp__github-pr-comments__fetch_pr_comments(pr_number=72)
mcp__github-pr-comments__prepare_comment_decisions(pr_number=72, fast_mode=true)
- Installation Guide - Setup for Claude Desktop/Code
- Usage Guide - Features and workflows
- Troubleshooting - Common issues and solutions
- Architecture - Technical details
- Interactive Workflow - User decision workflow
- Bulk Close - Fast batch operations
MIT License - see LICENSE
Built with Model Context Protocol and Claude Code