A powerful CLI command execution MCP server that enables running shell commands with structured output
Two tools with clear names and reasonable schemas. Naming follows verb_noun pattern (cli-exec, cli-exec-raw). Both have descriptions and input schemas with types. However, descriptions are generic and lack operational context. Parameter descriptions are present but minimal. No output schema documentation. No error recovery guidance. Moderate token efficiency issue: raw JSON output without field-level documentation forces LLM to parse unstructured responses.
Execute one or more CLI commands in a specific working directory
Execute a raw CLI command and return structured output
No output schema documentation. Tools return JSON-stringified CommandResult and ExecResult objects with unstructured text format. LLMs cannot predict response shape and must parse free-form JSON, inviting extraction errors.
Descriptions lack operational context and prerequisites. 'Execute a raw CLI command and return structured output' does not explain when to use cli-exec-raw vs cli-exec, what 'structured output' means, or that commands are destructive. LLMs cannot optimize tool selection.
No error recovery guidance. Errors are caught and returned with isError=true and a generic error.message, but no guidance on retry eligibility, root cause, or remediation. LLM cannot decide whether to retry, adjust parameters, or abort.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 45 | - | v1 |
Destructive operations (both tools marked DESTRUCTIVE) lack confirmation step or dry-run support. No dry-run parameter, no confirmation_required response. Agents can invoke irreversible commands without safeguard.
Parameter 'timeout' description is vague: 'Optional timeout in milliseconds (default: 5 minutes)'. Does timeout apply per-command or total? What happens on timeout, error, partial result, silent kill? LLM cannot reason about timeout behavior.
cli-exec 'commands' parameter uses oneOf with string OR array, but description of array variant does not clarify sequential vs parallel execution semantics or failure behavior. LLM cannot predict if one failed command halts the sequence.
No pagination or result limits documented. If a command produces thousands of lines of output, entire stdout/stderr is returned unfiltered, bloating response and exhausting context window.