# zw008/VMware-Monitor [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/zw008/VMware-Monitor  
**GitHub Stars:** 21  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/zw008-vmware-monitor

## Description
Read-only VMware vSphere/vCenter monitoring — inventory, alarms, events, host health, VM info, and snapshot listing. 8 strictly read-only tools with code-level zero-destructive guarantee (validated by test fixtures).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "vmware-monitor": {
    "command": "uvx",
    "args": ["--from","vmware-monitor","vmware-monitor"]
  }
}
```

## Documentation

## What zw008/VMware-Monitor does

zw008/VMware-Monitor exposes VMware vCenter and ESXi monitoring through the Model Context Protocol. It is intended for inspection rather than administration: agents can query inventory, inspect alarms and events, review host and VM health, examine snapshots, and correlate related infrastructure details.

The server also provides higher-level investigation workflows. These aggregate vSphere data into operational results instead of returning only raw objects:

- `get_cluster_health_summary` ranks cluster issues using host state, VM power state, live CPU and memory data, and alarms.
- `get_cross_vcenter_attention` combines configured vCenters into one prioritized issue list.
- `investigate_vm` correlates a VM with its host, cluster, datastores, snapshots, alarms, performance, and event timeline.
- `investigate_host` correlates a host with its cluster, resident VMs, datastores, alarms, performance, and events.
- `investigate_datastore` reports capacity, free space, mounted hosts, backed VMs, alarms, and related events.

## How it works

The agent calls MCP tools, which query the connected vSphere environment and return results for interpretation. Unknown object names produce an error that explains how to list available objects. Multiple configured vCenters can be considered together by the cross-vCenter attention report, while unreachable targets are handled as degraded inputs rather than preventing the entire result.

The repository separates vCenter safety from local side effects. Its read-only claim applies to vCenter and ESXi state: the code does not provide power, deletion, creation, reconfiguration, snapshot mutation, cloning, or migration operations. A regression test parses source files, checks called vSphere methods against a reviewed allowlist and pyVmomi metadata, and rejects methods associated with tasks or non-read privileges unless reviewed. A vCenter account assigned the built-in Read-Only role provides an independent permission boundary.

## Setup and configuration

The recommended installation command is:

```bash
npx skills add vmware-skills/VMware-Monitor
```

The project is listed as working with Claude Code, Cursor, Codex, Gemini CLI, Trae, and other AI agents. Configure the vCenter targets and credentials using the project's initialization and configuration flow. Configuration is stored in `~/.vmware-monitor/config.yaml`; `.env` is also used, and plaintext passwords found there are rewritten as `b64:` values when loaded.

The CLI includes `summary`, `attention`, and `investigate` commands. For example:

```bash
vmware-monitor attention
vmware-monitor summary --top 5
vmware-monitor investigate vm web-01 --hours 72
```

## Tools and capabilities

The MCP interface includes verb-first tool names such as `list_active_sessions`, `list_active_tasks`, and `get_certificate_status`, along with the investigation tools described above. The broader tool set covers vSphere inventory, alarms, events, host health, VM information, snapshots, and related monitoring queries.

Investigation commands can render self-contained offline HTML snapshots with `--html`. These files use no external assets or JavaScript and are saved under `~/vmware-health/`. The cluster health tool can also advertise a cluster dashboard resource to MCP Apps hosts that support it; unsupported hosts receive the normal tool result.

## Limitations and notes

Read-only applies to vCenter and ESXi state, not to the local machine. MCP calls are recorded in `~/.vmware/audit.db`, CLI commands in `~/.vmware-monitor/audit.log`, and HTML reports are written locally. Starting the daemon additionally creates local PID and scan files and can post to a configured webhook.

The repository’s enforcement test must be run to act as a code-level gate, and its static analysis cannot detect method names assembled dynamically. The independent vCenter Read-Only role is therefore the stronger external safeguard. This is a community project by a VMware engineer, not an official VMware product.

_Full upstream README: https://allmcps.com/mcp/zw008-vmware-monitor/readme_

