loading…
Search for a command to run...
loading…
An MCP server that analyzes and traces business code flows across your codebase, enabling developers to quickly understand the complete execution path of featur
An MCP server that analyzes and traces business code flows across your codebase, enabling developers to quickly understand the complete execution path of features from frontend to backend to database.
An MCP (Model Context Protocol) server for analyzing and tracing business code flows across your codebase. Helps developers quickly understand the complete execution path of features from frontend to backend to database.
npm install
npm run build
Create a .flowanalysis.yaml file:
version: '1.0'
project:
name: "my-project"
languages: [typescript]
rootPath: "."
sourceConfig:
include: ["src/**/*.ts"]
exclude: ["**/*.test.ts", "node_modules/**"]
analysisConfig:
maxCallDepth: 10
crossFileAnalysis: true
linkConfig:
vscode: { enabled: true }
github:
enabled: true
repository: "https://github.com/owner/repo"
{
"modelContextProtocol": {
"servers": {
"code-flow-analyzer": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": { "PROJECT_ROOT": "${workspaceFolder}" }
}
}
}
}
traceBusinessFlow — Trace the complete execution path from an entry pointfindCallers — Find all functions that call a given functiongetProjectInfo — Get metadata about the project and analysis resultsgenerateFlowDiagram — Generate a Mermaid call graph diagramMCP Server (index.ts)
├── Project Config Manager
├── Code Analysis Manager
│ ├── Parser Factory
│ │ ├── TypeScript Parser
│ └── Symbol Table
├── Call Graph Analyzer
└── Link Generators
├── VSCode Link Generator
└── GitHub Link Generator
npm run build # Build
npm run typecheck # Type check
npm run start # Run server
npm run dev # Build + run
MIT
Run in your terminal:
claude mcp add mcp-code-flow-analyzer -- npx