generate_claude_command
Create slash command files for Claude Code to guide users through MCP server development, from generation to implementation.
Instructions
Generate Claude Code command files for guided MCP development
Creates .claude/commands/ directory with slash command files that guide users through MCP server development using this generator.
Args: command_name: Name for the command (e.g., "mcp-generate", "mcp-help") command_type: Type of command to generate: - "mcp_generator": Guide through MCP server generation workflow - "best_practices": Provide MCP best practices reference - "implementation_helper": Help implement generated MCP server - "custom": Use custom_prompt for fully custom command description: Optional description for the command (auto-generated if not provided) custom_prompt: Required if command_type is "custom" output_dir: Directory to create command file (default: .claude/commands)
Returns: JSON string with generation result
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command_name": "<command_name>"
},
"name": "generate_claude_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_name | Yes | ||
| command_type | No | mcp_generator | |
| description | No | ||
| custom_prompt | No | ||
| output_dir | No | .claude/commands |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |