mcp-codebase-oracle
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., "@mcp-codebase-oracleAnalyze impact of changing processOrder function in orders.py"
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.
🔮 MCP Codebase Oracle
"Bu kodu kim yazdı, ne yapıyor anlamıyorum" sorusunu tarihe gömüyoruz.
MCP Codebase Oracle, herhangi bir yazılım projesini analiz eden, mimari yapıyı çıkaran ve kod değişikliklerinin etkisini önceden gösteren bir Model Context Protocol (MCP) sunucusudur.
✨ Özellikler
Özellik | Açıklama |
🏗️ Mimari Tespit | MVC, Layered, Hexagonal, Clean Architecture ve diğer pattern'leri otomatik tespit |
🕸️ Bağımlılık Grafı | Modüller, sınıflar ve fonksiyonlar arası ilişki haritası |
💥 Etki Analizi | "Bu kodu değiştirirsem ne bozulur?" sorusuna kesin cevap |
📊 Karmaşıklık Metrikleri | Cyclomatic, cognitive complexity ve maintainability index |
🔍 Sembol Arama | Fonksiyon, sınıf, değişken arama ve detay görüntüleme |
📖 Kod Açıklama | Dosya ve fonksiyon bazlı insan tarafından anlaşılır açıklamalar |
🎯 Dead Code Tespiti | Kullanılmayan kod parçalarını bulma |
🌊 Görselleştirme | Mermaid diyagramları ile grafik çıktılar |
Related MCP server: CodeBase Optimizer
🚀 Kurulum
uv ile (önerilen)
# Projeyi klonla
git clone https://github.com/iamseyhmus7/mcp-codebase-oracle.git
cd mcp-codebase-oracle
# Bağımlılıkları kur
uv sync
# Çalıştır
uv run mcp-codebase-oraclepip ile
pip install mcp-codebase-oracleDocker ile
docker build -t mcp-codebase-oracle .
docker run -v /path/to/project:/project:ro mcp-codebase-oracle⚡ MCP İstemci Konfigürasyonu
Claude Desktop
claude_desktop_config.json dosyasına ekle:
{
"mcpServers": {
"codebase-oracle": {
"command": "uv",
"args": [
"--directory", "/path/to/mcp-codebase-oracle",
"run", "mcp-codebase-oracle"
]
}
}
}VS Code (Copilot / Continue)
{
"mcp.servers": {
"codebase-oracle": {
"command": "mcp-codebase-oracle",
"args": []
}
}
}🔧 Kullanılabilir Tool'lar
Tarama & İndeksleme
scan_project— Proje tarama ve indekslemerescan_project— Incremental güncellemeget_project_summary— Proje özeti
Sorgulama
find_symbol— Fonksiyon/sınıf/değişken aramaget_symbol_detail— Sembol detaylarısearch_code— Kod içi aramaget_file_overview— Dosya yapı özeti
Graf Analizi
get_dependency_graph— Bağımlılık grafıget_call_graph— Fonksiyon çağrı grafıget_class_hierarchy— Sınıf hiyerarşisifind_circular_dependencies— Döngüsel bağımlılık tespiti
Etki Analizi
analyze_impact— Değişiklik etki analiziwhat_if_delete— Silme senaryosuwhat_if_rename— Yeniden adlandırma senaryosufind_dead_code— Kullanılmayan kod tespiti
Mimari
detect_architecture— Mimari pattern tespitiget_module_coupling— Modül bağlılık metrikleridetect_code_smells— Kod kokusu tespiti
Açıklama & Görselleştirme
explain_file— Dosya açıklamaexplain_function— Fonksiyon açıklamagenerate_onboarding_guide— Onboarding rehberigenerate_architecture_diagram— Mimari diyagramgenerate_dependency_matrix— Bağımlılık matrisigenerate_hotspot_map— Hotspot haritası
🗣️ Desteklenen Diller
Dil | Parser | Durum |
Python |
| ✅ Tam destek |
JavaScript/TypeScript | tree-sitter | 🔜 Yakında |
Java | tree-sitter | 🔜 Yakında |
Go | tree-sitter | 🔜 Yakında |
Rust | tree-sitter | 🔜 Yakında |
C# | tree-sitter | 🔜 Yakında |
Diğerleri | regex (generic) | ⚡ Temel destek |
🛠️ Geliştirme
# Dev bağımlılıklarını kur
uv sync --extra dev
# Testleri çalıştır
uv run pytest -v
# Linting
uv run ruff check src/ tests/
# Type checking
uv run mypy src/
# MCP Inspector ile test
uv run mcp dev src/mcp_codebase_oracle/server.py📄 Lisans
MIT License — Detaylar için LICENSE dosyasına bakın.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/iamseyhmus7/mcp-codebase-oracle'
If you have feedback or need assistance with the MCP directory API, please join our Discord server