Every Agent discovers all your MCP tools from one install; major token savings via TOON output.
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.
Add 1,000 MCP tools locally β your token context never feels it.
mcptoon is a CLI tool that sits between your AI agent and your MCP servers. Hook up as many servers as you want β the agent's context window stays clean. Token savings happen in two separate places; don't mix them up:
mcptoon manifest sends only the
name list; schemas stay on disk β 255 tools drop from 71,929 to 581 tokens, β99.2%.mcptoon call returns JSON by default; add --toon to
shrink results by ~34% vs JSON (measured).Mcptoon is the native decoupling layer for MCP tools. It fixes the twin pain of MCP tool listings eating tokens and every AI agent re-configuring tools on its own. Built on agents' native CLI-calling ability: zero config, out of the box, it auto-scans and unifies the MCP tools of every agent on this machine, shares tool instances globally, and slashes token overhead.
Your tools stay yours. mcptoon bundles nothing β it's a 128KB CLI, like a remote control. The MCP servers you want, you install yourself, one command each (npm/pip/a URL). Delete mcptoon someday? Your MCP servers keep running on their own β not one goes missing.
Savings start the moment you use it: 99.2% off tool discovery (measured), and every agent on this machine that can run a shell command β Claude Code, Cursor, Codex, scripts, CI β gets your full toolkit with no extra setup.
π pip install mcptoon Β· δΈζ Β· Developer docs Β· Issues
Those numbers are ours, but "loading every tool schema into context is expensive" is not a claim only we make:
We're not the only ones who measured this. mcptoon is the one you can use today, covering every agent at once.
Or let mcptoon auto-discover servers already on your machine:
That's it. No hand-written JSON config. No MCP protocol debugging. No polluted context window.
Every MCP agent (Claude Code, Cursor, Codex, β¦) stuffs every tool's full schema into your context window before doing any work:
So you unload servers you aren't using and reload them when you are. Back and forth. Adding one new server still means hand-writing a JSON config β one missing comma and everything breaks.
mcptoon fixes this. Your MCP servers stay configured, but their schemas never
enter the agent's context by default. The agent just runs mcptoon commands, and
only the compact result you asked for enters context β the name index weighs 581
tokens (114 for 50 tools, β99.2%).
Both rows are measured configurations, not one number scaled up and down (tiktoken
cl100k_base, assets/benchmark_tiktoken.json). Your mix will differ β
compute your own numbers in the browser,
30 seconds, nothing uploaded.
mcptoon connects, discovers tools, generates the handler, registers it. No restart needed.
Any MCP server works:
Don't want to hand-edit configs? ToonDeck is a local console for mcptoon: every MCP server and tool in one place with a real health check, one skill folder synced to all your agents, agent launching with live logs, and API keys stored in your OS keychain β never in a plaintext file.
Pre-alpha; free (Apache-2.0). ToonDeck drives the engine β mcptoon stays the single source of truth underneath.
mcptoon is a CLI. If your agent can run a shell command, it can use mcptoon. No plugins, no SDK, no per-agent setup.
| Agent | How |
|---|---|
| Claude Code | put mcptoon commands in SKILL.md |
| Codex (OpenAI) | add mcptoon to AGENTS.md |
| Cursor | add mcptoon to .cursorrules |
| OpenCode | use mcptoon in custom commands |
| Any agent | can run shell commands β can call mcptoon |
Configure once in ~/.mcptoon/config.json; every agent that can run shell commands
shares the same servers and tools. GUI agents that can't? mcptoon sync writes native
JSON into each one's own location.
Your AI can even add tools by itself β no human in the loop:
mcptoon's token savings are two separate bills β know which one you're reading before comparing numbers.
manifest): 99.2% saved by defaultThis bill comes due before your agent decides "which tool do I use". Native MCP shoves every tool's full schema into context (50 tools: 14,113 tokens; 255 tools: 71,929 tokens). mcptoon sends only the name index β that's where "114, not 14,113" comes from.
| Tools | Native schema (JSON) | mcptoon name index (default) | Saved |
|---|---|---|---|
| 5 | 1,519 | 11 | β99.3% |
| 50 | 14,113 | 114 | β99.2% |
| 255 | 71,929 | 581 | β99.2% |
Zero action, on by default: mcptoon manifest with no flags is this tier.
Want to give the agent more? --full (names + parameter types) saves 88.5%;
--json (full schema) is the baseline.
Both rows are measured configurations, not one number scaled up and down (tiktoken
cl100k_base, assets/benchmark_tiktoken.json). Your mix will differ β
compute your own numbers in the browser,
30 seconds, nothing uploaded.
call): optional, --toon saves ~34%This bill comes due after a tool returns its result to your agent. mcptoon call
outputs JSON by default β yes, the default saves nothing. To shrink results too, add
--toon (structured encoding, reversible):
34% is the measured toon_save value in assets/benchmark_tiktoken.json
(34.0β34.2%), not a marketing number.
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/mcptoon)<a href="https://allmcps.com/mcp/mcptoon"><img src="https://allmcps.com/api/badge/mcptoon?style=directory" alt="Mcptoon on AllMCPs" /></a>