agentleFS
claude-worldclaude-world/director-mode-lite/skills/mcp-check/SKILL.md

mcp-check

Skill80 starsChanged 9 months agoMITView on GitHub

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

The file

Files
SKILL.md

MCP Configuration Validator

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


Validation Steps

1. Check Configuration Files

FileScopeWhat lives here
.mcp.json (project root)ProjectmcpServers — the server definitions, written by claude mcp add --scope project
.claude/settings.jsonProjectToggles only: enableAllProjectMcpServers, enabledMcpjsonServers
~/.claude.jsonUserUser-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

MCPRequired?
memoryRecommended
filesystemOptional
githubIf .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

IssueFix
Invalid JSONCheck trailing commas
MCP not loadingclaude mcp reset-project-choices
Missing env varsAdd with -e KEY=value

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.