vsphere-mcp-extended
Extends the base vSphere MCP server with additional tools for VMware vCenter, enabling live and historical performance monitoring, VM lifecycle management, snapshot management, content library operations, and host/cluster/network configuration.
Click on "Deploy 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., "@vsphere-mcp-extendedWhat's the CPU and memory performance of all VMs right now?"
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.
vsphere-mcp-extended
An add-on that extends vsphere-mcp-server (an MCP server for VMware vCenter) with a much larger tool surface, built on top of it without modifying the installed package.
vsphere-mcp-server talks to vCenter's REST API, which is read-only inventory plus basic power operations and doesn't expose live performance counters. This add-on imports the base package's FastMCP instance and registers additional tools on it using pyVmomi (vCenter's SOAP API), which unlocks real-time and historical performance data plus a large set of write operations.
What it adds
Performance & monitoring
get_vm_performance— live CPU/memory/ballooning/swap stats for one VMget_vm_disk_performance— live per-disk IOPS, latency, throughputlist_vm_performance— bulk snapshot across all VMs in a single API round trip, sorted by CPU usage, flags VMs under memory pressureget_vm_performance_history— historical min/avg/p95/max over N days (CPU%, CPU ready%, memory%, swap, disk latency, network) using vCenter's rolled-up historical intervals — the right tool for "is this VM actually bottlenecked, and on what"
VM lifecycle
create_vm— create a new VM (datastore, cluster, network, disk, guest OS type)reconfigure_vm_resources— change vCPU / RAM on an existing VMadd_vm_disk,get_vm_disks,resize_vm_disk— disk managementget_vm_network— reliably resolve the actual portgroup a VM's NIC is on (the base package's REST tool often reports "Unknown")
Snapshots
list_vm_snapshots,list_all_vm_snapshots(bulk scan across all VMs)create_vm_snapshot,remove_vm_snapshot,revert_vm_snapshot
Content Library / ISOs
find_content_library_item,get_content_library_item_filesbrowse_datastore— read-only datastore browsing, useful for resolving real on-disk paths before mountingmount_iso— attach a Content Library ISO to a VM's CD-ROM
Hosts, clusters & networking
list_cluster_hostsadd_portgroup_to_host,add_portgroup_to_cluster— create standard-vSwitch portgroups (per-host is more robust for large clusters; the cluster-wide version isolates failures per host instead of aborting the batch)migrate_vm_host— relocate/vMotion a VM to a different hostdiagnose_vm_datastore_access— check whether a VM's current host can actually see a given datastore (useful when device reconfigures fail with "backing file is not accessible from host")
All tools are read-only except: create_vm, reconfigure_vm_resources, add_vm_disk, resize_vm_disk, mount_iso, create_vm_snapshot, remove_vm_snapshot, revert_vm_snapshot, migrate_vm_host, add_portgroup_to_host, add_portgroup_to_cluster.
Related MCP server: vmware-storage
Install
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtCredentials are handled entirely by vsphere-mcp-server's own credential store (macOS Keychain on macOS, with a GUI prompt on first use / expiry). This add-on does not read or store credentials itself — it calls the base package's get_credentials(hostname).
Run
Run this file instead of python -m vsphere_mcp_server.server:
python vsphere_perf_addon.pyIt registers every tool from the base package plus everything listed above on the same server instance.
Use with Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"vsphere": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/vsphere_perf_addon.py"]
}
}
}Restart Claude Desktop afterwards.
Notes / gotchas
Credential expiry: the base package's macOS Keychain cache has a TTL (commonly ~4 hours). When it expires, a native GUI password prompt appears that only a human can fill in — any in-flight tool call will hang until it's filled or times out. If you see a timeout or "authentication failed" from a client automating this server, have a human fill in the OS prompt, then retry.
Historical performance granularity:
get_vm_performance_historydepends on which historical intervals are enabled/retained on your vCenter (Configure → General → Statistics). Disk latency at longer rollups (weekly/monthly) is often not collected unless the statistics level is raised — CPU/memory/network usually are.Bulk operations:
list_vm_performanceandlist_all_vm_snapshotsuse a singlePropertyCollector.RetrieveContentscall regardless of VM count, so they stay fast with hundreds of VMs. Prefer these over loopingget_vm_performanceper VM.create_vm/add_portgroup_to_clusteron large batches: creating multiple VMs in parallel can occasionally hit a transientvim.fault.CannotAccessFile; retrying the single failed call usually succeeds. For portgroup rollout across many hosts,add_portgroup_to_host(single host) isolates failures better than the cluster-wide call, which can time out on a large cluster.
Requirements
Python 3.9+
A vCenter service account with at least: VM read/write privileges for the mutating tools you plan to use, Content Library → Read, and read access to hosts/datastores/networks.
vsphere-mcp-serverandpyvmomi(seerequirements.txt)
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP-Native LLM Orchestration Agent
Let AI agents query data and act across all your business apps via MCP.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Hosted MCP catalog with 30 tenant-isolated browser, RAG, AI, mail and media tools.
Related MCP Servers
- AlicenseAqualityAmaintenanceAI-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.44980 PyPI73MIT
- AlicenseAqualityAmaintenanceAI-powered VMware storage management for vSphere. Manage datastores, iSCSI targets, and vSAN via natural language with 11 MCP tools.14689 PyPI3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for VMware vSphere/vCenter operations, enabling natural language control of VMs, hosts, and infrastructure.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables management of VMware ESXi hosts and virtual machines through standardized MCP interfaces, supporting host operations, VM lifecycle, resource monitoring, and security management.17MIT