Provides AI agents direct access to VMware vSphere infrastructure, offering over 50 tools for VM lifecycle management, snapshot operations, datastore and networking configuration, and vSAN management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@VMWare MCPPower on the production-db-01 virtual machine"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
|
VM Lifecycle |
|
VM Configuration |
|
VM Disks |
|
VM Networking |
|
VM Options & Policies |
|
Snapshots |
|
Datastore |
|
Session |
|
vSAN |
|
Task |
|
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 & passwordQuick 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-mcpQuick 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-mcpRestart Claude Code after running
claude mcp add. Tools appear asmcp__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 stdioTo explore and test tools interactively, you can use the MCP Inspector instead:
bun run uiConfiguration
Variable | Required | Description |
| ✅ | vCenter / ESXi SDK URL (e.g. |
| ✅ | vSphere username |
| ✅ | vSphere password |
| Set | |
| Path to | |
| Subprocess timeout in ms (default: | |
| Set |
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 -NThen use GOVC_URL=https://localhost:8443/sdk with GOVC_INSECURE=1.
Development
Prerequisites
Scripts
Script | Description |
| Run MCP server (stdio) |
| Run with |
| Launch MCP Inspector (web UI) |
| Biome + tsc (CI gate) |
| Build Docker image (native arch) |
| Build Docker image (linux/amd64) |
Adding a Command
Add entry to
GOVC_COMMAND_INDEXinsrc/commands.ts.Add
GovcToolDeftoGOVC_TOOL_DEFSwith typed flags.Generator wires it automatically.
bun run check.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.