workflow-atlas
Enables an AI assistant to author algorithm storyboards, workflow maps, and UI styling through MCP, serving a local web app for visualizing and reviewing them.
README
Workflow Atlas
Two tools for thinking and communicating about software, in one tiny app:
- Workflows — hand-laid visual maps of a process, styled like technical drawings.
- Algorithm storyboards — step-by-step animations of how an algorithm behaves, with editable parameters and per-step comments, so an idea lands as a moving picture instead of a wall of prose.
A zero-dependency local server serves the app and gives an AI coding assistant an MCP authoring surface: it can create and edit the algorithm storyboards, the workflow maps, and even the CSS/HTML styling — so when the assistant proposes an algorithm it can show you a moving picture instead of a wall of prose you have to decode. Local-only tooling: a richer back-and-forth channel between you and the assistant.
Open source under the MIT License (see LICENSE). No build step, no npm
install, no framework — plain HTML/CSS/JS and Node built-ins.
The bundled examples are demo content: two workflow maps of the tool's own internals — the authoring loop (how a described algorithm becomes a moving storyboard) and boot & serve (how the server runs) — plus classic-algorithm storyboards (binary search, bubble sort, Euclid's GCD). Replace the JSON under
content/with your own (or have the assistant do it over MCP).
Run
Zero install (Node ≥ 20). From this folder:
npm start # → http://localhost:5174/ (or: node server/server.mjs)
With Claude Code, you don't start it yourself — the project .mcp.json
registers the server so Claude Code spawns and manages it for you (one-time:
approve it when prompted). The same process serves the app at
http://localhost:5174/ and gives the assistant the MCP tools.
Read-only fallback (any static server, no autosave):
python -m http.server 8080 # → http://localhost:8080
(A server is needed because the app fetches its content (content/*.json) over
HTTP, which the browser blocks over file://.) With the server running the open
tab live-reloads whenever a file changes — edit a spec, a workflow, or the
CSS and the page refreshes itself (the app's own review autosaves are excluded,
so typing a comment never reloads under you).
When the assistant authors a workflow or storyboard (save_workflows /
save_algorithm) and no tab is open yet, the server opens the app in your
default browser so the result is in front of you; if a tab is already open it
just live-reloads instead. Disable the auto-open with ATLAS_NO_OPEN=1.
If the port (default 5174, override with PORT) is busy, the server adapts:
if another workflow-atlas instance already holds it, this process reuses that UI
and runs as an MCP/stdio worker (the shared file watcher still live-reloads your
edits); if something unrelated holds it, the server steps to the next free port.
Local-only by design. The server binds to 127.0.0.1 and its write surface
(the MCP tools and review autosave) rejects any request that isn't same-machine,
same-origin — so a website you visit or another host on your network can't drive
it. It is unauthenticated tooling meant for your own machine; only set
ATLAS_HOST to expose it on another interface if you understand the risk.
Edit
All content is JSON under content/ — no diagram syntax, no code. Edit the
files directly, or have the assistant write them over MCP; changes show on
reload. For workflows, prefer the per-sheet/per-station tools (save_sheet,
delete_sheet, reorder_sheets, set_station, delete_station) over the
replace-all save_workflows — they edit one piece without resending the rest.
Workflow maps live in content/workflows.json ({ sheets: [...] }):
- A sheet is
{ id, code, name, title, sub, stations: [...] }; add one and it appears in the left index automatically.codeis a short badge (e.g."WA-01"), not the pseudocode an algorithm spec carries. - A station is
{ title, sub, status, detail }.detailholds{ in[], out[], note, open[] }— shown in the callout. Eachopen[]question can be answered in the callout (recorded as a decision); the assistant can read and resolve them over MCP, same as algorithm questions. loop: { to, label }draws a dashed feedback arc back to an earlier station.tois a station index or a target station's title (a title survives reordering).fan: { tracks: [...] }renders parallel branches off the spine.algorithm: '<id>'links a station to its storyboard.
Algorithm storyboards
A second view (top-left Workflows / Algorithms switch, or open
algorithms.html) animates an algorithm step by step instead of describing it
in prose. The stage shows the data (an array of value cells, or a worksheet),
the pseudocode highlights the active line, and the narration explains each step
— synced to a play / step / scrub transport (← → to step, space to play).
Each storyboard is a JSON spec in content/algorithms/<id>.json —
auto-discovered via content/index.json, no registration step. A spec is:
{
"id": "binary-search", "tag": "ALG-01", "name": "Binary search",
"sub": "…", "kind": "array", // "array" (value cells) or "calc" (worksheet)
"code": ["pseudocode", "lines"], // highlighted as it runs
"params": [ { "key": "target", "value": 33, "min": 1, "max": 99, "step": 1 } ],
"steps": [ /* explicit frames — the simple, fully-authorable path */ ]
}
A frame (kind: "array") is { array[], cls{index:state}, ptr{label:index}, note, line, verdict{ok?,text}, question? }, where state is one of
idle·active·compare·lo·hi·mid·eliminated·found·sorted. A row
(kind: "calc") is { label, result?, expr?, sub?, note, line, question? }.
Instead of steps, a spec may set "builtin": "<name>" + "data" to be driven
live by a built-in generator in shared/generators.js (the bundled binary
search, bubble sort, and Euclid demos use this — change a param and the whole
walk re-runs). Authored storyboards just use steps. Add one with the
save_algorithm MCP tool, or by dropping a JSON file in content/algorithms/.
Tuned params, comments & decisions — the review overlay
Your layer over a storyboard — tuned params, per-step comments, and recorded
decisions — is a separate file: content/reviews/<id>.json. With the server
running the app autosaves to it as you edit and reloads it as the baseline
next time. (Without a server, edits stay in the browser only.)
Open questions → decisions
A trace step can pose an open design question (question: '…'). The storyboard
shows it on that step with a box to record the decision (answer + who +
when); resolved questions show settled, and the timeline marks open (hollow) vs
decided (green). The decision is stored alongside the rest in the review file
(decisions[step]). The point: addressing a question is one durable action, and
the assistant can read/resolve it too. Best practice — when you decide, also let
it drive a real change (a param default, the logic, a step's status) so the
artifact and the decision can't drift apart.
Server + MCP — so the assistant shares the same data
server/server.mjs is one zero-dependency process that serves the app, persists
reviews over REST, and speaks MCP — over stdio (how Claude Code launches
it) and at /mcp over HTTP (for manual testing). Tools:
- Read —
list_algorithms,get_algorithm,get_workflows,get_sheet,get_review,get_workflow_review,list_open_questions - Author algorithms —
save_algorithm,delete_algorithm - Author workflows —
save_sheet/delete_sheet/reorder_sheetsandset_station/delete_station(per-piece upserts; preferred), orsave_workflows(replace-all) → writecontent/workflows.json - Review / decisions —
set_param,set_comment,set_decision,reopen_question(algorithms);set_workflow_decision,reopen_workflow_question(workflow open questions) - The look —
list_files,get_file,set_file→ read/overwrite the raw CSS / HTML / JS at the project root (server/andcontent/are off-limits — use the content tools for those)
So the loop is: the assistant proposes an algorithm → it builds the storyboard
with save_algorithm → you watch it run and leave a comment or decision → the
assistant reads that over MCP and revises. Showing, not just telling.
Claude Code manages the process. A project .mcp.json runs the server as a
stdio MCP server (node server/server.mjs), so Claude Code spawns it every
session — you never start it by hand. One-time: reload the session (so
.mcp.json is read) and approve the server when prompted. After that the
tools are available and the app is live at http://localhost:5174/.
(Approval is Claude Code's security boundary — it can't be auto-granted. If the server doesn't appear or won't connect, tell me; some builds want a different transport key.)
Files
workflow-atlas/
index.html workflows shell (title block · sheet · callout)
algorithms.html storyboard shell (stage · pseudocode · narration)
styles.css design system — palette, type, spine, stage
app.js workflow renderer (sheets, stations, loops, callout)
storyboard.js algorithm player (loads specs, replay, transport)
shared/generators.js built-in algorithm generators (browser + server)
content/
index.json discovery manifest (server rewrites on save/delete)
workflows.json workflow maps ← content tools edit these
algorithms/*.json algorithm storyboards
reviews/*.json tuned params + comments + decisions (server writes)
server/server.mjs zero-dep Node server: static + REST + MCP (stdio + /mcp)
package.json npm start, metadata (zero dependencies)
.mcp.json registers the server for Claude Code
LICENSE MIT
.mcp.json registers the server with Claude Code for this repo:
{ "mcpServers": { "workflow-atlas": { "command": "node", "args": ["server/server.mjs"] } } }
(Another project can point its own .mcp.json here via a relative path such as
../workflow-atlas/server/server.mjs, so the tool stays usable from that
session too.)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。