cli-exec
Execute one or more CLI commands in a specific working directory
Run shell commands from the assistant — a single raw command or a sequence in a chosen working directory.
LABSCO SUMMARY
cli-exec-raw runs one command; cli-exec runs a sequence in a working directory you name, each with a timeout. Both execute against the host shell, so the reach is whatever that shell can do.
A command-execution server: its 2 tools run a raw CLI command or a series of commands in a specified working directory, returning structured output.
Shell access on the machine where the server runs.
One command — npx -y mcp-cli-exec
USE CASES
Execute a single command and get its output back in a structured form.
Run several commands in a chosen working directory in one call.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
cli-execExecute one or more CLI commands in a specific working directory
cli-exec-rawExecute a raw CLI command and return structured output
BEFORE YOU INSTALL
2 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-cli-exec": {
"command": "npx",
"args": [
"-y",
"mcp-cli-exec"
]
}
}
}npx -y mcp-cli-exec