Skip to main content
Glama
Proxmox MCP Server

Proxmox MCP Server

by Bldg-7

Guest Agent Command Execution

proxmox_agent_exec
Destructive

Execute commands inside Proxmox QEMU VMs via the guest agent, returning a PID; then poll status by PID to retrieve completion and output.

Instructions

Execute commands via QEMU agent. operation=exec: executable command + args, returns PID (no timeout or implicit shell) | operation=status: retrieve completion and output by PID (requires elevated permissions)

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": {
      "node": "<node>",
      "vmid": "<vmid>",
      "operation": "<operation>"
    },
    "name": "proxmox_agent_exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNoProcess ID returned by agent exec
argsNoCommand arguments
nodeYesNode name where VM is located
vmidYesVM ID number
commandNoExecutable name or path; pass arguments separately (no implicit shell)
timeoutNoUnsupported: omit. Exec is asynchronous; poll operation=status instead.
operationYes
input-dataNoInput data for stdin
capture-outputNoDeprecated: omit or use true; false is unsupported. Read output with operation=status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.1
    • changedInput schema / properties / capture-output / description
      Previous value: -"Capture stdout/stderr"New value: +"Deprecated: omit or use true; false is unsupported. Read output with operation=status."
    • changedInput schema / properties / command / description
      Previous value: -"Command to execute"New value: +"Executable name or path; pass arguments separately (no implicit shell)"
    • changedInput schema / properties / timeout / description
      Previous value: -"Timeout in seconds"New value: +"Unsupported: omit. Exec is asynchronous; poll operation=status instead."
  2. Addedv1.3.0
  3. Removedv1.2.2
  4. First observedv1.2.1

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructive=true, non-idempotent and open-world, and the description adds genuinely new behavior: the call is asynchronous, it returns only a PID rather than output, there is no implicit shell (so arguments must be passed as a list), timeout is unsupported, and capture-output is deprecated. Those disclosures materially change how an agent constructs and follows up the call, which a bare destructive hint would not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with a pipe-separated operation breakdown and no filler; the exec/status split and the PID return are front-loaded. The parenthetical "(requires elevated permissions)" sits ambiguously at the end and could be misread as applying to the whole tool rather than status only.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, non-idempotent, destructive execution tool with no output schema, the description covers the async polling model, shell absence, permission requirements and deprecated parameters. Remaining gaps are minor: nothing about stdin usage, output retention/lifetime before polling, or whether destructive applies to any command run.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 89%, so the baseline is 3; the description earns one step more by tying parameters to operations — command+args belong to exec, pid belongs to status, and timeout/capture-output are effectively no-ops. It still does not describe stdin via input-data or node/vmid semantics, but the schema covers those.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Execute commands via QEMU agent") and splits the tool into two named operations, exec and status, with the payload each expects. It never explicitly distinguishes itself from proxmox_lxc_exec (container exec) or the other agent tools, so an agent must infer from "QEMU agent" that this targets VMs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear two-phase workflow: call operation=exec, then poll operation=status with the returned PID, and explicitly says not to use timeout because exec is asynchronous. It also flags that status needs elevated permissions. What is missing is a when-not clause or reference to proxmox_lxc_exec for container workloads.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools