跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

实测评分 未实测

查看安装方法

适用场景

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

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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-workflow29282026年9月29日 更新

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-workflow29282026年9月29日 更新

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-workflow29282026年9月29日 更新

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-workflow29282026年9月29日 更新

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-workflow29282026年9月29日 更新

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-workflow29282026年9月29日 更新

查看 rohitg00 的全部技能

报告此技能的问题