Live layered dependency map for bottom-up development, drawn by the agent in a terminal pane.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
English | ็ฎไฝไธญๆ
A live, terminal-native map of bottom-up development for Claude Code and Codex CLI.
While Claude builds your system, a split pane beside the conversation shows the system's layered dependency map: primitive layers at the bottom, dependency edges that may only point downward, ghost nodes for what is designed, a spinner on what is being built right now, and solid green for what is built and verified.
In a real terminal the wiring and band bars render FAINT while node boxes glow in their status colors with bold labels โ a dark circuit board where the components are the bright things. Skip-level edges thread through gaps between boxes (watch the line dive between State Store and Watcher above); non-overlapping wire segments share track rows to keep the bands close.
(This is the plugin's own map, mid-development. The spinner really spins.)
Most progress reporting is a task list โ a top-down worldview. A Mellos map grows the other way: an upper node can only stand on nodes below it, and the picture makes the discipline visible:
Two lines inside any Claude Code conversation:
Or one line in a terminal:
Requires Node.js 18+ on PATH (Claude Code itself requires Node, so you
already have it). No build step: dist/ is committed, so a clone runs as-is โ
dist/server.mjs (the MCP server), dist/watch.mjs (the pane),
dist/mmap.mjs (the mmap toggle), dist/hook-session-start.mjs (the
SessionStart hook that hooks/hooks.json registers) and
dist/store-paths.mjs (the store's path vocabulary, which the plain-node pane
launcher imports instead of restating filenames).
The first session after installing asks you one question โ how eager mapping should be โ and records the answer for every project you will ever open. From then on the hook carries it into each new session by itself; there is no per-project setup step. See Setup: choose when maps open.
The mmap terminal command (the pane's open/close toggle) installs itself on
Windows: the same hook notices on session start when the shim is missing or
points at an older install, writes mmap.cmd (cmd, PowerShell) and mmap
(git-bash) into %LOCALAPPDATA%\mellos-mapping\bin, appends that one
directory to your user PATH, and tells you so through the assistant. The
PATH change reaches only new processes โ and a new tab of a running Windows
Terminal inherits the old environment, so close the terminal app entirely and
reopen it before the first mmap. The PATH edit keeps the
installer's guarantees: nothing happens when the entry is already there, and
a PATH that setx would damage (flattened %VARIABLE% references, truncation
past its limit) is refused outright, with the entry to add by hand named
instead.
The step behind it is still a command of its own, for the cases the hook does
not cover โ --uninstall, or re-adding a PATH entry you removed while the
shims stayed put:
(--json prints the install outcome as one JSON line instead of prose โ the
mode the hook itself calls it in.) npm i -g mellos-mapping provides the
same mmap via bin, no shims involved.
Two steps because plugin update compares against the locally cached
marketplace clone โ the first command is what actually pulls this repo.
Restart Claude Code to apply. Releases are version bumps on master.
(In-app, /plugin opens the same management UI.)
0.20 moved the store out of .claude/ โ the map belongs to this tool, not to
one client โ into .mellos/. The server and the watcher each perform the move
once at startup, and print exactly one line on stderr when they do
(mellos-mapping: moved the legacy .claude map store to .mellos/ โ commit the move.):
| 0.19 and earlier | 0.20 and later |
|---|---|
.claude/mellos-mapping.json | .mellos/map.json |
.claude/mellos-mapping.pages/ | .mellos/pages/ |
.claude/mellos-mapping.config.json | .mellos/config.json |
Nothing is merged and nothing is overwritten: a project that already has a
.mellos/ store (map, pages or config) is left untouched, whatever the legacy
directory still holds. If you keep your maps in git, commit the move โ
git add -A .claude .mellos records it as renames rather than as a pile of
deletions plus untracked files.
That one move is the only time either process touches .claude/. Afterwards
the tools write nowhere but .mellos/, and never outside the project
directory they resolved at startup.
The same repo doubles as a Codex plugin (codex-cli 0.147+). Three lines:
The first two install the skill (the map discipline) as a Codex plugin. The
third registers the MCP server at user level โ needed because Codex spawns
plugin-bundled MCP servers inside the plugin cache with no way to see your
workspace, so a bundled server would write the map into the cache. A
user-level codex mcp add entry (which the script writes) inherits each
session's working directory instead: the state file lands in your project,
same as under Claude Code. The registered path is version-specific โ re-run
the script after updating the plugin.
To watch the live pane beside a Codex session on Windows, run
node <plugin root>/scripts/open-pane.mjs <project dir> โ it splits the
terminal window hosting the session (or falls back to a dedicated
"mellos-mapping" window; --window picks that on purpose). Add
--page <slug> to open on a particular page โ and with a pane already open,
rerunning with --page retargets it instead of opening another. The pane
auto-follows the page being written โ the map the agent is operating on
right now; press f to toggle that (a manual page switch also turns it
off), or start with --no-follow. Elsewhere run
node <plugin root>/dist/watch.mjs from the project directory in a second
terminal (or any terminal split). Both take the same flags โ see
Pane flags.
The server ships on npm, so any MCP client (Cursor, Windsurf, Zed, Gemini CLI, โฆ) can run it with a standard stdio entry:
The map file lands in the client session's working directory
(.mellos/map.json). Open the live pane from the same project:
The server picks its project directory in this order: MELLOS_MAPPING_CWD
(an explicit override, for clients that spawn servers from a fixed
directory), then CLAUDE_PROJECT_DIR (what Claude Code sets for plugin MCP
servers), then the server process's own working directory. Set
MELLOS_MAPPING_CWD when your client would otherwise start the server
somewhere other than the project you are working in.
The skill/discipline layer is Claude Code + Codex specific; other clients
get the five mmap_* tools and the pane, and bring their own prompting.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mellos-mapping)<a href="https://allmcps.com/mcp/mellos-mapping"><img src="https://allmcps.com/api/badge/mellos-mapping?style=directory" alt="Mellos Mapping on AllMCPs" /></a>