execute_command
Run system commands locally on the MCP Terminal Server, specifying the command, arguments, and working directory for secure and controlled execution in the operating system environment.
Instructions
Execute a command in the local system
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | Command arguments | |
command | Yes | Command to execute | |
cwd | No | Working directory for command execution |
Input Schema (JSON Schema)
{
"properties": {
"args": {
"description": "Command arguments",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command to execute",
"type": "string"
},
"cwd": {
"description": "Working directory for command execution",
"type": "string"
}
},
"required": [
"command"
],
"type": "object"
}