MCP Hub
Back to servers

VMWare MCP

Enables AI agents to manage VMware vSphere infrastructure through 55 typed tools built on the govc CLI. It supports comprehensive operations including VM lifecycle management, snapshot control, datastore navigation, and networking configuration.

Stars
2
Updated
Feb 17, 2026
Validated
Feb 19, 2026

VMWare MCP

An MCP server that gives AI agents direct access to your VMware vSphere infrastructure. Built on top of govc, it exposes 55 typed tools covering VM lifecycle, snapshots, datastores, networking, and more.

Available Tools

CategoryTools
Navigationabout, ls, find, tree, events, tasks, logs, logs.ls
VM Lifecyclevm.create, vm.clone, vm.instantclone, vm.destroy, vm.register, vm.unregister, vm.upgrade
VM Configurationvm.change, vm.customize, vm.info, vm.ip, vm.power, vm.migrate, vm.vnc, vm.question
VM Disksvm.disk.create, vm.disk.attach, vm.disk.change, vm.disk.promote
VM Networkingvm.network.add, vm.network.change
VM Options & Policiesvm.option.info, vm.option.ls, vm.policy.ls, vm.target.info, vm.target.cap.ls, vm.guest.tools
Snapshotssnapshot.create, snapshot.remove, snapshot.export, snapshot.tree
Datastoredatastore.info, datastore.ls, datastore.cp, datastore.mv, datastore.tail, datastore.disk.info, datastore.cluster.info, datastore.cluster.change, datastore.maintenance.enter, datastore.maintenance.exit
Sessionsession.login, session.logout, session.ls, session.rm
vSANvsan.info
Tasktask.cancel

Plus 3 meta tools: govc_search (fuzzy search across all commands), govc_help (get help for any command), and govc_run (escape hatch for any govc command).

Quick Start — Docker

cp .env.docker.example .env.docker  # fill in your credentials
docker run --rm -i --name vmware-mcp --env-file .env.docker ghcr.io/2501-ai/vmware-mcp

Quick Start — From Source

git clone https://github.com/2501-ai/vmware-mcp.git
cd vmware-mcp
bun install
cp .env.example .env  # fill in your credentials
bun run ui  # opens MCP Inspector in your browser

To wire the server into an MCP client directly, see the Scripts section.

Configuration

VariableRequiredDescription
GOVC_URLvCenter / ESXi SDK URL (e.g. https://vcenter.example.com/sdk)
GOVC_USERNAMEvSphere username
GOVC_PASSWORDvSphere password
GOVC_INSECURESet 1 to skip TLS verification
GOVC_BINPath to govc binary (default: govc)
GOVC_TIMEOUT_MSSubprocess timeout in ms (default: 120000)

SSH Tunnel

If vCenter is only reachable through an internal network:

ssh [-J jump_user@jump_host] -L 8443:vcenter_host:443 user@internal_host -N

Then use GOVC_URL=https://localhost:8443/sdk with GOVC_INSECURE=1.


Development

Prerequisites

Scripts

ScriptDescription
bun run startRun MCP server (stdio)
bun run devRun with --watch
bun run uiLaunch MCP Inspector (web UI)
bun run checkBiome + tsc (CI gate)
bun run docker:buildBuild Docker image (native arch)
bun run docker:build:ciBuild Docker image (linux/amd64)

Adding a Command

  1. Add entry to GOVC_COMMAND_INDEX in src/commands.ts.
  2. Add GovcToolDef to GOVC_TOOL_DEFS with typed flags.
  3. Generator wires it automatically.
  4. bun run check.

License

MIT

Reviews

No reviews yet

Sign in to write a review