Code2Flow MCP 服务器 MCP Server

Code2Flow MCP服务器,用于生成代码调用图并通过MCP协议提供服务

Local serverstdioPython

What is the Code2Flow MCP 服务器 MCP Server?

Code2Flow MCP服务器,用于生成代码调用图并通过MCP协议提供服务

What it actually does

这是一个将 code2flow 命令行工具包装为 MCP (Model Context Protocol) 服务器的项目。它允许 AI 应用程序通过标准化的 MCP 协议生成和访问代码调用图。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
server.py主服务器代码
mcp_client_example.py客户端示例代码
test_server.py测试代码
requirements.txt依赖文件

How to install the Code2Flow MCP 服务器 MCP Server

{
  "mcpServers": {
    "code2flow": {
      "command": "uvx",
      "args": ["code2flow"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Code2Flow MCP 服务器 to server.py.”
  • “Use Code2Flow MCP 服务器 to mcp client example.py.”
  • “Use Code2Flow MCP 服务器 to test server.py.”

Frequently asked questions

It supports Python, JavaScript, Ruby, and PHP. The `language` parameter in the `generate_call_graph` tool accepts `python`, `js`, `ruby`, and `php`.