Python Code Explorer
Summary
This Python MCP server extracts and analyzes Python code structures, focusing on import/export relationships between files. It intelligently navigates codebases to identify related files, prioritizes the most relevant code sections to stay within token limits, and automatically includes README files for better context. The implementation features a CodeGrapher class that builds a comprehensive graph of code references, making it ideal for AI assistants that need to understand Python projects holistically without exceeding context windows.
Available Actions(1)
get_python_code
Return the code of a target Python file and related files based on import/export proximity. Parameters: target_file (string) - Path to the Python file to analyze, root_repo_path (optional string) - Root directory of the repository.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요