← Back to VMware AIops

Install VMware AIops

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "VCENTER_HOST=${VCENTER_HOST}" -e "VCENTER_USER=${VCENTER_USER}" -e "VCENTER_PASSWORD=${VCENTER_PASSWORD}" vmware-aiops -- uvx vmware-aiops
Required:VCENTER_HOSTVCENTER_USERVCENTER_PASSWORD

Environment Variables

Set these before running VMware AIops.

VariableDescriptionRequired
VCENTER_HOSTThe IP address or hostname of the vCenter or ESXi host.Yes
VCENTER_USERUsername for vSphere authentication.Yes
VCENTER_PASSWORDPassword for vSphere authentication.Yes

Available Tools (5)

Once configured, VMware AIops gives your AI agent access to:

vm-power-onPowers on a specified virtual machine.
name
vm-power-offGracefully shuts down or force powers off a virtual machine.
nameforce
vm-infoRetrieves detailed information about a specific virtual machine.
name
vm-snapshot-createCreates a snapshot for a specified virtual machine.
namesnapshot_name
vm-deleteDeletes a specified virtual machine.
name

Try It Out

After setup, try these prompts with your AI agent:

List all virtual machines currently running on the vCenter server.
Check the health status and active alarms for my ESXi host.
Create a snapshot named 'pre-update' for the VM named 'web-server-01'.
Gracefully shut down the virtual machine 'test-env-05'.
Show me the capacity and usage statistics for all datastores.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
  • Python 3.8+ with pip installed
  • VCENTER_HOST — The IP address or hostname of the vCenter or ESXi host.
  • VCENTER_USER — Username for vSphere authentication.
  • VCENTER_PASSWORD — Password for vSphere authentication.
Alternative installation methods

uv

uv tool install vmware-aiops

pip

pip install vmware-aiops

Keep this setup from going cold

Save the docs, env vars, and workflow around VMware AIops in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup