mcp-shell-server

by tumf

shell_execute

Executes whitelisted shell commands like grep, find, and ls remotely, with support for stdin input, a specified working directory, and timeout controls via the MCP shell server.

Instructions

Execute a shell command Allowed commands: grep, find, echo, cat, ls

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 from mcp-shell-server

Related Tools

ID: rt2d4pbn22