Skip to main content
Glama

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 — with additional tools being added over time.

Tool output is formatted in TOON for token-efficient LLM consumption, with automatic JSON fallback.

Available Tools

Category

Tools

Navigation

about, ls, find, tree, events, tasks, logs, logs.ls

VM Lifecycle

vm.create, vm.clone, vm.instantclone, vm.destroy, vm.register, vm.unregister, vm.upgrade

VM Configuration

vm.change, vm.customize, vm.info, vm.ip, vm.power, vm.migrate, vm.vnc, vm.question

VM Disks

vm.disk.create, vm.disk.attach, vm.disk.change, vm.disk.promote

VM Networking

vm.network.add, vm.network.change

VM Options & Policies

vm.option.info, vm.option.ls, vm.policy.ls, vm.target.info, vm.target.cap.ls, vm.guest.tools

Snapshots

snapshot.create, snapshot.remove, snapshot.export, snapshot.tree

Datastore

datastore.info, datastore.ls, datastore.cp, datastore.mv, datastore.tail, datastore.disk.info, datastore.cluster.info, datastore.cluster.change, datastore.maintenance.enter, datastore.maintenance.exit

Session

session.login, session.logout, session.ls, session.rm

vSAN

vsan.info

Task

task.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).

First, copy and fill in your credentials:

cp .env.docker.example .env.docker   # edit with your vCenter URL, username & password

Related MCP server: VMware-AIops

Quick Start — Ephemeral

A fresh container per connection, removed when done.

# Docker
docker run --rm -i --env-file .env.docker ghcr.io/2501-ai/vmware-mcp

# Claude Code
claude mcp add vmware-mcp -- docker run --rm -i --env-file .env.docker ghcr.io/2501-ai/vmware-mcp

Quick Start — Persistent

The container runs as a long-lived service. Clients connect via docker exec.

# Docker (once)
docker run -d --name vmware-mcp --restart unless-stopped \
  --env-file .env.docker -e MCP_KEEP_ALIVE=true ghcr.io/2501-ai/vmware-mcp

# Claude Code
claude mcp add vmware-mcp -- docker exec -i vmware-mcp vmware-mcp

Restart Claude Code after running claude mcp add. Tools appear as mcp__vmware-mcp__*. Check status with /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 start          # run the MCP server over stdio

To explore and test tools interactively, you can use the MCP Inspector instead:

bun run ui

Configuration

Variable

Required

Description

GOVC_URL

vCenter / ESXi SDK URL (e.g. https://vcenter.example.com/sdk)

GOVC_USERNAME

vSphere username

GOVC_PASSWORD

vSphere password

GOVC_INSECURE

Set 1 to skip TLS verification

GOVC_BIN

Path to govc binary (default: govc)

GOVC_TIMEOUT_MS

Subprocess timeout in ms (default: 120000)

MCP_KEEP_ALIVE

Set true for persistent container mode (see above)

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

Script

Description

bun run start

Run MCP server (stdio)

bun run dev

Run with --watch

bun run ui

Launch MCP Inspector (web UI)

bun run check

Biome + tsc (CI gate)

bun run docker:build

Build Docker image (native arch)

bun run docker:build:ci

Build 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

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables AI agents to manage VMware vSphere virtual infrastructure through comprehensive operations including VM power control, snapshot management, resource monitoring, performance analytics, and bulk operations with built-in safety confirmations for destructive actions.
    Last updated
  • A
    license
    A
    quality
    A
    maintenance
    AI-powered VMware vCenter/ESXi monitoring and operations. 20 MCP tools for inventory queries, health monitoring, VM lifecycle management, fast provisioning (Linked Clone, OVA, template deploy), snapshot management, and datastore browsing. Supports vSphere 6.5–8.0. Works with local models via Ollama/LM Studio.
    Last updated
    44
    64
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Read-only VMware vCenter/ESXi monitoring. 8 MCP tools for VM inventory, host status, datastore capacity, cluster info, alarms, events, and VM details. Code-level enforced safety — no destructive operations exist in the codebase. Supports vSphere 6.5–8.0. Works with local models via Ollama/LM Studio.
    Last updated
    27
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • The agent-native cloud: database, functions, AI, storage, computers. 55 tools, one API key.

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

  • Shared long-term memory vault for AI agents with 20 MCP tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2501-ai/vmware-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server