workflow-generator
This server scans software projects to generate visual workflow diagrams or structured JSON analyses of system architecture, concurrency, and bottlenecks.
generate_workflow: Scans a project directory and produces aWORKFLOW.htmlfile — a dark-mode visual diagram showing components, communication paths, concurrency model, capacity estimates, and bottleneck analysis. Supports specifying output path, project directory, and auto-opening in a browser.analyze_workflow: Scans a project and returns a structured JSON summary (no file written) covering detected framework, worker counts, capacity estimates, components (LLMs, storage, queues, external sources), concurrency primitives (semaphores, rate limits), and a ranked bottleneck analysis.Multi-stack support: Works with Python (FastAPI, Flask, Django), Node.js (Express, Nest.js), Go, and mixed projects, while ignoring vendored/generated directories like
node_modulesorvenv.Wide component detection: API frameworks, gateways (nginx, Caddy, Traefik), LLM providers (OpenAI, Anthropic, etc.), vector stores, databases, queues, async primitives, worker/replica counts, and external integrations (Jira, Slack, Stripe, etc.).
Bottleneck reporting: Estimates throughput ceilings and concurrent I/O capacity, ranking bottlenecks from CRITICAL to LOW with mitigation notes.
Identifies Caddy gateway configuration, including rate limits and worker connections.
Detects Celery queue usage for background job analysis.
Identifies Django framework usage and its role in the API layer.
Identifies Express.js framework usage and its role in the API layer.
Identifies FastAPI framework usage, including worker count and concurrency.
Identifies Flask framework usage and its role in the API layer.
Identifies Gin framework usage and its role in the API layer.
Detects GitHub as an external source integration in the project.
Identifies Gunicorn worker configuration and its impact on concurrency.
Detects Jira as an external source integration in the project.
Detects Milvus vector store usage for storage analysis.
Detects MongoDB database usage and its role in storage.
Detects MySQL database usage and its role in storage.
Identifies nginx gateway configuration, including rate limits and worker_connections.
Detects OpenAI LLM usage and provides latency analysis as a potential bottleneck.
Identifies PM2 worker configuration for concurrency analysis.
Detects PostgreSQL database usage and its role in storage.
Detects RabbitMQ queue usage for background job analysis.
Detects Redis database usage and its role in storage.
Detects Salesforce as an external source integration in the project.
Detects Slack as an external source integration in the project.
Detects SQLite database usage and its role in storage.
Detects Stripe as an external source integration in the project.
Detects Twilio as an external source integration in the project.
workflow-generator
Scan any project and generate WORKFLOW.html — a dark-mode visual system diagram showing every component, how they talk to each other, and where your throughput ceiling actually is.
Works with Python, Node.js, Go, and mixed projects. No external dependencies for the core scanner.
Vendored and generated directories (node_modules, venv, site-packages, dist, …) are never scanned,
and capacity figures are clearly labeled as static-analysis estimates.
Live demo → — generated from fastapi/full-stack-fastapi-template, unmodified.

What it produces
Every generated page contains:
Section | What you get |
Stat row | Workers · Concurrent I/O ceiling · Semaphore limit · Rate limit · Practical throughput |
Architecture diagram | Layered flow: external sources → gateway → API → queues → AI → storage |
Data flow cards | Write path, read/query path, background jobs — inferred from what's detected |
Concurrency table | Every layer: model · ceiling · limiting factor |
Bottleneck analysis | Ranked CRITICAL → LOW with mitigation notes |
Related MCP server: composer-mcp
What it detects
Category | Examples |
API frameworks | FastAPI, Flask, Django, Express, Nest.js, Gin |
Gateways | nginx, Caddy, Traefik (with rate limits + worker_connections) |
LLM providers | OpenAI, Anthropic Claude, Cohere, AWS Bedrock |
Vector stores | Qdrant, Pinecone, Weaviate, ChromaDB, pgvector, FAISS, Milvus |
Databases | PostgreSQL, MySQL, MongoDB, SQLite, Redis |
Queues | Celery, BullMQ, Kafka, RabbitMQ, RQ, AWS SQS |
Async primitives |
|
Workers |
|
External sources | Jira, Azure DevOps, Slack, GitHub, Stripe, Salesforce, Twilio |
Evaluation | TruLens, RAGAS, LangSmith |
Install
pip (CLI + MCP server)
pip install workflow-generator-mcp
workflow-generator . WORKFLOW.html # CLI: scan and write the report
workflow-generator-mcp # stdio MCP serverWith pip installed, any MCP host config reduces to:
{
"mcpServers": {
"workflow-generator": { "command": "workflow-generator-mcp" }
}
}Claude Code (skill)
mkdir -p ~/.claude/skills
git clone https://github.com/askuma/workflow-generator.git ~/.claude/skills/workflow-generatorThen in any Claude Code session:
/workflow-generator
/workflow-generator /path/to/projectMCP server (Claude Desktop, VS Code, Cursor, Zed, Windsurf, Continue)
1. Install the dependency:
pip install mcp2. Add to your MCP host config (replace ~ with your actual home path):
~/Library/Application Support/Claude/claude_desktop_config.json (Mac)%APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"workflow-generator": {
"command": "python3",
"args": ["~/.claude/skills/workflow-generator/mcp/server.py"]
}
}
}.vscode/mcp.json
{
"servers": {
"workflow-generator": {
"type": "stdio",
"command": "python3",
"args": ["~/.claude/skills/workflow-generator/mcp/server.py"]
}
}
}~/.cursor/mcp.json
{
"mcpServers": {
"workflow-generator": {
"command": "python3",
"args": ["~/.claude/skills/workflow-generator/mcp/server.py"]
}
}
}.zed/settings.json
{
"context_servers": {
"workflow-generator": {
"command": {
"path": "python3",
"args": ["~/.claude/skills/workflow-generator/mcp/server.py"]
}
}
}
}~/.windsurf/mcp_config.json
{
"mcpServers": {
"workflow-generator": {
"command": "python3",
"args": ["~/.claude/skills/workflow-generator/mcp/server.py"]
}
}
}3. Restart your tool, then ask:
generate a workflow diagram for this project
how many concurrent requests can this handle?
show me the system architectureMCP tools exposed:
generate_workflow— scans project, writesWORKFLOW.html, optionally opens in browseranalyze_workflow— returns structured JSON summary (no file written)
Command line (standalone)
No install needed beyond Python 3.8+:
python3 ~/.claude/skills/workflow-generator/scripts/analyze.py . ~/WORKFLOW.html
# then open ~/WORKFLOW.htmlExample output (terminal)
Written: /your/project/WORKFLOW.html
Framework: FastAPI · Workers: 8 · Concurrent I/O: ~800
Practical throughput: ~50–200 req/min
Bottleneck: OpenAI (LLM latency 3–30s per call)
Gateway: nginx · 2 rate limit zone(s)
LLM: OpenAI · eval: TruLens RAG Triad
Storage: Qdrant, Redis
External sources: Jira, Azure DevOps, SlackRepo layout
workflow-generator/
├── SKILL.md ← Claude Code skill definition
├── INSTALL.md ← detailed per-platform install guide
├── scripts/
│ └── analyze.py ← core scanner + HTML renderer (stdlib only)
├── mcp/
│ ├── server.py ← MCP stdio server
│ └── requirements.txt ← pip install mcp
└── copilot/
├── index.js ← GitHub Copilot Extension (Express)
├── package.json
└── openai_function.jsonLicense
MIT
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/askuma/workflow-generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server