
eas4ai/code-graph-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
eas4ai/code-graph-mcp는 https://github.com/eas4ai/code-graph-mcp.]에서 수입된 MCP 서버 후보입니다
개요
eas4ai/code-graph-mcp는 https://github.com/eas4ai/code-graph-mcp.]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
포괄적인 코드 분석, 탐색 및 품질 평가 기능을 제공하는 모델 Context Protocol 서버 ** 25 + 프로그래밍 언어 **.
특징
**Enhanced Tool Guidance & AI Optimization ** ⭐ V1.2.0의 새로운
- **일반 사용 가이드 ** - 내장
get_usage_guide] 워크플로우와 도구, 모범 사례 및 예제 -Rich Tool Description - R PURPOSE와 Visual hierarchy, ☸ USAGE, ⚡ WORKFLOW, ❀ TIP 섹션 - Performance-Aware Design - 빠른 기대 (<3s), 모더레이트 (3-15s) 및 비싼 (10-60s) 작업
- Workflow Orchestration - Code Exploration, Refactoring Analysis 및 Architecture Analysis에 대한 최적의 도구 시퀀스
- AI Model Optimization - Trial-and-error를 감소시키고, 툴 오케스트라를 개선하고 전략적 사용 패턴을 가능하게 합니다.
다국어 지원** -25+ 프로그래밍 언어: JavaScript, TypeScript, Python, Java, C#, C++, C, Rust, Go, Kotlin, Scala, Swift, Dart, Ruby, PHP, Elixir, Elm, Lua, HTML, CSS, SQL, YAML, JSON, XML, Markdown, Haskell, OCaml, F# -Intelligent Language Detection: 확장 기반, MIME 유형, shebang 및 콘텐츠 서명 분석
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Code Graph MCP Server
Model Context Protocol server providing comprehensive code analysis, navigation, and quality assessment capabilities across 25+ programming languages.
Features
🎯 Enhanced Tool Guidance & AI Optimization ⭐ NEW in v1.2.0
- Comprehensive Usage Guide - Built-in
get_usage_guidetool with workflows, best practices, and examples - Rich Tool Descriptions - Visual hierarchy with 🎯 PURPOSE, 🔧 USAGE, ⚡ PERFORMANCE, 🔄 WORKFLOW, 💡 TIP sections
- Performance-Aware Design - Clear expectations for Fast (<3s), Moderate (3-15s), and Expensive (10-60s) operations
- Workflow Orchestration - Optimal tool sequences for Code Exploration, Refactoring Analysis, and Architecture Analysis
- AI Model Optimization - Reduces trial-and-error, improves tool orchestration, enables strategic usage patterns
🌍 Multi-Language Support
- 25+ Programming Languages: JavaScript, TypeScript, Python, Java, C#, C++, C, Rust, Go, Kotlin, Scala, Swift, Dart, Ruby, PHP, Elixir, Elm, Lua, HTML, CSS, SQL, YAML, JSON, XML, Markdown, Haskell, OCaml, F#
- Intelligent Language Detection: Extension-based, MIME type, shebang, and content signature analysis
- Framework Recognition: React, Angular, Vue, Django, Flask, Spring, and 15+ more
- Universal AST Abstraction: Language-agnostic code analysis and graph structures
🔍 Advanced Code Analysis
- Complete codebase structure analysis with metrics across all languages
- Universal AST parsing with ast-grep backend and intelligent caching
- Cyclomatic complexity calculation with language-specific patterns
- Project health scoring and maintainability indexing
- Code smell detection: long functions, complex logic, duplicate patterns
- Cross-language similarity analysis and pattern matching
🧭 Navigation & Search
- Symbol definition lookup across mixed-language codebases
- Reference tracking across files and languages
- Function caller/callee analysis with cross-language calls
- Dependency mapping and circular dependency detection
- Call graph generation across entire project
⚡ Performance Optimized
- Debounced File Watcher - Automatic re-analysis when files change with 2-second intelligent debouncing
- Real-time Updates - Code graph automatically updates during active development
- Aggressive LRU caching with 50-90% speed improvements on repeated operations
- Cache sizes optimized for 500+ file codebases (up to 300K entries)
- Sub-microsecond response times on cache hits
- Memory-efficient universal graph building
🏢 Enterprise Ready
- Production-quality error handling across all languages
- Comprehensive logging and monitoring with language context
- UV package management with ast-grep integration
Installation
Quick Start (PyPI)
pip install code-graph-mcp ast-grep-py rustworkx
MCP Host Integration
Claude Desktop
Method 1: Using Claude CLI (Recommended)
For PyPI installation:
설치
docker run -v $(pwd):/workspace code-graph-mcp설정
{
"mcpServers": {
"code-graph-mcp": {
"command": "code-graph-mcp"
}
}
}