Skip to main content
Glama
GitHub PR Comment MCP Server

GitHub PR Comment MCP Server

by MarkEnverus

GitHub PR Comment MCP Server

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.

Features

  • 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)

Related MCP server: PR Review MCP Server

Quick Start

# 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 instructions

Usage in Claude Code

Once 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)

Documentation

License

MIT License - see LICENSE


Built with Model Context Protocol and Claude Code

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Git and GitHub pull request operations through Claude AI, including repository management, branch operations, commits, and PR creation/commenting. Streamlines development workflows by providing Git commands and GitHub API integration through natural language interactions.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude to GitHub Pull Requests to fetch and filter code diffs for AI-assisted reviews. It enables listing open PRs and analyzing changes while automatically excluding binary and asset files to focus on relevant code.
      22
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables to interact with GitHub repositories directly from Claude, supporting actions like viewing repos, checking status, committing and pushing changes, and managing pull requests.
      -