shell_execute
Run whitelisted shell commands on the server host with stdin, timeout, and working directory options. Use to inspect files, list directories, or count lines without exposing full shell access.
Instructions
Execute an allowed command as an argv array on the MCP server host. Allowed commands run with the server process's OS authority; the allowlist controls executable names, not what an allowed program does. Allowed commands: cat, pwd, wc, ls, grep Allowed patterns: Default timeout: 30s; maximum timeout: 300s; output cap: 1048576 bytes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | Input to be passed to the command via stdin | |
| command | Yes | Command and its arguments as array | |
| timeout | No | Maximum execution time in seconds; clamped to server maximum | |
| directory | No | Optional working directory. Omit to use the MCP server process current working directory; relative paths are resolved from that same server process CWD. |