runRemoteCommand
Execute shell commands on remote SSH hosts securely via MCP SSH Agent, using host aliases and specified commands for efficient remote management.
Instructions
Executes a shell command on an SSH host
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The shell command to execute | |
hostAlias | Yes | Alias or hostname of the SSH host |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "The shell command to execute",
"type": "string"
},
"hostAlias": {
"description": "Alias or hostname of the SSH host",
"type": "string"
}
},
"required": [
"hostAlias",
"command"
],
"type": "object"
}