execute_command
Run terminal commands with a customizable timeout using the Desktop Commander MCP server. Ensures command execution continues in the background if the specified timeout is exceeded.
Instructions
Execute a terminal command with timeout. Command will continue running in background if it doesn't complete within timeout.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | ||
timeout_ms | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"timeout_ms": {
"type": "number"
}
},
"required": [
"command"
],
"type": "object"
}