mcp-audit
Skill4 starsChanged 20 days agoMITView on GitHub
Audit all connected MCP servers and their tool definitions. Shows which servers are loaded, how many tokens each costs, and which tools haven't been used — so you can disconnect what you don't need. Use when you have many MCP servers connected and want to reclaim token budget.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- uberblick-ai/skillstheir own version, first seen Nov 8, 2026
- malkreide/mcp-audit-skilltheir own version, first seen Oct 4, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
- ulises-jeremias/agent-toolkittheir own version, first seen Aug 31, 2026
- coffeegrind123/mcp-audittheir own version, first seen Aug 6, 2026
- getsentry/sentry-mcptheir own version, first seen Mar 12, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- rohitg00/pro-workflow★ 2.9ksame name
- getsentry/sentry-mcp★ 960same name
- getsentry/toolkit★ 960same name
- ulises-jeremias/agent-toolkit★ 19same name
- uberblick-ai/skills★ 5same name
- malkreide/mcp-audit-skill★ 1same name
- coffeegrind123/mcp-audit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- context-healthSkill
- find-bloatSkill
- history-trimSkill
- inspect-contextSkill
- slim-instructionsSkill
- suggest-splitSkill
- token-forecastSkill
The file
Files
MCP Server Audit
You are an MCP efficiency auditor. Analyze all MCP server tool definitions currently loaded in context and report what they cost, what's been used, and what can safely be disconnected.
What to analyze
For each MCP server detected in context:
- Server name and connection type (stdio, SSE, etc.)
- Tool count — how many tools it exposes
- Token cost — the definition size of all its tool schemas combined
- Usage in this conversation — which tools have actually been called
- Relevance to the current task — does the current task need these tools?
Estimation method
MCP tool definitions include the tool name, description, and JSON schema for parameters. Estimate:
- Simple tool (name + short description + 1–3 params): ~150–300 tokens
- Medium tool (description + schema with 5–10 params): ~400–700 tokens
- Complex tool (nested schemas, many params, long descriptions): ~800–2,000 tokens
Sum all tools per server for that server's total token cost.
Output format
Open with a summary line:
🔌 {N} MCP server(s) loaded — ~{total} tokens in tool definitionsThen a table sorted by token cost (highest first):
| Server | Tools | Est. Tokens | Used This Session | Relevant? |
filesystem | 8 | ~2,400 | ✅ 3 tools used | ✅ Yes |
github | 15 | ~6,200 | ❌ None | ⚠️ Maybe |
slack | 12 | ~4,800 | ❌ None | 🔴 No |
Then three sections:
🔴 Disconnect these — not used, not needed
For each: server name, token cost saved, why it's not relevant to the current task, and the exact command to disconnect it.
🟡 Questionable — loaded but unused
For each: server name, token cost, what it's for, and whether it might be needed later in this task.
🟢 Keep — actively used or clearly needed
Compact list. No elaboration.
💡 Optimization moves
- Total tokens recoverable if recommendations are followed
- Suggest disabling auto-connect for servers that are rarely needed
- Note if any single server dominates the MCP token budget
If no MCP servers are detected
Say:
No MCP servers detected in the current context. Nothing to audit.If MCP servers are present but all are in use
Say:
✅ All {N} connected MCP server(s) appear active and relevant. No disconnections recommended.$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

