cc-configuring-mcp
Use when optimizing MCP token usage, understanding Tool Search thresholds, or deciding MCP vs skills for token efficiency. For plugin MCP bundling, use plugin-dev:mcp-integration.
npx skills add majiayu000/claude-skill-registry --skill cc-configuring-mcp --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Configuring MCP ## Scope This skill covers **MCP token optimization and Tool Search**. For different purposes, use: - **Bundling MCP in plugins:** `plugin-dev:mcp-integration` - **This skill:** Token efficiency, Tool Search thresholds, skill wrappers for infrequent MCP ## Overview MCP (Model Context Protocol) connects Claude Code to external tools. **Core trade-off:** MCP tools load at session start (consuming tokens) while skills load on-demand. ## Tool Search: Progressive Disclosure for MCP ### How It Works When MCP tool definitions exceed a threshold, Claude Code defers them and uses MCPSearch to discover tools on-demand. ``` Without Tool Search: 77K tokens consumed before any work With Tool Search: 8.7K tokens (85% reduction) ``` ### Configuration | Value | Behavior | | -------- | --------------------------------------- | | `auto` | Activates at 10% of context (default) | | `auto:N` | Activates at N% (e.g., `auto:5` for 5%) | | `true` | Always use Tool Search | | `false` | Never use Tool Search | **Set via environment:** ```bash export ENABLE_TOOL_SEARCH=true ``` **Or in settings.json:** ```json { "env": { "ENABLE_TOOL_SEARCH": "true" } } ``` ### When to Use Each Setting | Sc
- Scope
- Overview
- Tool Search: Progressive Disclosure for MCP
- How It Works
- Configuration
- When to Use Each Setting
- Per-Tool Control: Not Available
- MCP vs Skills: Token Comparison
- Configuration Files
- .mcp.json (Tool Definitions)
- settings.json (Enabling Servers)
- Token-Efficient MCP Design
- Action Dispatch Pattern
- Skill Wrappers for Infrequent MCP
export ENABLE_TOOL_SEARCH=true
What does the cc-configuring-mcp skill do?
Use when optimizing MCP token usage, understanding Tool Search thresholds, or deciding MCP vs skills for token efficiency. For plugin MCP bundling, use plugin-dev:mcp-integration.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill cc-configuring-mcp --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
