How kmittal8/vcenter_mcp works
This is an MCP server that exposes vCenter inventory queries and management actions as tools for Claude. The main workflow is Claude sending a tool request over HTTP/SSE; the server connects to vCenter through pyVmomi, performs the requested operation, and returns JSON. The graph preserves the documented VM, host, storage, network, snapshot, overview, and alarm capabilities. Tool implementations share server.py; unsampled tool details and wiring are represented only where README documents them.
Main entry points: server.py MCP Server
Components 11
MCP Interface
- MCP Server
server.py - vCenter Connection
server.py
Compute Management
- VM Tools
server.py - Host Tools
server.py
Infrastructure Queries
- Datastore Tools
server.py - Network Tools
server.py
Snapshots and Overview
- Snapshot Tools
server.py - Inventory Summary
server.py - Alarm Tools
server.py
Other components
- Claude
- vCenter Server
Connections 16
- Claude → MCP Server: sends tool requests
README.md - MCP Server → VM Tools: dispatches tools
server.py - MCP Server → Host Tools: dispatches tools
server.py - MCP Server → Datastore Tools: dispatches tools
README.md - MCP Server → Network Tools: dispatches tools
README.md - MCP Server → Snapshot Tools: dispatches tools
server.py - MCP Server → Inventory Summary: dispatches tools
server.py - MCP Server → Alarm Tools: dispatches tools
server.py - VM Tools → vCenter Connection: opens connection
server.py - Host Tools → vCenter Connection: opens connection
server.py - Datastore Tools → vCenter Connection: opens connection
server.py - Network Tools → vCenter Connection: opens connection
server.py - Snapshot Tools → vCenter Connection: opens connection
server.py - Inventory Summary → vCenter Connection: opens connection
server.py - Alarm Tools → vCenter Connection: opens connection
server.py - vCenter Connection → vCenter Server: connects via pyVmomi
server.py