Triage broken MCP setups across 8 agent clients — find what is wrong, fix what is fixable, escalate the rest. Zero runtime dependencies.
Two tools with clear, action-oriented names (triage_scan, triage_fix) and detailed descriptions (150+ chars each). Input schemas are present with typed properties and descriptions. However, output schemas are not documented in the visible code, LLMs cannot predict what fields to expect from results. Error handling is mentioned in descriptions but not formalized. Tool composition is sound: scan is read-only, fix is write with dry-run safety. Naming follows verb_noun pattern well.
Repair MCP config files that fail to parse — mechanical repairs only (strip JSON comments and trailing commas). Dry-run by default: unless dry_run is explicitly false, nothing is written. A .mcp-triage.bak backup is kept before any write, and nothing is written unless the repaired copy parses cleanly.
Scan the MCP configuration files of the agent clients on this machine (Claude Desktop, Claude Code, Codex, Cursor, VS Code, Windsurf, OpenClaw, dsh) and report findings: broken JSON/TOML, commands not on PATH, missing env vars, relative-path arguments, plain-http remotes, transport mismatches, and cross-client drift for same-named servers. Read-only.
Output schemas not documented. LLMs cannot predict what fields triage_scan and triage_fix return, forcing them to guess at response structure and downstream field names.
Error handling not formalized. Descriptions mention 'broken JSON/TOML' and 'commands not on PATH' but do not specify error response format, recovery guidance, or categorization (retryable vs user-fixable).
Parameter 'cwd' lacks validation constraints. Description says 'default: the server process working directory' but does not specify format, allowed paths, or path traversal guards.
triage_fix dry_run parameter defaults to true, which is safe, but the description could be clearer about the backup mechanism (.mcp-triage.bak) and when it is created.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | <=2025-11-25 | v2 |