# zw008/VMware-AVI [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/zw008/VMware-AVI  
**GitHub Stars:** 2  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/zw008-vmware-avi

## Description
VMware AVI Load Balancer (NSX ALB) management plus AKO Kubernetes integration. 29 tools across virtual services, pools, analytics metrics, and AKO lifecycle (restart/upgrade/force-resync) with double-confirmation for destructive ops.

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

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

## Documentation

## What zw008/VMware-AVI does

zw008/VMware-AVI brings two operational areas together: traditional VMware AVI, also called NSX Advanced Load Balancer, management and AKO Kubernetes operations. It communicates with AVI Controllers through the AVI SDK and accesses Kubernetes through kubectl or the Kubernetes API. The package is community-driven and was created by a VMware engineer; it is not an official VMware product.

The server is suited to structured automation, scripted workflows, and agent-assisted troubleshooting. Its command-line interface remains available for interactive work, particularly where compact output, log tailing, or Helm diff results are more useful than MCP responses.

## How it works

The package is installed as the `vmware-avi` Python command-line tool and can expose its operations through MCP. AVI Controller definitions are stored in `~/.vmware-avi/config.yaml`, while passwords are loaded from `~/.vmware-avi/.env`. A configuration can define multiple controllers, select a default controller, set the AVI API version and tenant, and control TLS certificate verification.

Kubernetes access uses a kubeconfig and optional context selection. The AKO namespace defaults to `avi-system`. Running `vmware-avi doctor` checks Controller connectivity, kubeconfig access, and the AVI SDK installation before operational use.

The package supports connected installations through uv or pip. For air-gapped environments, wheels and dependencies can be built on a connected machine, copied to the target, and installed with pip without an index.

## Setup and configuration

Install with either:

```bash
uv tool install vmware-avi
```

or:

```bash
pip install vmware-avi
```

Initialize the configuration files with:

```bash
mkdir -p ~/.vmware-avi
vmware-avi init
chmod 600 ~/.vmware-avi/.env
```

A controller entry includes its name, hostname, username, API version, tenant, port, and SSL verification setting. Password variables follow the pattern `{CONTROLLER_NAME_UPPER}_PASSWORD`; hyphens in the controller name become underscores. For example, a controller named `prod-avi` uses `PROD_AVI_PASSWORD`.

Run `vmware-avi doctor` after editing the files. This verifies the main external dependencies before an agent attempts management operations.

## Tools and capabilities

The 28 tools cover these areas:

- List and inspect virtual services, then enable or disable them.
- Discover pools and inspect, drain, or restore individual pool members.
- List SSL certificates and identify certificates nearing expiration.
- Review virtual-service throughput, latency, error rates, and request error logs.
- List service engines and inspect their operational health and connected virtual-service counts.
- Check AKO pod status, read logs, restart pods, and view AKO version information.
- Inspect AKO values, compare Helm configuration, and perform Helm upgrades.
- Validate ingress annotations, map ingress resources to virtual services, diagnose errors, and produce fix recommendations.
- Compare Kubernetes and Controller state, list inconsistencies, and force a resynchronization.
- List clusters, review AKO across clusters, and check AMKO status.

The renamed tool set uses verb-first names, such as `get_ako_amko_status`, `list_ako_clusters`, and `diff_ako_config`. Agents or scripts referring to older names should update their references.

## Limitations and notes

Disabling a virtual service, draining a pool member, restarting AKO, and forcing a resync require double confirmation. The server therefore adds an explicit safety step around operations that can affect traffic or cluster state.

The CLI is recommended for local or small models because it uses less context and provides interactive troubleshooting output. MCP is better suited to automated pipelines that need typed parameters and structured JSON. The project is licensed under MIT.

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

