Ast MCP Server
未认领By transforming source code into a queryable Semantic Graph and a structured AST, this tool bridges the gap between "reading text" and "understanding structure." For an AI assistant, it provides the "spatial" awareness needed to navigate deep dependencies without getting lost in large files.
安装
pip install -e .更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
14 个工具中显示 14 个
文档中列出的工具 (14)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
analyze_and_cache
Analyze code and cache the results for resource access
analyze_code
Analyze code structure and complexity
ast_diff_and_cache
Generate an AST diff and cache it
diff_ast
Find differences between two versions of code
find_node_at_position
Locate a specific node at a given line and column
generate_and_cache_asg
Generate an ASG and cache it for resource access
generate_and_cache_enhanced_asg
Generate an enhanced ASG and cache it
generate_asg
Generate an Abstract Semantic Graph from code
generate_enhanced_asg
Generate an enhanced ASG with better scope handling
parse_and_cache
Parse code into an AST and cache it for resource access
parse_and_cache_incremental
Parse code incrementally and cache the results
parse_to_ast
Parse code into an Abstract Syntax Tree
parse_to_ast_incremental
Parse code with incremental support for faster processing
supported_languages
Get the list of supported programming languages