Purpose
mcptoon is for users who need to use MCP tools and agent skills across multiple AI agents (coding assistants, desktop applications, CLI tools). The core problem it solves is this: before starting work, every MCP agent loads the full description of every tool and every skill into its context window, and resends them on every turn of the conversation, consuming a large number of tokens. mcptoon keeps these descriptions on disk and provides agents with only a compact view, thereby reducing context overhead and allowing the local machine's tools and skills to be shared across all agents without editing each agent's JSON configuration individually.
Main capabilities
On-demand loading of tool schemas
The default mcptoon manifest compresses full schemas into a name index. Example data: the schemas of 255 tools total 71,929 tokens, and after compression they are 581 tokens, a reduction of 99.2%. When a tool is needed, use mcptoon inspect to get its real parameters, then use call to execute it. --slim (name plus parameter types, example 8,282 tokens, a reduction of 88.5%) and --full (full schema) are also provided.
Skill management
Use one resident pointer (39 tokens) plus one lookup (501 tokens) instead of loading all SKILL.md files. Example data: 926,232 tokens of SKILL.md text becomes 39 resident + 501 per lookup, a reduction of 99.9%. The view is presented in the form of links (a junction on Windows, no administrator privileges required), and a single edit at the source takes effect globally, with no second copy to drift.
Call result compression
mcptoon call outputs JSON by default, and by default does not compress; adding --toon re-encodes the result as standard TOON. A mixed-result sample measured a reduction of 5.7%, with the range by result shape being between 1.8% and 48.6% (list-type records barely shrink, while a single record is roughly halved).
Unified configuration and installation
Install once, and every AI on the machine gets all tools and skills. Newly added tools and skills are immediately available, with no need to restart the agent and no need to edit JSON individually. After installation, mcptoon automatically injects its official skill /mcptoon into each agent, so users do not have to memorize terminal commands.Command, just ask directly in Cursor, Claude Code, Windsurf, DSH, etc.
Tool Discovery and Installation
mcptoon itself does not bundle tools and catalogs; instead, it queries upstream registries in real time. mcptoon install --search github can find and install any MCP server; mcptoon discover can scan servers already on the machine. Search results carry ✓ (registry-verified), type labels (npm / pypi / hosted / remote), and invocation counts; the data comes from two upstreams, is queried in real time, is never stored, and only writes one line of pointer into the user's own ~/.mcptoon/config.json. Tokens required by remote servers are read from environment variables; ${NAME} is resolved at request time, templates are retained in configuration and logs, and after rotating the variable the new value takes effect on the next invocation without reinstalling; a missing or empty variable produces a clear error and names the variable.
Skill Search and Installation
mcptoon skills search <query> queries the open skill index (skills.sh) to find skills by purpose, then skills add <git-url> installs them.
Starter Packs
Four starter packs are built in: essentials, web-research, code-review, docs, each bundling several tools and ready-made prompts. mcptoon install --packs lists them, and mcptoon install --pack essentials installs one of them. Two of the research-oriented starter packs require no API key.
Integration with Agents
mcptoon reaches agents in two ways: the CLI way (the agent itself can run a shell and directly execute mcptoon call / search / skills resolve, with zero configuration) and the serve way (when the client cannot run a shell, mount mcptoon serve as a single MCP server, requiring only one configuration entry). quickstart registers both. The README lists 103 clients (42 CLI, 61 serve).
Rollback and Reversibility
Installation registers the gateway. By default quickstart routes existing servers to thegateway and removes their direct entries (otherwise the same tool would appear both directly and via the gateway, which is actually more expensive). This is an explicitly listed step that requires confirmation, and it is reversible: mcptoon restore removes the gateway entry and restores the servers to their original state; configurations added afterward are unaffected. mcptoon off is a lighter switch that only removes the gateway entry and leaves the servers as they are. Both support --dry preview; mcptoon uninstall --dry first prints the complete removal plan. mcptoon sync --self can re-register itself, and mcptoon status can show the status at any time, printing both the gateway and streamlined schema datasets.
Usage
Install:
pip install mcptoon
mcptoon quickstart
On PEP 668-compliant Linux distributions (Debian/Ubuntu 23.04+) and macOS Homebrew Python, a direct pip install into the system Python will be rejected with an externally-managed-environment error; using pipx or venv is recommended; pip install --break-system-packages mcptoon also works, but it will write into the system Python. On Windows, pip install mcptoon works directly.
Common command examples:
mcptoon install --search github
mcptoon skills search "make a PDF"
mcptoon inspect
mcptoon call
mcptoon serve
mcptoon bench
mcptoon status
mcptoon restore
mcptoon off
Output formats: JSON by default, --toon outputs smaller results (shape-dependent, about 5.7% for mixed samples), --format mcp exports standard MCP JSON. mcptoon serve supports stdio or HTTP, connection pooling, and per-agent keys.
Use cases
- Multiple AI agents are installed on the local machine (Claude Desktop, Claude Code, Codex, Cursor, Windsurf, Cline, VS Code Copilot, Gemini CLI, Qwen Code, Zed, Crush, opencode, etc.), and you want tools and skills to be installed once and shared everywhere.
- Hundreds or thousands of MCP tools or skills are configured locally, and you are worried about context being overwhelmed by tool descriptions.
- You need scripted integration with your own agent, CI, or application, using stable JSON output or the MCP endpoint of mcptoon serve.
- You want to use tools on demand without changing each agent's configuration, and to roll back quickly when needed.
Limitations and notes
- The official documentation does not state the tool's pricing, and no related information is currently provided.
- The tool itself does not bundle any tool catalog; search results come from upstream registries, and users must judge the source and security of third-party packages themselves (the README notes that a ✓ indicates the registry has verified it, and that you should read the source code before handing over credentials).
- The README also states that its savings figures are measured by itself; while the judgment that "loading all tool schemas into context is expensive" is supported by other sources, the specific comparison values must not be mixed across scenarios.
- The three savings measures (tool discovery, call results, skill catalog) are independent of one another and cannot be compared across categories.
- Your own catalog can be measured: mcptoon bench reports on the user's own tool collection, not a fixed 255-tool sample.
- For specific client support, refer to the 103 clients listed in the official documentation; clients not listed in the materials are not currently documented.