Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.5 KiB
2.5 KiB
name, description
| name | description |
|---|---|
| debug-mcp status | Show all configured MCP servers with health status, venv state, and tool counts |
/debug-mcp status
Display the health status of all MCP servers configured in the project.
Skills to Load
skills/visual-header.mdskills/venv-diagnostics.mdskills/log-analysis.md
Agent
Delegate to agents/mcp-debugger.md.
Usage
/debug-mcp status [--server=<name>] [--verbose]
Options:
--server- Check a specific server only--verbose- Show detailed output including tool lists
Instructions
Execute skills/visual-header.md with context "Server Status".
Phase 1: Locate Configuration
- Read
.mcp.jsonfrom the project root - Parse the
mcpServersobject to extract all server definitions - For each server, extract:
- Server name (key in mcpServers)
- Command path (usually Python interpreter in .venv)
- Arguments (module path)
- Working directory (
cwd) - Environment variables or env file references
Phase 2: Check Each Server
For each configured MCP server:
-
Executable check - Does the command path exist?
test -f <command_path> && echo "OK" || echo "MISSING" -
Virtual environment check - Apply
skills/venv-diagnostics.md:- Does
.venv/directory exist in the server's cwd? - Is the Python binary intact (not broken symlink)?
- Are requirements satisfied?
- Does
-
Config file check - Does the referenced env file exist?
test -f <env_file_path> && echo "OK" || echo "MISSING" -
Module check - Can the server module be imported?
cd <cwd> && .venv/bin/python -c "import <module_name>" 2>&1
Phase 3: Report
## MCP Server Status
| Server | Executable | Venv | Config | Import | Status |
|--------|-----------|------|--------|--------|--------|
| gitea | OK | OK | OK | OK | HEALTHY |
| netbox | OK | MISSING | OK | FAIL | ERROR |
| data-platform | OK | OK | OK | OK | HEALTHY |
### Errors
#### netbox
- Venv missing: /path/to/mcp-servers/netbox/.venv does not exist
- Import failed: ModuleNotFoundError: No module named 'pynetbox'
- Fix: cd /path/to/mcp-servers/netbox && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
### Summary
- Healthy: 4/5
- Errors: 1/5
Phase 4: Verbose Mode
If --verbose, additionally show for each healthy server:
- Tool count (parse server source for
@mcp.tooldecorators or tool registration) - Resource count
- Last modification time of server.py
User Request
$ARGUMENTS