Code2Flow MCP ServerServer

kursk-ye
GitHub
Code AnalysisAI IntegrationGraph Generation

Loading subscription status...

💡 Description

A project that wraps the code2flow command-line tool as an MCP (Model Context Protocol) server. It allows AI applications to generate and access code call graphs through a standardized MCP protocol.

📝 JSON Entries

{
  "mcpServers": [
    {
      "code2flow": {
        "args": [
          "/c",
          "python",
          "path/to/server.py"
        ],
        "command": "cmd"
      }
    }
  ]
}

🛠️ Tools

generate_call_graphcheck_code2flow_versionanalyze_code_complexity

Features

  • Analyze source code and generate call graphs
  • Supports multiple programming languages (Python, JavaScript, Ruby, PHP)
  • Provides service through MCP protocol
  • Outputs images in PNG format
  • Offers version checks and code complexity analysis

💬 Example Queries

  • Generate a call graph for my Python code
  • Check the complexity of my JavaScript code