VMware vSphere

v1.0.0Cloud Servicesstable

An MCP (Model Context Protocol) Server that acts as a standardized interface exposing VMware vCenter functionalities as Tools directly consumable by AI models (LLMs)

vmware-vspheremcpai-integration
Share:
13
Stars
0
Downloads
0
Weekly
0/5

What is VMware vSphere?

VMware vSphere is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp (model context protocol) server that acts as a standardized interface exposing vmware vcenter functionalities as tools directly consumable by ai models (llms)

An MCP (Model Context Protocol) Server that acts as a standardized interface exposing VMware vCenter functionalities as Tools directly consumable by AI models (LLMs)

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP (Model Context Protocol) Server that acts as a standa

Use Cases

Manage vCenter infrastructure through natural language commands.
Automate virtual machine operations using AI-powered interfaces.
giuliolibrando

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx vmware-vsphere

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use VMware vSphere

The VMware vSphere MCP Server exposes VMware vCenter operations as AI-consumable tools through the Model Context Protocol, enabling natural-language management of virtual machines, hosts, datastores, networks, and snapshots. It covers both read-only monitoring—listing VMs, checking performance metrics, summarizing resource utilization—and write operations like powering VMs on or off, creating snapshots, and modifying resources, with destructive operations requiring explicit confirmation. Infrastructure engineers and DevOps teams use it to query and control vCenter environments through AI assistants like Claude or AnythingLLM without logging into the vCenter web UI.

Prerequisites

  • Docker and Docker Compose installed on your machine
  • Access to a VMware vCenter Server with valid username and password
  • Network connectivity from the Docker host to your vCenter instance
  • git to clone the repository
  • An MCP-compatible client such as Claude Desktop or AnythingLLM
1

Clone the repository

Clone the vmware-vsphere-mcp-server repository to your local machine.

git clone https://github.com/giuliolibrando/vmware-vsphere-mcp-server.git
cd vmware-vsphere-mcp-server
2

Create and configure the environment file

Copy the example env file and fill in your vCenter credentials and server settings.

cp env.example .env
3

Edit the .env file with your vCenter credentials

Set the vCenter host, username, password, and SSL settings. For lab environments without valid SSL certificates, set INSECURE=true.

VCENTER_HOST=vcenter.example.com
[email protected]
VCENTER_PASSWORD=your_secure_password
INSECURE=true
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
4

Start the MCP server with Docker Compose

Launch the server in the background. It will listen on port 8000 by default and connect to vCenter using the credentials in .env.

docker compose up -d
5

Add to your MCP client configuration

Configure Claude Desktop or AnythingLLM to connect to the running MCP server at the SSE endpoint.

VMware vSphere Examples

Client configuration

Claude Desktop configuration to connect to the vSphere MCP server running locally over SSE transport.

{
  "mcpServers": {
    "vmware-vsphere": {
      "command": "npx",
      "args": ["vmware-vsphere"],
      "env": {
        "VCENTER_HOST": "vcenter.example.com",
        "VCENTER_USER": "[email protected]",
        "VCENTER_PASSWORD": "your_secure_password",
        "INSECURE": "true",
        "SERVER_PORT": "8000"
      }
    }
  }
}

Prompts to try

Natural-language prompts for managing a VMware vSphere environment through an AI assistant.

- "Show me all virtual machines and their current power state."
- "What is the CPU and memory utilization of host esxi-01.example.com?"
- "Create a snapshot of VM 'WebServer01' named 'pre-update-2026-06-16'."
- "List all datastores and their free space."
- "Generate a complete infrastructure report for this vSphere environment."
- "Which VMs have high resource usage right now?"

Troubleshooting VMware vSphere

Connection to vCenter fails with SSL certificate error

Set INSECURE=true in your .env file if your vCenter uses a self-signed certificate. For production environments, import the vCenter CA certificate into the container's trust store instead.

Docker container starts but vCenter tools return empty results

Verify network connectivity from the Docker host to VCENTER_HOST using `docker exec <container> curl -k https://<VCENTER_HOST>`. Check that the vCenter user account has at least read-only permissions on the datacenter objects.

Destructive operations like delete_vm or bulk_power_operations fail

These operations require explicit confirmation in the tool call. Ensure your AI client is passing the confirmation parameter. Also verify the vCenter user account has the appropriate permissions for VM deletion or power management.

Frequently Asked Questions about VMware vSphere

What is VMware vSphere?

VMware vSphere is a Model Context Protocol (MCP) server that mcp (model context protocol) server that acts as a standardized interface exposing vmware vcenter functionalities as tools directly consumable by ai models (llms) It connects AI assistants to external tools and data sources through a standardized interface.

How do I install VMware vSphere?

Follow the installation instructions on the VMware vSphere GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with VMware vSphere?

VMware vSphere works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is VMware vSphere free to use?

Yes, VMware vSphere is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "vmware-vsphere": { "command": "npx", "args": ["-y", "vmware-vsphere"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use VMware vSphere?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides