Files
leo-claude-mktplace/plugins/debug-mcp
lmiranda 5bbcee06ac fix(commands): wire dispatch files to real sub-command names via Skill tool
All dispatch files referenced display names (e.g., `/doc audit`) that don't
correspond to real slash commands. Claude Code resolves commands by filename,
so `/doc audit` loads `doc.md` with $ARGUMENTS but never routes to `doc-audit.md`.

Changes:
- Updated 24 dispatch files with explicit Skill tool routing
- Added "Command to Invoke" column with plugin-prefixed names
- Added $ARGUMENTS matching for automatic routing
- RFC dispatch file uses inline handling (no separate command files)
- Updated COMMANDS-CHEATSHEET.md with invocation methods
- Updated MIGRATION-v9.md with command name mapping explanation

Affects: 25 dispatch files across 12 plugins (core, data, saas, ops, debug)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 21:04:24 -05:00
..

debug-mcp

MCP server debugging, inspection, and development toolkit.

Overview

This plugin provides tools for diagnosing MCP server issues, testing tool invocations, analyzing server logs, inspecting configurations and dependencies, and scaffolding new MCP servers. It is essential for maintaining and developing MCP integrations in the Leo Claude Marketplace.

Commands

Command Description
/debug-mcp status Show all MCP servers with health status
/debug-mcp test Test a specific MCP tool call
/debug-mcp logs View recent MCP server logs and errors
/debug-mcp inspect Inspect MCP server config and dependencies
/debug-mcp scaffold Generate MCP server skeleton project

Agent

Agent Model Mode Purpose
mcp-debugger sonnet default All debug-mcp operations: inspection, testing, log analysis, scaffolding

Skills

Skill Description
mcp-protocol MCP stdio protocol specification, JSON-RPC messages, tool/resource/prompt definitions
server-patterns Python MCP server directory structure, FastMCP pattern, config loader, entry points
venv-diagnostics Virtual environment health checks: existence, Python binary, packages, imports
log-analysis Common MCP error patterns with root causes and fixes
visual-header Standard command output header

Architecture

plugins/debug-mcp/
├── .claude-plugin/
│   └── plugin.json
├── commands/
│   ├── debug-mcp.md            # Dispatch file
│   ├── debug-mcp-status.md
│   ├── debug-mcp-test.md
│   ├── debug-mcp-logs.md
│   ├── debug-mcp-inspect.md
│   └── debug-mcp-scaffold.md
├── agents/
│   └── mcp-debugger.md
├── skills/
│   ├── mcp-protocol.md
│   ├── server-patterns.md
│   ├── venv-diagnostics.md
│   ├── log-analysis.md
│   └── visual-header.md
├── claude-md-integration.md
└── README.md

License

MIT License - Part of the Leo Claude Marketplace.