
CLI Exec
Executes shell commands with structured output including exit codes, stdout/stderr, and error handling. Provides both raw command execution and multi-command workflows in specific directories.
9500 views3Local (stdio)
What it does
- Execute shell commands with timeout handling
- Run multiple commands in sequence within a working directory
- Strip ANSI codes from command output
- Return structured results with exit codes and execution duration
- Handle command errors gracefully
- Stop execution on first command failure
Best for
System administrators automating server tasksDevOps engineers building deployment workflowsDevelopers running build scripts and testsInfrastructure automation and monitoring
Cross-platform command executionStructured output with detailed metadataConfigurable timeouts up to 5 minutes
Tools (2)
cli-exec-raw
Execute a raw CLI command and return structured output
cli-exec
Execute one or more CLI commands in a specific working directory