Skip to content
cccskills
FreePublished on GitHub

mcp-audit

Review connected MCP servers, which give agents access to external tools, for unused or overlapping capabilities. Get recommendations to keep, disable, or review each server, with estimates of the request size each recommendation could save.

OriginalShow the original description

Audit connected MCP servers for token overhead, redundancy, and security. Use when sessions feel slow or before adding new MCPs.

Run score Not tested

See how to install

Good for

  • Investigate slow or costly sessions
  • Review configuration before adding an MCP server
  • Find unused or overlapping tools
  • Estimate savings from configuration cleanup

Files included (1)

  • SKILL.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

MCP Audit

Analyze MCP server overhead and recommend cleanup.

Trigger

Use when:

  • Sessions feel slow or expensive
  • Adding a new MCP server
  • Context fills up quickly
  • Reviewing project configuration

Key Insight

Each MCP server adds ALL its tool descriptions to every API request. A server with 20 tools adds ~2K-4K tokens per request, regardless of whether you use those tools.

Audit Steps

Step 1: List Active Servers

Check all MCP configurations:

cat .claude/settings.json 2>/dev/null | grep -A 50 "mcpServers"
cat ~/.claude/settings.json 2>/dev/null | grep -A 50 "mcpServers"

Step 2: Count Tools Per Server

For each server, estimate token overhead:

  • 1-5 tools: ~200-500 tokens (low overhead)
  • 6-15 tools: ~500-1500 tokens (moderate)
  • 16-30 tools: ~1500-3000 tokens (high)
  • 30+ tools: ~3000+ tokens (excessive — consider tool filtering)

Step 3: Check Usage

Questions to ask:

  • Which servers were actually used this session?
  • Which servers haven't been used in 7+ days?
  • Are there servers with overlapping functionality?
  • Are there servers only needed for specific tasks?

Step 4: Recommend Actions

Disable servers that:

  • Haven't been used in 7+ days
  • Overlap with another active server
  • Are project-specific but you're in a different project

Keep servers that:

  • Are used every session (filesystem, git)
  • Provide unique capabilities needed for current work
  • Have low tool count (<5 tools)

Output

MCP AUDIT
  Active servers: [N]
  Total tools: [N]
  Estimated overhead: ~[N]K tokens per request

  Server Analysis:
    [name] — [N] tools, ~[N] tokens
      Status: KEEP / DISABLE / REVIEW
      Reason: [why]

  Recommendations:
    Disable: [list]
    Keep: [list]
    Review: [list]

  Projected savings: ~[N]K tokens per request (~$X.XX per session)

Thresholds

  • Total servers: <10 (ideal), 10-15 (monitor), >15 (reduce)
  • Total tools: <80 (ideal), 80-120 (monitor), >120 (reduce)
  • Per-server: <15 tools (ok), 15-30 (filter), >30 (split or disable)

Rules

  • Never disable servers without user confirmation
  • Estimate token savings for each recommendation
  • Consider task context — a server might be unused today but critical tomorrow
  • Check for disabledMcpjsonServers to avoid re-recommending already-disabled servers

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

agent-teams

FreeSummary

Coordinate multiple Claude Code sessions on a shared codebase. Organize tasks, dependencies, teammate messages, and file ownership, with guidance on team size, plan approval, and choosing between teams, subagents, and worktrees.

  • Develop API, UI, and tests in parallel
  • Assign implementation and review to separate sessions
  • Organize file ownership and task dependencies
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

auto-setup

FreeSummary

Set up project checks when starting work on an unfamiliar codebase. Detect the project type, verify available tools, and generate Claude Code settings for linting, type checks, tests, formatting checks, and hooks.

  • Set up checks for a new development project
  • Inspect tools in an unfamiliar codebase
  • Prepare quality checks for CI integration
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Coordinate repetitive changes across many files by splitting them into independent tasks. Agents work in separate Git working directories, run relevant tests, and open pull requests, with a shared summary of successes and failures.

  • Migrate a library across many files
  • Convert class components to function components
  • Add tracing to API handlers
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

bug-capture

FreeSummary

Turn conversational bug reports into GitHub issues with clear reproduction steps, expected behavior, and project terminology. The skill checks for duplicates and separates independent problems, keeping reports focused on behavior so they remain useful after code changes.

  • Record a bug described in conversation
  • File defects found during QA
  • Check for existing reports before filing
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

compact-guard

FreeSummary

Prepare for conversation compaction, which shortens an agent's working context, by saving active files, progress, decisions, blockers, and next steps. Afterward, use those notes and priority files to recover the working state and resume the task.

  • Saving task state before running /compact
  • Preparing handoff notes when an auto-compact warning appears
  • Recovering active work after compaction
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Manage the information an AI coding session carries by saving notes, selecting relevant material, summarizing results, and separating tasks. The skill guides context budgets and session handoffs so important decisions remain available during long projects.

  • Preserve task progress before summarizing a session
  • Narrow searches in large codebases
  • Organize lengthy logs and tool results
rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

See all skills by rohitg00

Report a problem with this skill