mcp-shell-server

by tumf

shell_execute

Execute a shell command Allowed commands: touch, sudo apt-get update, ls, tar -xzf archive.tar.gz, rm -rf /tmp/someDir, mkdir

Input Schema

NameRequiredDescriptionDefault
commandYesCommand and its arguments as array
directoryYesWorking directory where the command will be executed
stdinNoInput to be passed to the command via stdin
timeoutNoMaximum execution time in seconds

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command and its arguments as array", "items": { "type": "string" }, "type": "array" }, "directory": { "description": "Working directory where the command will be executed", "type": "string" }, "stdin": { "description": "Input to be passed to the command via stdin", "type": "string" }, "timeout": { "description": "Maximum execution time in seconds", "minimum": 0, "type": "integer" } }, "required": [ "command", "directory" ], "type": "object" }

You must be authenticated.

Other Tools