Skip to content

/mcp-check

Validate MCP configuration and suggest improvements. Use when MCP servers fail to load, after editing .mcp.json, or when the user runs /mcp-check.

shell
$ npx -y skills add claude-world/director-mode-lite --skill mcp-check --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/mcp-check
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Validate MCP configuration and suggest improvements. Use when MCP servers fail to load, after editing .mcp.json, or when the user runs /mcp-check.

SKILL.md

mcp-check.SKILL.md
name: mcp-check
description: Validate MCP configuration and suggest improvements. Use when MCP servers fail to load, after editing .mcp.json, or when the user runs /mcp-check.
user-invocable: true

MCP Configuration Validator

Validate the project's MCP setup for correctness and completeness.

---

Validation Steps

1. Check Configuration Files

| File | Scope | What lives here | |------|-------|-----------------| | `.mcp.json` (project root) | Project | `mcpServers` — the server definitions, written by `claude mcp add --scope project` | | `.claude/settings.json` | Project | Toggles only: `enableAllProjectMcpServers`, `enabledMcpjsonServers` | | `~/.claude.json` | User | User-scope `mcpServers`, available across all projects |

**The source of truth for project servers is `.mcp.json` at the project root.** Read `mcpServers` from there — `.claude/settings.json` never holds server definitions, only approval toggles.

2. Validate Structure

  • [ ] `.mcp.json` is valid JSON (no trailing commas)
  • [ ] `mcpServers` object exists in `.mcp.json`
  • [ ] Project servers are approved via `.claude/settings.json`: either `enableAllProjectMcpServers: true`, or each server named in `enabledMcpjsonServers`

3. Validate Each MCP

  • [ ] `command` is valid
  • [ ] `args` properly formatted
  • [ ] `env` variables set

4. Check Essential MCPs

| MCP | Required? | |-----|-----------| | memory | Recommended | | filesystem | Optional | | github | If .git exists |

5. Security Check

  • [ ] No hardcoded secrets
  • [ ] Sensitive values use env vars

---

Output Format

## MCP Configuration Report

### Status: VALID / ISSUES / INVALID

### Configuration Summary
| MCP Server | Status | Notes |
|------------|--------|-------|
| memory | OK/FAIL | details |

### Issues Found
1. [Issue and fix]

### Missing Recommended MCPs
- memory: `claude mcp add --scope project memory...`

---

Common Issues

| Issue | Fix | |-------|-----| | Invalid JSON | Check trailing commas | | MCP not loading | `claude mcp reset-project-choices` | | Missing env vars | Add with `-e KEY=value` |

Read more
Read it on GitHub ↗
Ships withdirector-mode-lite

Use Claude Code like a Director, not a Programmer. MIT toolkit with Auto-Loop, guided setup, 27 commands, 14 agents, and 32 skills.

Get the whole plugin, auto-invoked
Stats
81
Stars
0
Views
11
Forks
Active
Maintenance
Shell
Language
MIT
License
7d ago
Last commit
6mo ago
Created

Repo: claude-world/director-mode-lite