Synapse
Synapse is an MCP server that lets a coding agent maintain a live mindmap of its plan, code mental model, and touched files.
Create and manage mindmaps with hierarchical tasks, notes, and statuses (
planned,in_progress,completed,blocked).Map high-level architecture and mental models using semantic nodes: components, data flows, decisions, hypotheses, and risks.
Create and remove directed links between nodes with labels and styles (
solid,dashed,animated).Track files and symbol-level changes (
add,modify,fix,refactor,rename,remove,test), including line ranges and summaries.Sync git status/diff to auto-attach changed files to the mindmap.
Generate plan summaries with progress, active/blocked tasks, HLD concept counts, and touched files.
Add, update, remove, list, retrieve, render, and delete mindmaps/nodes.
Render mindmaps as Mermaid, indented text, or JSON for agent use and live viewer display.
Provides a tool to inspect git status and git diff in the workspace, automatically attaching changed files (including staged renames) to the active mindmap task or architectural component.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Synapse create a mindmap for this refactor and map the architecture"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Synapse – Live Plan, Code & Mental Model Mindmap for Any Agent
Synapse is an MCP server + live web viewer that lets any coding agent (Claude Code, Claude Desktop, Cursor, OpenCode, Codex, Windsurf, etc.) maintain a real-time visual mindmap of:
What the plan is (hierarchical tasks with
planned,in_progress,completed, andblockedstatuses)How the agent is thinking about the code (HLD / Mental Model) (semantic
component,data_flow,decision,hypothesis, andriskcards connected by directed flow links)Which files and symbols are being touched (line ranges, symbols, diff summaries, and cross-highlighting between plan tasks and architectural components)
📖 Docs: https://vss96.github.io/synapse/
Quick Start
Requires Node ≥ 20.
# Register Synapse with the coding agents installed on this machine
npx synapse-mindmap init
# Watch your agent work (port 4040, or the next free port)
npx synapse-mindmap viewer --openinit detects Claude Code, Claude Desktop, Cursor, OpenCode and Codex (which also covers the ChatGPT desktop app), asks before configuring each one, and backs up any config file it edits. Restart your agent afterwards. Mindmaps are stored in ~/.synapse/data (override with SYNAPSE_DATA_DIR). See the client guide for manual setup, and Updating for getting new releases.
Related MCP server: io.github.WBXWHT/wayfinder
Screenshots
1. Code Mental Model & High-Level Design (HLD) View
Visualize how the agent understands the system architecture, data flows, design decisions, hypotheses, and risks—without reading walls of text:

2. Split View (Plan Tree + Code Mental Model)
See the full execution plan and the architectural mental model side-by-side in a single live canvas. The Sessions panel on the left lists every mindmap with its active task, progress, and a live dot; filter it or switch with ⌥↑/⌥↓. Press / to find a card, file or symbol on the map:

3. Plan & Tasks View + Changes Tab
The Changes tab shows what kind of change the agent made in each file (added, modified, fixed, refactored, renamed, removed, tested). Pick a kind to highlight every plan task and HLD component with that kind of change:

4. Live Activity Stream
Track a real-time chronological log of every plan update, HLD mapping, and file edit:

