MCP Daemon Diet — Development skill for Claude Code
One shared MCP daemon per machine instead of a stdio copy in every agent session: recipe, autostart templates for Windows/macOS/Linux, a watchdog that will not blind your live sessions, and the measur.
How to install MCP Daemon Diet
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tonydzi/mcp-daemon-diet and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MCP Daemon Diet does
One shared MCP daemon per machine instead of a stdio copy in every agent session: recipe, autostart templates for Windows/macOS/Linux, a watchdog that will not blind your live sessions, and the measurements to prove it
Alternatives in Development
- Claude How To — by luongnv89 — Example-driven guide to mastering Claude Code through progressive tutorials with copy-paste tem 8.5k ★
- MCP Proxy — A bridge between Streamable HTTP and stdio MCP transports 2.4k ★
- Fix Cookbook Recipe — Fix Cookbook Recipe Validation Failures 2.1k ★
README
mcp-daemon-diet
**One shared MCP daemon per machine, instead of a copy in every agent session.**
Works with any MCP server and any MCP client. Nothing here is specific to one integration - it is the recipe, the launcher and autostart templates for all three operating systems, a watchdog that will not make things worse, two measurement scripts, and thirteen gotchas we paid for in production.
Built and run at [Palo Alto AI Research Lab](https://github.com/tonydzi/tonydzi), where a fleet of Claude sessions across five machines talks to its MCP servers through exactly this setup.
The problem
An MCP server registered as `stdio` is spawned **per client session**. Ten parallel agent sessions means ten copies of the same server: ten times the memory, ten connections to whatever it talks to, ten holders of the same lock.
What we measured on one laptop, 2026-08-01 to 08-03:
| server | copies | summed RSS |
|---|---|---|
| telegram | ~9 | ~2.7 GB |
| mongodb | ~26 | ~3.0 GB |
| n8n | ~15 | ~2.9 GB |
| ~15 | ~1.5 GB | |
launcher wrappers (npx/cmd) |
~60 | ~5 GB |
**Read those numbers honestly.** Summing RSS over-counts: copies share code pages, so the operating system is not holding that many distinct bytes and you will not get that many back. What is exact is the copy count - and that each copy is an independent client of the upstream service, with its own socket, its own lock and its own session.
Measure your own machine before you believe anyone's table, including this one:
python scripts/mcp_diet_measure.py
If it prints `copies 1` everywhere, you have nothing to fix. That is also what a converted machine looks like: on our hub the same script now reports one `telegram` and one `n8n` process serving every open session.
The fix, in one line
Run the server once, bound to `127.0.0.1:PORT`, and point every client at the URL:
"mcpServers": { "telegram": { "type": "sse", "url
Related Skills
Telegram MCP Kit
Connect Claude (or any MCP client) to your own Telegram in ~15 minutes: setup prompt for Claude Code/Codex, pr
Creating 3D Animated Site
A Cursor and Claude Code skill that scaffolds a single-page 3D animated website from a required title and opti
Tmux Spawn Skill For Claude Code
Claude Code skill for spawning observable tmux sessions. Launch background Claude agents in visible terminal p
Eigen
Opinionated, terminal-first local coding agent for Go/Linux: one daemon, many resumable sessions, multi-provid
Agentic OS Runner
Background daemon + hook + metric-pull templates. Code companion for a private Obsidian agentic-OS build guide
Dispatch Sessionless Job
Fire a one-shot, sessionless coding job at a connected Agensis daemon with farm job run --agent-id --prompt —
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Impl Cross Platform
Reviews implementation plans from a cross-platform compatibility perspective. Use when evaluating Linux vs. ma