askill
mcp-doctor

mcp-doctorSafety 88Repository

Warn-only health check for canonical MCP configuration and related DX tooling. Strict mode is opt-in via MCP_DOCTOR_STRICT=1.

0 stars
1.2k downloads
Updated 3/29/2026

Package Files

Loading files...
SKILL.md

mcp-doctor

Runs a fast, safe verification of canonical MCP + DX expectations.

Usage

~/agent-skills/health/mcp-doctor/check.sh
MCP_DOCTOR_STRICT=1 ~/agent-skills/health/mcp-doctor/check.sh

Design

  • Warn-only by default (never blocks automation unless strict mode is enabled).
  • Never prints secrets.
  • Checks canonical IDE config locations (see docs/CANONICAL_TARGETS.md).
  • Operates as the living operational MCP skill backed by the researched client contract.
  • Authoritative reference: docs/runbook/fleet-sync/client-mcp-contract.md
  • Merge gate matrix: docs/runbook/fleet-sync/merge-acceptance-matrix.md

Client Contracts

The doctor distinguishes between host runtime health, config/render health, and client-visible MCP activation.

Current verified per-client sources of truth:

  • Claude Code: ~/.claude.json (uses mcpServers object)
  • Gemini CLI: ~/.gemini/settings.json (uses mcpServers object)
  • Codex CLI: ~/.codex/config.toml (uses [mcp_servers] table, required on macmini, optional on Linux hosts)
  • OpenCode: ~/.config/opencode/opencode.jsonc (uses mcp object)
  • Antigravity: ~/.gemini/antigravity/mcp_config.json (uses mcpServers object)

context-plus launcher contract:

  • OpenCode/Claude/Codex: direct launcher is valid (node ~/.local/share/contextplus-patched/build/index.js)
  • Gemini CLI/Antigravity: required launcher is wrapped (bash -lc 'exec node ~/.local/share/contextplus-patched/build/index.js 2>/dev/null')
  • Doctor warns on stale npx -y contextplus, plain node launcher in Google surfaces, and drift between Gemini/Antigravity context-plus entries.

Status Semantics

  • VERIFIED: Proven via client CLI output.
  • INFERRED: Verified by config presence but lacks a native client list command (e.g. antigravity).
  • BLOCKED: Client currently ignores known config paths or formats.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

68/100Analyzed 3/30/2026

Solid technical reference for MCP health verification with comprehensive client contract coverage. Well-structured with clear metadata, but actionability is limited because the actual check.sh validation logic isn't documented—what exactly it validates beyond config location presence. The design philosophy is well-articulated and safety practices are strong (warn-only, no secrets). Reusability is high due to cross-client details. Moderate internal-only nature due to repo-specific paths, but content is broadly applicable to MCP setups.

88
62
72
65
52

Metadata

Licenseunknown
Version-
Updated3/29/2026
Publisherstars-end

Tags

ci-cdllm