install_guest_agent_ssh
Installs the QEMU guest agent on a running VM via SSH, enabling advanced virtualization capabilities and better integration with QNAP Virtualization Station.
Instructions
DESTRUCTIVE: Install QEMU guest agent on a VM via direct SSH.
This SSHes into the VM and installs the qemu-guest-agent package. The VM must be running and accessible via SSH from the machine running this MCP server.
WARNING: The SSH password is passed as a tool argument and will be visible in MCP client logs. Use SSH key auth for the VM if this is a concern.
Requires 'sshpass' to be installed on the machine running this server.
Args: vm_ip: IP address of the VM (check your DHCP server or NAS if unknown) ssh_username: SSH username for the VM ssh_password: SSH password for the VM os_family: 'debian' (apt) or 'redhat' (yum). Default: debian confirm: Must be true to execute. Returns a preview otherwise.
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": {
"vm_ip": "<vm_ip>",
"ssh_username": "<ssh_username>",
"ssh_password": "<ssh_password>"
},
"name": "install_guest_agent_ssh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_ip | Yes | ||
| confirm | No | ||
| os_family | No | debian | |
| ssh_password | Yes | ||
| ssh_username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |