⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v1.4.3

mcptoon

activeing123@activeing123⭐ 422 stars· last commit 4d ago· 1 open issues

Compress MCP tool discovery with the mcptoon CLI. Trigger when a session has a large MCP tool catalog (many servers/tools), when the user mentions token cost, tool discovery, mcptoon, or asks to list/call MCP tools efficiently. Also route here when the user says the MCP tool list is too large, the agent context window is filling up with tool schemas, or they need the same MCP servers configured across Claude Code, Cursor, Codex, Cline, Windsurf and other agents. Also covers managing an agent's skill catalog with `mcptoon skills` (list / resolve / sync / add / remove, plus a version gate, derived Roo/OpenCode views, and tombstoned removals). Also route here when the user's MCP tools seem to have gone missing: a gateway is mounted in COMPACT exposure by default, so it withholds the upstream tool list from `tools/list` (they stay callable) — explain the preset and switch back with `mcptoon config set exposure full`. Also route here when a tool *result* looks truncated, compressed, or \"lost data\": result compression is on by default, originals come back via `mcptoon_retrieve handle=<id>`, and it turns off with `mcptoon config set compress off`. mcptoon compresses 71,929 tokens of tool schemas to 581 (-99.2%) and serves as an MCP 2026-07-28 stateless-first bridge.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐⭐ 422 on GitHubGitHub ↗

Popular

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

https://github.com/user-attachments/assets/0272d3a8-c74f-428d-8559-fbf804ce0685


🚀 Quick Start (Choose Your Way)

When installed, mcptoon **automatically injects its own

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • claude-code-plugin/skills/mcptoon/SKILL.md7.8 KBupstream ↗
    ---
    name: mcptoon
    version: 1.2.1
    description: "Compress MCP tool discovery with the mcptoon CLI. Trigger when a session has a large MCP tool catalog (many servers/tools), when the user mentions token cost, tool discovery, mcptoon, or asks to list/call MCP tools efficiently. Also route here when the user says the MCP tool list is too large, the agent context window is filling up with tool schemas, or they need the same MCP servers configured across Claude Code, Cursor, Codex, Cline, Windsurf and other agents. Also covers managing an agent's skill catalog with `mcptoon skills` (list / resolve / sync / add / remove, plus a version gate, derived Roo/OpenCode views, and tombstoned removals). Also route here when the user's MCP tools seem to have gone missing: a gateway is mounted in COMPACT exposure by default, so it withholds the upstream tool list from `tools/list` (they stay callable) — explain the preset and switch back with `mcptoon config set exposure full`. Also route here when a tool *result* looks truncated, compressed, or \"lost data\": result compression is on by default, originals come back via `mcptoon_retrieve handle=<id>`, and it turns off with `mcptoon config set compress off`. mcptoon compresses 71,929 tokens of tool schemas to 581 (-99.2%) and serves as an MCP 2026-07-28 stateless-first bridge."
    ---
    
    # mcptoon — MCP tool-catalog compression
    
    mcptoon is a zero-dependency CLI. If it is not installed yet, one command sets
    it up: `pip install mcptoon` (308KB, installs in seconds, nothing else pulled
    in). It gives you a compressed view of the user's MCP tools and calls them
    back.
    
    ## When to use what
    
    | Situation | Command |
    |---|---|
    | User asks "what tools do I have" / you need the tool catalog | `mcptoon manifest` (compact names only — ~2.2 tokens/tool) |
    | You need one tool's real parameter schema before calling | `mcptoon inspect <server> <tool>` |
    | Find a tool by capability | `mcptoon search <query>` |
    | Call a tool | `mcptoon call <server> <tool> '{"arg":"value"}'` |
    | You don't know which server owns the tool | `mcptoon call --auto <tool> '{...}'` |
    | Huge JSON argument | `mcptoon call <server> <tool> --stdin` |
    | Tool returns images/base64 that must never be compressed | `mcptoon policy set <server> <tool> raw` (one-time; applies to every later call) |
    | Prove the token savings on this machine (tools + skills, one table) | `mcptoon bench` (`--roots DIR` for any catalog; `--json` for scripts) |
    | One screen with every saving added up (tools + skills + cumulative) | `mcptoon report` |
    | Diagnose connectivity/config | `mcptoon doctor` |
    
    ## Managing a skill catalog (mcptoon as the skill center)
    
    Skills and MCP servers are the same shape — one source, many agent views — so
    `mcptoon skills` manages both halves of a session's toolbox.
    
    | Situation | Command |
    |---|---|
    | See what skills exist | `mcptoon skills list` (`--usage` adds per-skill hit counts) |
    | Find the right skill for a task | `mcptoon skills resolve "<task>"` (offline, instant, no LLM) |
    | Distribute one source to every agent's skill folder | `mcptoon skills sync [SRC] [VIEW ...]` (`--dry` to preview, `--copy` for real dirs) |
    | Refuse "edited but forgot to bump the version" | `mcptoon skills sync --version-gate` |
    | Regenerate the flat `.md` views (Roo / OpenCode) | `mcptoon skills sync --derived roo\|opencode\|all` |
    | Create / retire a skill | `mcptoon skills add <name> --desc "…"` / `mcptoon skills remove <name>` |
    | Retire a skill so a git sync cannot revive it | `mcptoon skills remove <name> --tombstone` |
    | Park drift/removals in a chosen graveyard | add `--archive DIR` to `sync` or `remove` |
    
    Sync views are **links** by default (a junction on Windows, no admin needed), so
    one edit at the source is live everywhere and there is no second copy to drift.
    Two safety rules hold: a real directory where a link belongs is **archived, never
    deleted**, and a view that is *itself* a whole-directory link to the source is
    left completely alone. `remove` **moves** the skill to a dated archive — a wrong
    removal is a `mv` back, not a re-clone. `--usage` counts only skills mcptoon
    routed; a skill an agent loaded directly is invisible there, and the output says
    so rather than implying full coverage.
    
    ### When another manager already runs the catalog
    
    mcptoon is designed to take over from an incumbent sync script **without a
    cutover**, by matching it byte for byte first:
    
    - `--version-gate` reads the **same** ledger the incumbent wrote
      (`skill_versions.json`; override with `MCPTOON_SKILLS_LEDGER`), so both reach
      the same verdict on the same bytes. A skill whose content moved while its
      frontmatter `version` did not is blocked with a printed reason; `--force` lets
      it through and rebaselines. An unversioned skill is warned about, not blocked.
    - `--derived` output is byte-identical to the incumbent's, **including line
      endings** (a text-mode write turns the source's LF into CRLF on Windows), so a
      derived view does not become a diff the next sync has to fight.
    - `--tombstone` commits a removal with a **path-scoped** `git add`. It will never
      run a whole-repo `git add -A`: a real skill repo has hundreds of unrelated edits
      in flight, and sweeping them into a "tombstone" commits another session's work.
    
    Point mcptoon at sandbox views first with `MCPTOON_SKILLS_VIEWS` and run `--dry`
    before any real sync. Do not run two managers against one view directory: during
    a hand-over, one is the writer and the other is read-only.
    
    ## Tool exposure: the default, and how to switch back
    
    When mcptoon is mounted as a gateway, it decides how much of the tool catalog it
    hands the host. **The default is `compact` — the cheapest one — and it is
    deliberate.** Know this before you tell a user something is broken:
    
    | Preset | What `tools/list` returns | Cost per turn (12 servers / 96 tools) |
    |---|---|---|
    | **`compact`** (default) | mcptoon's own tools only — **8** | **~2,607 tokens** |
    | `full` (fallback) | + every upstream tool's simplified schema (104 listed) | ~18,686 tokens |
    
    **The upstream tools are not gone under `compact`** — they are withheld from the
    *listing*, not from callability. `mcptoon_manifest` names them, `mcptoon_inspect`
    shows one schema, and `mcptoon_call` runs it. The gateway's initialize
    `instructions` say this too.
    
    ### If the user says their tools disappeared
    
    1. Say plainly what happened: **the default preset withholds the tool list to save
       ~16,000 tokens per turn; the tools still work**, and you can reach any of them
       right now via `mcptoon_manifest` → `mcptoon_inspect` → `mcptoon_call`.
    2. Prove it on the spot — do not argue from documentation. Run
       `mcptoon manifest` and show the user their real tool names.
    3. Offer the second preset, and name the tradeoff honestly: it lists everything
       again (so a host's tool panel is populated, and a model that will not ask for
       the manifest sees the tools), at ~16,000 more tokens per turn.
    
    ```bash
    mcptoon config set exposure full     # second preset; takes effect on next connection
    mcptoon config set exposure compact  # back to the default
    ```
    
    Do **not** edit the agent's MCP config to switch presets — it is one setting, in
    one place, and `mcptoon off` still removes the gateway entirely. If the user's
    host has an empty tool *panel* (a UI that reads `tools/list` to draw a picker),
    that is the one case where `full` is the right answer rather than a preference.
    
    ## Install-time: takeover, and how to undo it
    
    When `mcptoon quickstart` runs it finds the MCP servers already on the machine and
    registers the gateway. By default it then **routes those servers through the
    gateway** — it removes their direct entries from each agent config and reaches them
    via mcptoon instead. This is the step that actually saves tokens: registering the
    gateway *alongside* the direct entries saves ~nothing (the host keeps loading every
    upstream schema). Measured on 12 servers / 96 tools: alongside ≈ 39,500 tokens per
    turn, takeover ≈ 2,607.
    
    **Wha
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/activeing123-mcptoon-claude-code-plugin-skills-mcptoon.md

// REPO STATS

422 stars
1 open issues
Last commit: 4d ago