GitHub PR Reviewer MCP
Enables analysis of GitHub Pull Requests, including details, diff, file lists, and review tracking.
README
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
📋 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-mcp
2. Bağımlılıkları Yükleyin
npm install
3. Projeyi Derleyin
npm run build
4. 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.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Linux:
~/.config/Claude/claude_desktop_config.json
Dosya 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ın- Token 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ı: 4
2. 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 watch
Test Etme
Sunucuyu manuel olarak test etmek için:
npm start
Bu 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 edin - Claude 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 build
komutu 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.