Borrowing it
Nothing to install: this file belongs to chacosoldier/compabob. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chacosoldier/compabob/main/.claude/skills/mcp-debug/SKILL.mdgit clone --depth 1 https://github.com/chacosoldier/compabobWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chacosoldier/compabob/mcp-debug)<a href="https://agentmods.dev/skills/chacosoldier/compabob/mcp-debug"><img src="https://agentmods.dev/badge/skills/chacosoldier/compabob/mcp-debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chacosoldier/compabob/mcp-debug"><img src="https://agentmods.dev/badge/skills/chacosoldier/compabob/mcp-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01274 |
| Opus 5.5 | $0.00026 | $0.00510 |
| Sonnet 5.5 | $0.00013 | $0.00255 |
| Haiku 4.5 | $0.00006 | $0.00127 |
Grade A, and why
mcp-debug scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **http / sse**: `curl -s -o /dev/null -w "%{http_code}"` the URL. How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Debugger
A diagnostic tool for MCP (Model Context Protocol) server health and tool execution. Helps identify why MCP tools fail, which servers are down, and which servers are unused or redundant.
Reads MCP config from the two standard locations:
~/.claude.json: user-scope servers.<project>/.mcp.json: project-scope servers.
Mode detection
Check the arguments:
- No args or
status: health check all configured MCP servers. trace <tool-name>: trace a specific tool's configuration and likely failure modes.audit: full audit with recommendations (unused servers, error patterns, consolidation candidates).
Mode 1: Status (default)
Steps
-
List configured servers via the Claude Code CLI:
claude mcp listIf the CLI is unavailable, parse
~/.claude.json(top-levelmcpServers) and./.mcp.jsondirectly. -
For each server, run the lightweight connectivity check appropriate to its transport:
- stdio: confirm the command exists on
$PATH(which <bin>) and the wrapper script is executable. - http / sse:
curl -s -o /dev/null -w "%{http_code}"the URL. - Authenticated remote: a
401or403means reachable, not down. Flag asauthrather thanerror.
- stdio: confirm the command exists on
-
Present a status table:
Server Transport Status Note foo stdio ok bar http auth 401: token may need refresh baz stdio error binary not on PATH -
For
warning/errorrows, propose the next debugging step (install the binary, refresh the token, check the env var).
Output
## MCP Server Status
[table]
### Issues found
- <server>: <description + suggested fix>
### Summary
[X] ok | [Y] warnings | [Z] errors out of [N] servers
Mode 2: Trace
Steps
-
Parse the tool name from args (e.g.
/mcp-debug trace some-tool). -
Find which server provides this tool. The MCP tool naming convention is
mcp__<server-slug>__<tool-name>; the server slug maps back to a key in~/.claude.jsonor.mcp.json.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +18 tokens per session bc30437c7349
- 1mo ago First seen · 150 lines · 47 tokens per session scan A 6e130f93118c
mcp-debug is a skill published in the GitHub repository chacosoldier/compabob (34 stars, last pushed 5d ago), licensed MIT. It adds 65 tokens to every session and 1,274 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ha-logs
A read-only troubleshooting skill for querying Hope Agent’s local SQLite databases, which store logs, conversations, and background-job status.
ha-self-diagnosis
Self-understanding and issue reporting for Hope Agent itself. Use when the user asks how Hope Agent works internally, asks about its own source code/docs/runtime behavior, reports a bug/failure/slowness/crash, asks to diagnose logs, or asks to create/submit a GitHub issue for a bug, feature request, or improvement…
sentry-app-setup
Create and configure a Sentry internal integration so the assistant can manage issues, alerts, and releases under its own identity.
ha-debug
Hope-native debugging for code failures, regressions, crashes, flaky behavior, and bad output: reproduce or characterize, rank falsifiable hypotheses, fix the smallest root cause, and prove the failing path.
dex-doctor
Whole-system checkup: verifies every Dex feature honestly (working/off/broken/couldn't-check), self-heals what's provably safe, guides the rest. Use when the user says 'is Dex healthy', 'something's broken', 'check my setup', 'run diagnostics'. Not for discovering unused features; use dex-level-up. Not for applying an…
incident-review
Use when a service or operational incident needs a cited, timezone-aware timeline, blameless learning review, or prevention actions with accountable follow-up.