GitHub PR Reviewer MCP
Provides tools for inspecting GitHub Pull Requests, including details, diffs, file lists, and review tracking via the GitHub API.
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 Reviewer MCP Review PR microsoft/vscode#12345"
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 Reviewer MCP
GitHub Pull Request'lerini analiz eden Model Context Protocol (MCP) sunucusu. Bu araç, Claude Desktop ile entegre çalışarak GitHub PR'larını detaylı şekilde incelemenizi sağlar.
🚀 Özellikler
✅ PR Detayları: Pull Request'in genel bilgilerini, istatistiklerini ve meta verilerini görüntüleme
✅ Diff İnceleme: PR'daki kod değişikliklerini detaylı şekilde inceleme
✅ Dosya Listesi: Değiştirilen dosyaların listesini ve istatistiklerini görme
✅ Review Takibi: Mevcut code review'ları ve yorumları okuma
✅ GitHub Token Desteği: İsteğe bağlı token ile rate limit artırma
✅ Türkçe Arayüz: Tamamen Türkçe raporlama
Related MCP server: Bitbucket MCP Server
📋 Gereksinimler
Node.js 18+
npm veya yarn
Claude Desktop
GitHub hesabı (token için)
🔧 Kurulum
1. Projeyi Klonlayın veya İndirin
git clone <repo-url>
cd github-pr-reviewer-mcp2. Bağımlılıkları Yükleyin
npm install3. Projeyi Derleyin
npm run build4. GitHub Token Oluşturun (Önerilen)
GitHub token olmadan da çalışır, ancak rate limit düşük olur.
GitHub Settings > Developer settings > Personal access tokens sayfasına gidin
"Generate new token (classic)" seçin
Aşağıdaki izinleri verin:
repo(repository erişimi)read:org(organizasyon bilgileri)
Token'ı kopyalayın ve güvenli bir yerde saklayın
5. Claude Desktop Konfigürasyonu
Claude Desktop'ın MCP konfigürasyon dosyasını düzenleyin:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.jsonDosya içeriği:
{
"mcpServers": {
"github-pr-reviewer": {
"command": "node",
"args": [
"C:\\tam\\yol\\projenize\\build\\index.js"
],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Not:
C:\\tam\\yol\\projenize\\build\\index.jskısmını kendi proje yolunuzla değiştiringhp_your_token_herekısmına GitHub token'ınızı yazınToken opsiyoneldir,
"env"kısmını tamamen çıkarabilirsiniz
6. Claude Desktop'ı Yeniden Başlatın
Konfigürasyon değişikliklerinin etkili olması için Claude Desktop'ı tamamen kapatıp açın.
📖 Kullanım
Claude Desktop'ta MCP sunucusu aktif olduktan sonra, aşağıdaki komutları kullanabilirsiniz:
1. Pull Request İnceleme
Bu PR'ı incele: https://github.com/microsoft/vscode/pull/12345Çıktı örneği:
📋 Pull Request Review Raporu
## Genel Bilgiler
- Başlık: Fix memory leak in extension host
- Durum: 🟢 Açık
- Yazar: @john-doe
- Oluşturulma: 15.10.2025
- Branch: fix/memory-leak → main
## İstatistikler
- ➕ Eklenen satır: 45
- ➖ Silinen satır: 12
- 📁 Değiştirilen dosya: 3
- 💬 Yorum sayısı: 8
- 📝 Review sayısı: 2
- ✅ Commit sayısı: 42. Diff İçeriğini Görme
Şu PR'ın diff'ini getir: https://github.com/microsoft/vscode/pull/12345Çıktı: PR'daki tüm kod değişikliklerini diff formatında gösterir.
3. Değiştirilen Dosyaları Listeleme
Bu PR'da hangi dosyalar değişmiş: https://github.com/microsoft/vscode/pull/12345Çıktı örneği:
📁 Pull Request Dosyaları
Toplam 3 dosya değişti:
- src/extension.ts (modified)
- ➕ 25 / ➖ 8 satır
- Değişiklik: 33 satır
- package.json (modified)
- ➕ 2 / ➖ 1 satır
- Değişiklik: 3 satır🛠️ Geliştirme
Watch Modu
Geliştirme sırasında otomatik derleme için:
npm run watchTest Etme
Sunucuyu manuel olarak test etmek için:
npm startBu komut sunucuyu stdin/stdout modunda başlatır.
⚙️ Konfigürasyon
Çevre Değişkenleri
GITHUB_TOKEN: GitHub API token'ı (opsiyonel)Token olmadan saatte 60 istek limiti
Token ile saatte 5000 istek limiti
Desteklenen GitHub URL Formatları
https://github.com/owner/repo/pull/123http://github.com/owner/repo/pull/456
🐛 Sorun Giderme
"MCP sunucusu bulunamadı" hatası
Claude Desktop konfigürasyon dosyasının doğru yolda olduğunu kontrol edin
JSON formatının geçerli olduğunu kontrol edin
Dosya yollarının doğru olduğunu ve
build/index.jsdosyasının var olduğunu kontrol edinClaude Desktop'ı yeniden başlatın
"GitHub API hatası" mesajı
GitHub token'ınızın geçerli olduğunu kontrol edin
Token'ın gerekli izinlere sahip olduğunu kontrol edin
Rate limit'e takılmış olabilirsiniz, biraz bekleyin
Repository'nin public olduğunu veya token'ın erişim hakkına sahip olduğunu kontrol edin
"Build bulunamadı" hatası
npm run buildkomutu ile projeyi yeniden derleyin.
📝 Lisans
MIT License - Detaylar için LICENSE dosyasına bakın.
🤝 Katkıda Bulunma
Fork edin
Feature branch oluşturun (
git checkout -b feature/amazing-feature)Commit edin (
git commit -m 'Add amazing feature')Push edin (
git push origin feature/amazing-feature)Pull Request açın
📞 Destek
Sorunlarınız için GitHub Issues kullanın veya doğrudan iletişime geçin.
Not: Bu araç GitHub API'sını kullanır ve GitHub'ın hizmet koşullarına tabidir.
Available Tools
3 toolsgithub_pr_diffB
GitHub Pull Request'in diff içeriğini getirir (değişikliklerin detayları)
Inputs: pr_url (required).
github_pr_filesA
GitHub Pull Request'te değiştirilen dosyaların listesini getirir
Inputs: pr_url (required).
github_pr_reviewB
GitHub Pull Request linkini alıp detaylı bir code review raporu oluşturur. PR'ın detaylarını, değişiklikleri ve dosyaları analiz eder.
Inputs: pr_url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: github_pr_review generates an analysis report, github_pr_diff fetches the raw diff content, and github_pr_files lists changed files. There is no ambiguity between them.
All tool names follow the same 'github_pr_' prefix with a descriptive suffix. While suffixes are not strictly verbs, the pattern is completely consistent and predictable across the set.
With only 3 tools, the server is tightly scoped to the PR review workflow. Each tool adds meaningful functionality without redundancy, making the count ideal for the stated purpose.
The tool set covers the full review workflow: retrieving the diff, listing files, and generating the review report. There are no obvious missing operations that would prevent an agent from effectively reviewing a Pull Request.
Maintenance
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables the analysis of GitHub Pull Requests to extract metadata, commits, and code changes for structured AI insights. It also supports the optional creation of Notion pages to store and organize the resulting analysis.-
- AlicenseAqualityCmaintenanceEnables retrieval of pull request metadata and diffs from Bitbucket Cloud and Server/Data Center, with optional comment creation.31MIT
- AlicenseAqualityDmaintenanceEnables querying GitHub repositories for pull requests, commits, and comparisons to understand code changes.55 npmApache 2.0
- FlicenseAqualityDmaintenanceEnables fetching Pull Request diffs from GitHub and posting inline review comments directly on PRs, either as pending drafts or published immediately.2-