code2flow-mcp-server
What is this MCP
This MCP is a server implementation that wraps the code2flow command-line tool to provide code call graph generation as a service through the Model Context Protocol (MCP). It enables AI applications to analyze source code and visualize call relationships in a standardized way.
How to use this MCP
The MCP can be used by running the server.py script directly or through MCP tools like MCP Inspector. It provides three main tools (generate_call_graph, check_code2flow_version, analyze_code_complexity) and three resource types (help documentation, supported languages list, and generated call graph images).
What this MCP can be used for
This MCP server is primarily used for code analysis and visualization in AI-assisted development workflows. It helps developers and AI tools understand code structure by generating call graphs, checking code complexity, and supporting multiple programming languages (Python, JavaScript, Ruby, PHP).