ssh_execute
Execute commands on any configured remote host via SSH by passing a connection ID and command, enabling targeted multi-server management from MCP clients.
Instructions
Execute a command on a remote host via SSH. connectionId accepts ANY configured connection (not just the first one); call read_ssh_connections to list all available connection IDs.
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": {
"connectionId": "<connectionId>",
"command": "<command>"
},
"name": "ssh_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| connectionId | Yes | SSH connection ID. Any configured connection is valid; the enum lists all available IDs. Use read_ssh_connections to see them. |