GitHub PR Review MCP
Collects comments from Pull Requests on GitHub repositories, including issue comments, review comments, review summaries, and unresolved review comments.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub PR Review MCP Show unresolved review comments for PR #42 in myorg/myrepo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub PR Review MCP
プライベートGitHubリポジトリのPull Requestコメントを収集するMCPサーバーです。
できること
PRのコメント群を一括収集
issueコメント
reviewコメント
reviewサマリー
未返信のreviewコメントを抽出
Related MCP server: PR Reviews MCP Server
前提
Node.js 18+
GitHub Personal Access Token
プライベートリポジトリを扱うため
repo権限が必要
セットアップ
npm install
npm run build.env を作成して設定してください(dotenv で自動読み込みされます)。
cp .env.example .env.env 例:
GITHUB_TOKEN=ghp_xxx
TEST_REPOSITORY=owner/repo
TEST_PULL_NUMBER=123
# TEST_INCLUDE_RESOLVED_REPLIES=true
# GITHUB_API_BASE_URL=https://github.example.com/api/v3起動
npm start開発時は以下で直接起動できます。
npm run dev実動作テスト
このブランチ内だけで動作確認を完結する場合は、.env の TEST_REPOSITORY と TEST_PULL_NUMBER を設定したうえで、以下を実行してください。
npm run test:collect引数で明示指定することもできます。
npm run test:collect -- owner/repo 123第3引数で includeResolvedReplies を指定できます。
npm run test:collect -- owner/repo 123 falseこのコマンドはローカルでMCPサーバーを起動し、collect_pr_feedback を実行して結果JSONを表示します。
MCPクライアント設定例
{
"mcpServers": {
"github-pr-review": {
"command": "node",
"args": ["/absolute/path/to/mcp_tool/dist/index.js"],
"env": {
"GITHUB_TOKEN": "ghp_xxx"
}
}
}
}提供ツール
1) collect_pr_feedback
PRのコメント情報をまとめて取得します。
入力
repository:owner/repopullNumber: PR番号includeResolvedReplies(任意, default:true): 返信コメントを含めるか
出力
PRメタ情報
issueコメント一覧
reviewコメント一覧
未返信reviewコメント一覧
review一覧
運用イメージ
collect_pr_feedbackで現状コメントを収集未返信コメントや修正要望を整理して、ローカルで修正を進める
修正内容をPRブランチへ修正単位でコミットする
Available Tools
1 toolcollect_pr_feedbackB
Collect PR review comments, issue comments, and review summaries for a PR.
Inputs: pullNumber (required), repository (required), includeResolvedReplies.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no potential for confusion between tools. The tool's purpose is clearly described.
Single tool name follows a consistent verb_noun pattern ('collect_pr_feedback'), so no inconsistency exists.
A single tool for a PR review server is severely inadequate. Expected tools for PR listing, diff viewing, commenting, etc., are missing.
The tool surface is extremely incomplete. It only provides feedback collection, with no tools for creating, updating, or managing PRs or reviews.
Related MCP Connectors
An MCP server that automatically collects feedback on your MCP server.
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
A MCP server built for developers enabling Git based project management with project and personal…
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP server that fetches GitHub Pull Request comments with file paths, line ranges, and replies using a GitHub personal access token.13MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables checking GitHub and Codeberg PR reviews, change requests, and conversations.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for automated code review of GitHub pull requests. It checks security, quality, and license issues, and provides tools to list, inspect, and review PRs.18 npmMIT
- AlicenseAqualityDmaintenanceA production-ready MCP server for triaging and reviewing GitHub pull requests via the GitHub REST API, providing typed tools to list, inspect, comment, add labels, and submit reviews.810 npmMIT