跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

Generate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter.

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

agents

免费

List all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents.

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

auto-loop

免费

TDD-based autonomous development loop with checkpoint recovery and observability changelog

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

changelog

免费

View and manage the runtime changelog for observability

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

Track development session events in a daily markdown changelog, including file changes, test results, and key decisions.

中文简介正在准备中。当前显示原文说明。

claude-world/director-mode-lite802026年10月21日 更新

查看 claude-world 的全部技能

报告此技能的问题