traverse
Enables the generation of interactive code walkthrough diagrams using Mermaid syntax, allowing users to visualize and share complex code logic through a web-based interface.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
traverse

The canonical repo for this is hosted on tangled over atdunkirk.sh/traverse
One of my favorite features about amp is their walkthrough feature. It runs a sub agent which goes and breaks your repo into parts and then sends it up to amp's services to get rendered into a nice web page! I got curious and ended up dumping the tool prompt for both the walkthrough subagent and the tool prompt that generates the diagram.
Turns out they are using mermaid syntax with ids on each node that are linked to a json object that has the summary in md of each section. Looking into their web ui rendering they have actually designed their own mermaid renderer likely to get better routing with the paths. We can get amazingly close to that with regular mermaid still and that is what this project is!
This is a mcp server that also launches a web server in the background. You can hook this into whatever ai tool that you want that supports mcp (which is north of 80% of coding tools at this point if not nearing 100%) and start generating walkthroughs! It will initally give you a local url but if you want to share it with others then you can use the share button in the top corner of the page and it will by default share it to my hosted instance at traverse.dunkirk.sh but if you configure the json settings or add an env variable you can point it to your own selfhosted instance!
let's try it!
The mcp server must be run with bun since it uses the Bun.serve api extensively. If you haven't tried bun yet I would highly recommend it!
bunx @taciturnaxolotl/traverse@latestBy default this runs an MCP server on stdio and a web server on localhost:4173.
I want this in my agent of choice!
For claude code they have made this fairly easy:
claude mcp add traverse -- bunx @taciturnaxolotl/traverse@latestFor claude desktop (on mac) you can add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"traverse": {
"command": "bunx",
"args": ["@taciturnaxolotl/traverse@latest"]
}
}
}For other agents its the same JSON config typically.
Related MCP server: Excalidraw Architect MCP
Config
On macos edit/create ~/Library/Application Support/traverse/config.json. If you are on Linux then ~/.config/traverse/config.json (or $XDG_CONFIG_HOME/traverse/config.json)
{
"shareServerUrl": "https://traverse.dunkirk.sh",
"port": 4173,
"mode": "local"
}alteratively or suplementally you can use env vars to define the same options:
var | default | description |
|
| web server port |
|
|
|
|
| share server url |
| platform default | sqlite db location |
This server cannot be deployed
Maintenance
Related MCP Connectors
Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Turn calls and notes into process flow diagrams in Claude, ChatGPT, VS Code, Cursor, and Teams.
Create workflow, sequence, architecture, and mind map diagrams via AI assistants.
Related MCP Servers
- FlicenseAqualityBmaintenanceEnables AI assistants to analyze code repositories and generate self-contained interactive HTML5/SVG architecture diagrams from project structure or existing Mermaid diagrams, fully air-gapped with no external dependencies.4-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to turn natural-language descriptions of systems and data into editable, auto-laid-out Excalidraw diagrams across 25 types — from architecture and sequence diagrams to Gantt charts and scatter plots — plus optionally persist the architecture as a queryable, version-controlled knowledge graph. Runs fully offline with export to SVG and PNG, and diagrams can be revised afterward in natural language.-
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to pull focused, token-bounded context from a local structural code graph stored in SQLite, so they can locate relevant code, traverse relationships between entities, and carry recorded mistakes into later sessions instead of reading whole files. It also supports serving that context over an authenticated local HTTP dashboard.67 npmMIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to turn system architecture into auto-laid-out, editable Excalidraw diagrams across 25 diagram types — architecture, sequence, flowcharts, state machines, ER models, swimlanes, Gantt, and charts — with architecture-aware styling, SVG/PNG export, and natural-language revision. It can also persist the system as a version-controlled, queryable knowledge graph, running fully offline without API keys.-