mcp-cli-exec MCP Server

cli-exec

Execute one or more CLI commands in a specific working directory

Input Schema

NameRequiredDescriptionDefault
commandsYesCommands to execute
timeoutNoOptional timeout in milliseconds per command (default: 5 minutes)
workingDirectoryYesWorking directory to execute commands in

Input Schema (JSON Schema)

{ "properties": { "commands": { "description": "Commands to execute", "oneOf": [ { "description": "Single command or && separated commands", "type": "string" }, { "description": "Array of commands to execute sequentially", "items": { "type": "string" }, "type": "array" } ] }, "timeout": { "description": "Optional timeout in milliseconds per command (default: 5 minutes)", "minimum": 0, "type": "number" }, "workingDirectory": { "description": "Working directory to execute commands in", "type": "string" } }, "required": [ "workingDirectory", "commands" ], "type": "object" }

You must be authenticated.

Other Tools