
Workflow Generator
io.github.askumaPublished by GitHub account askumav0.5.0Updated Oct 26, 2026
Architecture diagram with concurrency capacity and bottleneck estimates from any codebase.
Overview
Scans a local codebase and generates a dark-mode WORKFLOW.html architecture diagram with concurrency ceilings and ranked bottlenecks.
- What you can do
- Scan a project and write a WORKFLOW.html report, or return a structured JSON summary without writing a file
- Detect frameworks, gateways, LLM providers, vector stores, databases, queues, async primitives, workers and external sources
- Estimate concurrency ceilings, rate limits and practical throughput per layer, with ranked bottleneck notes
- Build a codebase dependency graph from real imports, with a separate test graph and flow or force-directed views
- Optionally overlay real request counts from an access log and emit a k6 load-test script for detected routes
- When to use it
- Useful when you want a quick visual map of an unfamiliar or existing project, or a static estimate of how many concurrent requests a stack can handle and where it will bottleneck. Handy before capacity planning, architecture reviews or onboarding.
- Requirements
- Runs as a local stdio process on the desktop. Install the PyPI package workflow-generator-mcp (Python 3.8+); the core scanner uses only the standard library, and the MCP server form needs the mcp package. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Workflow Generator in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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, Java, Rust, Ruby, 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.
(real CLI output, unscripted — static screenshot if you'd rather not autoplay)
What it produces
Every generated page contains:
Codebase dependency graph
Every source file (Python, JS/TS, Go, Java, Rust, Ruby) becomes a node; every real import becomes
an edge — resolved with a language-appropriate parser (Python's ast module, regex for JS/TS/Go/
Java/Rust/Ruby), not guessed. Files that match an already-detected component (an LLM call, a
database client, a queue) get an edge to that component too, so you can see exactly which files
talk to Redis, OpenAI, etc. Large repos (350+ files) are automatically aggregated into
directory-level nodes so the graph stays readable; override with --graph-detail files or
--graph-detail dirs.
Test files (tests/, test_*.py, conftest.py, *.spec.ts, *_test.go, …) get their own
Test Graph section below the main one, showing which modules and services each test reaches.
Fixtures and test doubles name every service they exercise, so keeping them in the main graph
buries the real dependency structure under service edges.
Both sections have a Flow | Graph toggle over the same nodes and edges. Flow (the default up to 80 nodes) is a left-to-right layered diagram: columns are dependency depth from the sources (HTTP entry and files nothing imports), every detected service is its own node in the last column, and import cycles are drawn dashed. Graph is the force-directed view. Moving dots show data going both ways: a filled dot is the call/request, a hollow dot the return/response. On graphs with more than 60 edges, only the paths of the clicked or hovered node animate. Search, "hide isolated" and the selected node are shared between the two views.
The older layered Full System Architecture diagram is collapsed by default, since the Architecture Map covers the same ground.
By default the graph only shows what the code says (import direction, static "this file calls
Redis"), which is honest but not the same as real traffic. Pass --access-log /path/to/access.log
(any combined/common log format) to overlay real observed request counts onto the HTTP-entry
edges — and the generated report includes a ready-to-run k6 load-test script
covering up to 5 detected routes, so the "Practical throughput" number can be checked against a
real measurement instead of only a static-analysis estimate.
What it detects
Install
pip (CLI + MCP server)
With pip installed, any MCP host config reduces to:
Claude Code (skill)
Then in any Claude Code session:
MCP server (Claude Desktop, VS Code, Cursor, Zed, Windsurf, Continue)
1. Install the dependency:
2. Add to your MCP host config (replace ~ with your actual home path):
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (Mac)
%APPDATA%\Claude\claude_desktop_config.json (Windows)
VS Code
.vscode/mcp.json
Cursor
~/.cursor/mcp.json
Zed
.zed/settings.json
Windsurf
~/.windsurf/mcp_config.json
3. Restart your tool, then ask:
MCP 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+:
Optional flags:
Example output (terminal)
Repo layout
License
MIT
Source: README.md at commit 034270e
Tools
0Version history
2- v0.5.0LatestOct 26, 2026
- v0.3.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts