ssh_exec
Execute shell commands on a remote Linux server via SSH with configurable timeout and output caps; destructive commands are blocked.
Instructions
Execute a shell command on the selected remote Linux server. Timeout is in seconds (default 30, maximum 300); stdout and stderr are capped at 1 MiB each. Common destructive commands are blocked. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>",
"command": "<command>"
},
"name": "ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Exact configured server alias returned by ssh_list_servers. | |
| command | Yes | ||
| timeout | No | Command timeout in seconds (1–300), default 30. |