
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A MCP server that wraps the code2flow command-line tool, letting AI applications generate and access code call graphs over the MCP protocol.
Code2Flow MCP 服务器 is cataloged as an MCP server attributed to kursk-ye. A MCP server that wraps the code2flow command-line tool, letting AI applications generate and access code call graphs over the MCP protocol. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Code2Flow MCP 服务器 are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Supports parameters for source paths, output path, language, exclude patterns and include patterns.
It provides a help document, a supported languages list, and generated call graph images by image ID.
README.md · 4fdabe0dd2e1 · 采集于 2026-11-13 10:39:31 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
这是一个将 code2flow 命令行工具包装为 MCP (Model Context Protocol) 服务器的项目。它允许 AI 应用程序通过标准化的 MCP 协议生成和访问代码调用图。
git clone https://github.com/kursk-ye/code2flow-mcp-server.git
cd code2flow-mcp-server
python -m venv venv
.\venv\Scripts\Activate.ps1 # 在 PowerShell 中
pip install -r requirements.txt
pip install code2flow
python server.py
mcp dev server.py
mcp install server.py
"code2flow": {
"command": "cmd",
"args": [
"/c",
"python",
"path/to/server.py"
]
}
服务器提供以下 MCP 工具:
generate_call_graph - 生成代码调用图check_code2flow_version - 检查 code2flow 版本analyze_code_complexity - 分析代码复杂度服务器提供以下 MCP 资源:
help://code2flow - 帮助文档languages://supported - 支持的语言列表call-graph://图像ID - 生成的调用图图像import asyncio
from mcp.client import MCPClient
async def main():
# 连接到服务器
client = MCPClient("http://localhost:8000")
# 创建新会话
session = await client.create_session()
# 调用工具生成调用图
result = await session.call_tool("generate_call_graph", {
"source_paths": ["path/to/your/code"],
"language": "python"
})
# 获取资源 ID
print(result)
# 检查code2flow版本
version_info = await session.call_tool("check_code2flow_version")
print(version_info)
# 分析代码复杂度
complexity = await session.call_tool("analyze_code_complexity", {
"source_path": "path/to/your/code",
"language": "python"
})
print(complexity)
if __name__ == "__main__":
asyncio.run(main())
生成调用图时支持以下参数:
source_paths:要分析的源代码文件或目录的路径列表output_path:(可选)输出文件的路径language:(可选)源代码语言(python、js、ruby、php)exclude:(可选)要排除的文件模式列表include:(可选)要包含的文件模式列表server.py - 主服务器代码mcp_client_example.py - 客户端示例代码test_server.py - 测试代码requirements.txt - 依赖文件MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Code2Flow MCP 服务器 from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/code2flow-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.