5. Archiving Sessions
Sessions are grouped by repository. Hover over a finished session and click Archive to tuck it into the collapsed Archived group at the bottom; nothing is deleted, and Restore brings it back:
MCP Tools
Tool | Description |
| Create a new mindmap with |
| Batch-record the agent's mental model / HLD ( |
| Create a directed conceptual or data/control-flow arrow between two nodes ( |
| Remove links by |
| Mark a task node |
| Attach a touched file ( |
| Inspect |
| Render a Markdown dashboard of task progress (%), HLD concept count, and all touched files |
| Add a child task, plan step, HLD concept, file, or note node |
| Update a node's label, status, semantic type, notes, or files ( |
| Remove a node and all its descendants |
| List stored mindmaps sorted by most recently updated, optionally by |
| Get full mindmap data as JSON |
| Render as |
| Delete an entire mindmap |
Connect to Any Agent
1. MCP Server Config
npx synapse-mindmap init writes this for you. To add it by hand, most clients use:
{
"mcpServers": {
"synapse": {
"command": "npx",
"args": ["-y", "synapse-mindmap", "mcp"]
}
}
}2. Automatic Agent Behavior
Built-in MCP Instructions & Prompt: Synapse automatically advertises server instructions and the
track-coding-planMCP prompt to connected clients.Skill / Rules:
For skill-supporting agents (like Antigravity / Claude): see
.agent/skills/synapse-tracker/SKILL.md.For
CLAUDE.md/.cursorrules: copy the snippet fromAGENT_INSTRUCTIONS.md.
Development
Development uses Bun; the published package is plain Node.js.
./setup.sh # bun install, build, write claude.json for this checkout
bun test # tests
bun run build # tsc → dist/ (MCP server, CLI, viewer server) + bundled viewer app
bun run dev # MCP server from source, restarting on changes
bun run viewer # build, then serve the viewer against ./data
bun run docs:dev # docs siteLicense
MIT. The logo is a public-domain NIAID illustration; see docs/public/LOGO-CREDITS.md.
Available Tools
14 toolsadd_nodeC
Add a child node under a parent node. Supports both plan/task nodes ('plan', 'task', 'code', 'file', 'note') and semantic code-thinking nodes ('component', 'data_flow', 'hypothesis', 'decision', 'risk').
Inputs: label (required), parentId (required), mindmapId (required), type, +3 more.
create_mindmapA
Create a new mindmap to track a coding plan, touched files, and the agent's mental model / HLD of the code.
Inputs: title (required), rootLabel, initialPlan, workspacePath.
delete_mindmapB
Delete an entire mindmap and all its nodes.
Inputs: mindmapId (required).
get_mindmapC
Get a mindmap's full data as JSON.
Inputs: mindmapId (required).
get_plan_summaryA
Get a concise status report of the mindmap plan: completion percentage, active tasks, blocked items, HLD concept count, and all touched files with their changes.
Inputs: mindmapId (required).
link_nodesB
Create a directed concept or data-flow link between two nodes (e.g. 'calls', 'streams SSE to', 'mutates', 'depends on') to map how the agent understands interactions between components, files, or ideas.
Inputs: to (required), from (required), label (required), mindmapId (required), +2 more.
list_mindmapsA
List all stored mindmaps with their IDs, titles, and last updated timestamps.
Inputs: no named parameters.
log_file_touchA
Record that a file was read, created, modified, renamed, or deleted, plus symbol-level changes (add, modify, fix, refactor, rename, remove, test) so the user can follow exactly what is changing. If nodeId is omitted, attaches to the currently in_progress task node; a planned task given as nodeId is started (in_progress).
Inputs: path (required), mindmapId (required), lines, action, +6 more.
map_architectureC
Batch-map the agent's high-level understanding and mental model of the codebase (HLD): components, data flows, decisions, hypotheses, and risks, plus directed links between them. Nodes are created under a 'Code Mental Model (HLD)' branch unless parentId or parentKey is given.
Inputs: nodes (required), mindmapId (required), links, parentId.
remove_nodeA
Remove a node and all its descendants from a mindmap. Cannot remove the root.
Inputs: nodeId (required), mindmapId (required).
render_mindmapB
Render a mindmap in a digestible format: mermaid (flow chart syntax), text (indented outline), or json.
Inputs: format (required), mindmapId (required).
sync_git_statusB
Inspect git status and diff in the workspace and automatically attach all modified/created/deleted files to the mindmap.
Inputs: mindmapId (required), targetNodeId, workspacePath.
update_nodeC
Update a node's label, status, semantic type, notes, or attached files.
Inputs: nodeId (required), mindmapId (required), type, files, +3 more.
update_plan_statusA
Update the status of a plan task ('planned', 'in_progress', 'completed', 'blocked'), with an optional note. Can automatically start the next task by setting nextNodeId.
Inputs: nodeId (required), status (required), mindmapId (required), notes, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Several tool pairs have blurry boundaries: update_node also mutates node status while update_plan_status exists for status changes, add_node+link_nodes overlaps with the batch map_architecture, and log_file_touch overlaps with sync_git_status for attaching files. Descriptions do clarify the single-item vs batch/automation split, but an agent must read carefully to pick correctly.
Nearly everything follows a snake_case verb_noun pattern (create_mindmap, list_mindmaps, add_node, link_nodes, render_mindmap, log_file_touch). Minor deviations: create/delete for mindmaps vs add/remove for nodes, and get_plan_summary uses 'plan' where the resource is a mindmap.
14 tools is well within the comfortable range and each maps to a distinct part of the plan/mindmap workflow (CRUD, linking, batch HLD mapping, status propagation, file tracking, rendering). No tool looks like filler.
Mindmap lifecycle (create/list/get/render/delete), node CRUD, links, plan status with auto-advance, and git/file tracking are all covered, giving a full working loop. Gaps are minor: no way to unlink nodes, rename/update a mindmap's title, or move a node between parents.
Maintenance
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Shared project memory for AI coding agents: decisions, lessons, risks and tasks in one graph.
Create, read and live-edit visual boards, Kanban plans, Gantt timelines and diagrams with AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides coding agents with a mental map of codebases via progressive disclosure, enabling efficient exploration of project structure and entity relationships.36 npmGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants to capture and inspect local session history—prompts, file changes, decisions, branches, and lessons—as an interactive map within MCP-capable clients, while supporting viewing, panning, zooming, and node previews.92MIT
- AlicenseAqualityBmaintenanceEnables AI agents to maintain a persistent knowledge graph of a project, providing dependency context, impact analysis, side-effect discovery, and session recording for more informed coding decisions.5MIT
- AlicenseNot gradedqualityAmaintenanceEnables an AI coding agent to publish a live, layered dependency map of a system under construction: it ghosts the intended structure first, then lights nodes up as they are built and verified. A terminal pane beside the conversation keeps that map visible, showing what is being worked on now and flagging when later changes crack a foundation beneath it.152 npmMIT