Enhanced MCP server for Claude Code with task orchestration and converter - Fork of @steipete/claude-code-mcp
Single tool 'claude_code' with significant quality gaps. The tool is explicitly registered in src/server.ts with a description and schema, but the schema is incomplete, descriptions lack LLM-optimization guidance, and critical parameter documentation is missing. The tool name does not follow verb_noun convention (should be 'execute_claude_prompt' or 'run_claude_code'). Output schema is not documented. Error handling is present but not recovery-guided. The tool performs a destructive operation (task execution) but lacks confirmation/dry-run patterns. Parameter descriptions exist but are generic; 'mode' parameter has no guidance on valid values or format.
Execute a prompt using the Claude CLI in one-shot mode with task orchestration support
Tool name does not follow verb_noun convention. 'claude_code' is a noun; should start with action verb like 'execute_', 'run_', or 'call_'. LLMs infer intent from the name, a non-verb name reduces clarity.
Output schema is not documented. The tool returns structured output but there is no schema definition visible in the code showing what fields are returned (e.g., success/failure, output, execution_time, etc.). LLMs cannot plan downstream actions without knowing return structure.
Parameter 'mode' has no description of valid values. The schema accepts a string 'mode' that 'matches slug in .roomodes' but provides no enum, pattern, or examples. LLMs cannot know what values are valid and will hallucinate.
Destructive operation (task execution) lacks confirmation/dry-run pattern. The 'returnMode' parameter offers 'summary' or 'full' but there is no safe preview or confirmation mechanism. Agents can execute arbitrary prompts without a dry-run step.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Tool description is generic and lacks recovery guidance. 'Execute a prompt using the Claude CLI in one-shot mode with task orchestration support' does not explain when to use this tool, what it returns, what can fail, or how to recover from errors.
Parameter descriptions lack actionable constraints. 'workFolder' is described as 'Optional working folder path for command execution' but does not specify: is it relative or absolute? Are symlinks allowed? Does it default to cwd? Format validation is absent.
Error responses are not recovery-guided. The code catches errors and reports them but does not categorize as retryable vs. fatal, nor does it provide next-step guidance (e.g., 'Claude CLI not found, ensure it is installed at ~/.claude/local/claude').
No pagination or result limits documented. If the Claude prompt output is very long, there is no indication of maximum size, truncation behavior, or how the agent should handle massive responses.