shell_execute
Execute whitelisted shell commands remotely with support for stdin input and specified working directory using the MCP protocol for secure and controlled operations.
Instructions
Execute a shell command Allowed commands:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command and its arguments as array | |
directory | Yes | Absolute path to a working directory where the command will be executed | |
stdin | No | Input to be passed to the command via stdin | |
timeout | No | Maximum execution time in seconds |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Command and its arguments as array",
"items": {
"type": "string"
},
"type": "array"
},
"directory": {
"description": "Absolute path to a 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"
}