Code2Flow MCP Server provides a FastAPI-based interface that enables AI assistants to generate visual code flow diagrams from source code. By leveraging the code2flow Python library, this server allows agents to analyze code structure, visualize execution paths, and understand program flow without manual diagramming. The implementation includes a client example script demonstrating how to interact with the server, making it particularly useful for code comprehension, documentation generation, and architectural analysis tasks.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Generate a call graph for the provided source code. Parameters: source_paths (list of strings), language (optional string)
Check the version of the code2flow tool.
Analyze the complexity of the provided source code. Parameters: source_path (string), language (optional string)