CLI Exec
JSON →Execute shell commands with structured output via a powerful CLI server.
Install
npx in Tools · 2
- cli-exec-raw Execute a raw CLI command and return structured output. Takes a command string and optional timeout (default: 5 minutes). Returns detailed execution results including stdout, stderr, exit code. Handles errors gracefully with structured error responses.
- cli-exec Execute one or more CLI commands in a specific working directory. Supports single commands, && chained commands, or array of commands. All commands execute in the specified working directory. Returns detailed results for each command including success/failure status, exit code, stdout and stderr (ANSI codes stripped), execution duration, and working directory. Stops on first command failure. Optional timeout per command (default: 5 minutes).
Links
★ 11 GitHub stars