
Story Mapper
io.github.TomAtAP由 GitHub 帳號 TomAtAP 發布v1.0.1更新於 Oct 24, 2026
User story map + kanban with a live browser UI; AI agents and humans plan the same backlog via MCP.
概覽
在本機執行的使用者故事地圖與看板,讓 AI 助理與產品負責人在瀏覽器中即時共同規劃同一份待辦清單。
- 可以做什麼
- 建立與管理專案、史詩、故事與工單,在共用的故事地圖與看板上編排,瀏覽器介面另提供表格、相依圖與需求檢視。安排發行、相依關係與優先順序,並在人工手動修改後重新讀取看板狀態。執行品質流程:建置前須符合就緒定義,完成須符合完成定義並附上已發布的測試計畫與執行紀錄,需求可追溯地連結到故事與測試。檢視並還原每個專案的每次變更修訂。同一套工具也能以一次性 CLI 指令執行,供指令碼、CI 工作或不支援 MCP 的執行環境使用。
- 適用情境
- 適合產品負責人與 AI 編碼助理需要共同規劃並重新排序同一份待辦清單的情境,助理的變更會即時出現在瀏覽器中,人工修改也會在下次讀取時回傳給助理。也適合希望在助理工作中強制落實就緒與完成品質方法的團隊。
- 執行需求
- 需要 Node.js 20 或更新版本,並在本機安裝該 npm 套件;原生模組 better-sqlite3 通常有預先編譯的執行檔,但在不受支援的平台上可能需要 C/C++ 工具鏈。需要一個與 HTTP 伺服器共用的資料目錄,該伺服器預設在 localhost 的 8770 連接埠提供瀏覽器介面。隨附的安裝指令碼適用於 Claude Code 或 Claude Desktop;Claude Desktop 僅能在 Chat 對話中連線本機伺服器,Cowork 模式無法使用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Story Mapper,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Storymapper
A User Story Map + Kanban board that a product owner and an AI coding agent plan together — the same backlog, live, from a browser and from an MCP client — with the quality method built in.
Storymapper is one Node.js package that ships three things:
- A browser UI — a User Story Map (process steps × releases, with epics and stories in the cells), a Kanban board, plus table, dependency-graph, requirements and settings views. Plain HTML + modular JavaScript, no build step.
- An HTTP + WebSocket server — persists every project in SQLite with a full per-project revision history, and pushes changes to connected browsers within ~100 ms.
- An MCP server (stdio) plus a pass-through CLI — the same ~70 tools, for Claude Desktop / Claude Code via MCP and for scripts or other harnesses as one-shot commands. Anything the agent does appears live in the product owner's browser with a highlight-and-move animation; anything edited by hand flows back to the agent on its next read.
The result is a shared planning surface: the agent isn't writing to a database the human can't see — the two work the same board in real time.
Why it exists
Planning AI-assisted development breaks down when the plan lives in one place and the work in another. Storymapper makes the plan a live, bidirectional artifact:
- You bring the product idea and a rough shape of what to build; the agent lays it out on the board — epics, stories, releases, dependencies — and you watch it appear and rearrange it by hand.
- You reprioritize, split, annotate — and the agent picks it up on its next read and continues from the current state of the board.
- Every change is a revision you can inspect and restore.
Quality steering at the product level
When an agent does the building, the human contribution moves up a level: you describe the product, review its behavior, and steer the work through the process. That process is Storymapper's real substance — a complete quality method the engine enforces as tool-level rules: a ticket is specified before it is built (Definition of Ready) and proven before it counts as done (Definition of Done plus a published test plan with recorded runs), and your requirements stay traceably linked to the stories that implement them and the tests that verify them. An agent that tries to skip a step gets a structured error naming exactly what is missing — and fixes it. This puts professional-grade quality assurance into the hands of everyone who thinks in products — founders, domain experts, product owners: the method speaks the language of the product and lets you hold an agent's work to a standard you can verify. The workflow itself (statuses, transitions, gates, board columns) is configurable per project, and the companion skill teaches the agent the discipline, not just the tools.
Design principles
- Zero build. No bundler, no transpiler, no TypeScript. The browser loads
classical
<script src>modules; the server runs the same files under Node via a UMD wrapper. Clone and run. - One source of truth for pure logic. All domain logic (normalization,
operations, the workflow/governance engines, graph algorithms) lives in
shared/core.jsand is symlinked into the frontend and re-exported by the server — the same code runs in the browser, the HTTP server and the MCP server, with no mirror step to drift. - Raw HTTP, no framework.
http.createServer+ manual routing. Small, readable, dependency-light. - Synchronous SQLite via
better-sqlite3, atomic per-save transactions, a per-project mutex, and count-bounded revision retention. - Single-user, local-first. One human plus their agent on one machine. See the security model below.
For the full picture — layering, data model, live-sync mechanism, testing approach and deliberate non-goals — see ARCHITECTURE.md.
Requirements
- Node.js ≥ 20 (developed and tested on 20 and 22; Node 18 is end-of-life).
better-sqlite3is a native module. Prebuilt binaries cover mainstream platforms (macOS / Linux / Windows on x64 + arm64 for supported Node versions), sonpm installusually just works. On an unsupported platform/Node combination it compiles from source and needs a C/C++ toolchain (Xcode Command Line Tools,build-essential, or the Windows build tools).
Install
Run the browser UI
Open http://localhost:8770/ — that's all. The page connects to the server it was loaded from and stores every project there (SQLite, with full revision history).
Hosting the page somewhere else? Served from a different origin, the UI runs on browser
localStorageinstead; point it at a running server with?api=<url>. The page must be loaded fromlocalhost/127.0.0.1— opening the HTML directly as afile://page is not supported (see the security model).
Connect it to your Claude (one command per surface)
Storymapper reaches an agent through two parts: the MCP server (the tools) and the companion skill (the working method — the DoR/DoD contract, the workflow discipline, when to read the board and when to write to it). Installing one does not install the other, so the setup commands below always install both:
npm run install-code copies the skill to ~/.claude/skills/storymap and
registers the MCP server via claude mcp add (user scope). If the claude
CLI is unavailable it prints the ready-made command instead.
npm run install-desktop writes the server entry into the platform's
claude_desktop_config.json (existing entries survive, a .bak backup is
kept) and builds the skill zip. The skill store in Claude Desktop is managed
by the app, so the one upload in the UI is the single step no script can do
for you.
Chat, not Cowork. Claude Desktop reaches local MCP servers from Chat conversations only — in Cowork mode the Storymapper tools are not available. If Cowork is your default surface, switch to a Chat; when the tools don't show up, this is the first thing to check.
Both commands are idempotent — re-run them after pulling a new Storymapper
version. --data-dir=DIR overrides the data directory (default:
<repo>/.storymap-data).
Manual setup (other MCP clients, other harnesses)
Any stdio MCP client can run the server with this shape:
The skill package (npm run package-skill → dist/storymap-skill.zip) is
plain Markdown — storymap/SKILL.md plus its reference/ files. For
harnesses like Codex, unpack it wherever instructions live and point the
harness at it, e.g. from an AGENTS.md:
Point --data-dir at the same directory the HTTP server uses. Both processes
can run concurrently against one SQLite file (WAL mode + a busy-timeout);
the HTTP server relays every MCP write to connected browsers over WebSocket.
Scripting without MCP: the CLI
Every tool is also a one-shot CLI command running over the same tool core:
The result JSON goes to stdout (exit codes: 0 ok, 1 tool error, 2 unknown
tool / bad arguments); arguments come from the positional JSON string,
--json=<json>, or piped stdin. This opens the full tool surface to shell
scripts, CI jobs and harnesses that don't speak MCP.
Only one
storymapper servermay run per data directory (a PID lock refuses a second;--forcetakes over a stale lock after a crash). The MCP process is exempt and may always share the data dir.
Security model (single-user, local)
Storymapper is a local single-user tool — one human plus their agent on one machine. There is deliberately no authentication layer:
- The server binds to
localhostby default. Do not expose it on a non-loopback interface (--host=0.0.0.0, a reverse proxy, a Docker port map) without putting your own authentication in front — anyone who can reach the port can read and write every project. - CORS is locked to loopback origins: cross-origin browser requests get no
Access-Control-Allow-Originand mutating methods are rejected — this stops a random website you visit from driving your local API. WebSocket upgrades are origin-checked the same way. - Served HTML carries a Content-Security-Policy; all responses send
X-Content-Type-Options: nosniff. X-Actor-*headers are attribution, not authentication — they label who did what in the revision history and are not verified.- Verified identity, token-gated remote access and RBAC are a deliberate later
stage; the authorization seam (
server/identity.js) is already in place.
Testing
The suite is a homegrown runner (tests/run.js) over tests/test-*.js: pure
unit tests, storage/mutex/revision tests, in-process and stdio MCP round-trips,
JSDOM renderer tests, and a real-server end-to-end test. CI runs it on Node 20
and 22. Tests only ever touch temporary directories — running them never
touches your data.
License
Licensed under the Apache License 2.0 — see LICENSE and NOTICE.
來源:README.md,提交 6f8c9a3
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分