From mcp-manager
Show estimated token usage per MCP server based on tool count. Use this to check MCP token consumption, see how much context each MCP server uses, analyze context window pressure, debug token budget issues, or optimize MCP server context usage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-manager:contextThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Show estimated token consumption per enabled global MCP server.
Show estimated token consumption per enabled global MCP server.
The /api/context-usage endpoint probes each enabled global server's tools and estimates token usage as: tool count × 600 tokens per tool. This is a rough estimate of how much context window each server's tool definitions consume. The warning threshold is 25,000 tokens.
Check if the MCP Manager server is running:
curl -s --max-time 2 http://localhost:4111/api/health
If the server is NOT running, start it:
cd "$CLAUDE_PLUGIN_ROOT" && nohup node server/index.js > ~/.mcp-manager.log 2>&1 &
sleep 2
Fetch the context usage data:
curl -s http://localhost:4111/api/context-usage
The response contains:
servers: array of { name, toolCount, estimatedTokens, error } for each enabled global servertotalTokens: sum of all estimated tokensthreshold: 25000 (the warning threshold)warning: boolean, true if totalTokens exceeds the thresholdDisplay the results in a readable format:
warning is true, highlight that total token usage exceeds the 25,000 token thresholdIf a server is using too much context, suggest the user can disable it with /mcp-manager:toggle or remove it with /mcp-manager:delete.
npx claudepluginhub sanjibdevnathlabs/claude-plugins --plugin mcp-managerAudits connected MCP servers for token overhead, redundancy, and security. Use when sessions feel slow or before adding new MCPs.
Manages MCP servers by discovering, analyzing, and executing tools/prompts/resources via CLI scripts. Use for integrations, capability discovery, tool filtering, and context bloat resolution.
Handles Claude Code MCP integration: installs/manages servers (HTTP/SSE/stdio), scopes, enterprise configs, OAuth auth, resources/@mentions, prompts, limits, security; delegates to docs-management.