원클릭으로
mcp-doctor
Use when the user wants to health-check MCP servers, diagnose broken connections, or find duplicate tools and missing credentials
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when the user wants to health-check MCP servers, diagnose broken connections, or find duplicate tools and missing credentials
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when the user wants to measure MCP token waste, rank high-cost servers, or choose between project scoping and skill conversion
Use when the user wants to keep MCP but scope it to the current project with a smaller .mcp.json
Use when the user wants to convert expensive MCP tools into on-demand Claude Code skills
| name | mcp-doctor |
| description | Use when the user wants to health-check MCP servers, diagnose broken connections, or find duplicate tools and missing credentials |
Run a comprehensive health check on configured MCP servers to:
Infer options from the user's request. Mirror the explicit command /mcp-optimizer:mcp-doctor:
--server <name> : check a single server (default: check all)--fix : include actionable fix commands in outputMCP server connections can be slow, so always use the Agent tool to delegate the check and report generation. Only the final report should remain in the main context.
Use the following prompt when invoking the Agent tool:
Perform an MCP server health check.
1. Run the following command to get the health check JSON:
python3 "${CLAUDE_SKILL_DIR}/scripts/mcp_doctor.py" [--server <name>] [--timeout 15]
(Actual path for ${CLAUDE_SKILL_DIR}: <absolute path to this skill directory>)
2. Format the JSON result into the report template below and return it:
MCP Server Health Report
=========================
| Server | Source | Status | Tools | Response Time | Issues |
|--------|--------|--------|-------|---------------|--------|
| {name} | {source} | {status} | {tools_count} | {response_time_ms}ms | {issues} |
Summary: {servers_healthy}/{servers_total} servers healthy
Duplicate Tools:
(list each duplicate with the servers that provide it, or "None found")
Recommendations:
(list each recommendation with type, server/tool, and reason)
(if --fix was requested, include specific fix commands for each issue:
- remove_broken: show how to remove from config
- fix_credentials: show which env vars to set
- resolve_duplicate: suggest which server to keep)
Report rules:
- Status indicators: healthy = GREEN, timeout = YELLOW, unreachable/error = RED
- Show response times in ms
- Group recommendations by type (broken, credentials, duplicates)
- If 0 servers found, output "No MCP servers configured"
- Return only the final report text. Do NOT return the raw JSON.
Output the report returned by the sub-agent directly to the user.
After the report:
--fix was specified, provide the specific fix commands/mcp-optimizer:mcp-audit to measure token waste and find optimization opportunities"