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 "Install 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 MCPShow 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: commit-to-pr-mcp
前提
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ブランチへ修正単位でコミットする
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aq35/mcp_tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server