shell_execute
Execute whitelisted shell commands like ls, grep, and cat with optional stdin input and configurable timeout and working directory.
Instructions
Execute a shell command Allowed commands: ls, pwd, grep, wc, cat 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. |