这是一个 MCP(多语言组件协议)服务器的文档,该服务器用于分析项目文件并生成图表。以下是其功能和使用说明。
.mmd)或 HTML 嵌入式渲染。文档未提及安装步骤,故跳过。
create_file_tree(filename: "my-project.json", baseDirectory: "/path/to/project")
find_important_files(limit: 5, minImportance: 5)
get_file_importance(filepath: "/path/to/project/src/main.ts")
read_file_content(filepath: "/path/to/project/src/main.ts")
set_file_summary(filepath: "/path/to/project/src/main.ts", summary: "主入口点,初始化应用程序、设置路由并启动服务器。")
get_file_summary(filepath: "/path/to/project/src/main.ts")
generate_diagram(style: "directory", maxDepth: 3, outputPath: "diagrams/project-structure", outputFormat: "mmd")
generate_diagram(style: "hybrid", maxDepth: 2, minImportance: 5, showDependencies: true, outputPath: "diagrams/important-files", outputFormat: "html")
generate_diagram(style: "dependency", layout: { direction: "TB", nodeSpacing: 20, rankSpacing: 15 }, outputPath: "diagrams/custom-layout", outputFormat: "html")
文档未提及技术实现细节,故跳过。
本项目的代码和相关资源受 MIT 许可证的约束。详细内容请参考项目根目录下的 LICENSE 文件。