# VMware Log Insight [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/vmware-skills/VMware-Log-Insight  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vmware-log-insight

## Description
Read-only VMware Aria Operations for Logs (Log Insight): search + aggregation. 7 MCP tools.

## Tools
Capabilities this server exposes over MCP:

- **search_logs** — Search events by time window + text (whole-token match), up to 200 events
- **aggregate_logs** — Count/aggregate over time bins (UCOUNT/AVG/... of a `field`), with z-score spike detection
- **list_log_fields** — List the appliance's fields (name + type), for `aggregate_logs` `field
- **get_log_insight_version** — Appliance version/build
- **list_log_alerts** — Query defined alerts and their trigger history

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

```json
"mcpServers": {
  "vmware-log-insight": {
    "command": "uvx",
    "args": ["vmware-log-insight"],
    "env": {
      "VMWARE_LOG_INSIGHT_PROD_PASSWORD": ""
    }
  }
}
```

**Requires environment variables:** `VMWARE_LOG_INSIGHT_PROD_PASSWORD` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What VMware Log Insight MCP server does

The VMware Log Insight MCP server connects agents to VMware Aria Operations for Logs, formerly known as vRealize Log Insight. This appliance commonly collects syslog and related events from ESXi hosts, vCenter, and virtual machines. The server is strictly read-only: it queries centralized log data and does not create, modify, or delete records.

It is suited to investigations that begin with raw log evidence. An agent can search for text within a time range, narrow results with extracted fields, inspect event volume over time, and review configured alerts or their trigger history. It can also return the appliance version and build for environment checks.

## How it works

The server exposes seven MCP tools. `log_search` searches events using a time window, query text, and filters. `log_aggregate` groups matching events into time bins and reports z-score-based spikes, which can help identify periods that deserve a more focused search. `log_fields` lists fields available for filtering, so an agent can discover the vocabulary supported by the log data.

`log_version` returns appliance version and build information. Alert inspection is split across `alert_list`, `alert_get`, and `alert_history`, which provide access to defined alerts and their trigger records.

A useful investigation pattern is to aggregate likely error messages across several hours, inspect the reported spike intervals, and then run a narrower search against those intervals. Search results can also be passed to a separate incident-correlation workflow when broader context from vCenter events or metrics is needed.

## Setup and configuration

Install the package with `uv tool install vmware-log-insight`. Create `~/.vmware-log-insight/config.yaml` from the supplied example and set the appliance host, username, and provider. Store the target password in the corresponding environment variable, such as `VMWARE_LOG_INSIGHT_PROD_PASSWORD`, using a `.env` file under `~/.vmware-log-insight/`. Restrict that file with `chmod 600`.

Run `vmware-log-insight doctor` after configuration. TLS is enabled by default. The default API port is 9543, but a different port can be set in the configuration. For offline deployments, build wheels on a connected machine, copy them to the isolated host, and install with `pip --no-index --find-links`.

## Limitations and notes

The project is community-maintained and is not affiliated with, endorsed by, or sponsored by VMware or Broadcom. Credentials stored in the local environment file may be automatically obfuscated with a `b64:` prefix, but that mechanism is not encryption; a secret manager is preferable where stronger secret handling is required.

A 401 response on `/sessions` usually indicates incorrect credentials, provider settings, or a missing target-specific password variable. Widespread 503 responses can mean the appliance is still starting. If searches return nothing, widen the requested time range and verify the configured port. This server covers centralized logs, while vCenter events, infrastructure metrics, and incident timelines belong to separate companion tools.

_Full upstream README: https://allmcps.com/mcp/vmware-log-insight/readme_

