execute-command
Run shell commands directly from LLMs with explicit user permission via PermShell MCP. Specify command, directory, timeout, and input for secure execution.
Instructions
Execute a shell command
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The shell command to execute | |
cwd | No | Directory to run the command in (defaults to system temp directory) | |
stdin | No | Optional input to provide to the command's standard input | |
timeout | No | Timeout in milliseconds after which the process is killed |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"description": "The shell command to execute",
"type": "string"
},
"cwd": {
"description": "Directory to run the command in (defaults to system temp directory)",
"type": "string"
},
"stdin": {
"description": "Optional input to provide to the command's standard input",
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds after which the process is killed",
"type": "number"
}
},
"required": [
"command"
],
"type": "object"
}