# VMware AVI [Health: Active]

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

## Description
VMware AVI (NSX ALB) load balancer plus AKO Kubernetes ops — 28 MCP tools.

## 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"],
    "env": {
      "PROD_AVI_PASSWORD": ""
    }
  }
}
```

**Requires environment variables:** `PROD_AVI_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 AVI does

VMware AVI combines two operational surfaces: traditional AVI Controller management and AKO Kubernetes operations. Its 28 MCP tools cover virtual services, pool members, SSL certificates, analytics, service engines, AKO pods, Helm configuration, ingress diagnostics, synchronization diagnostics, and multi-cluster visibility.

AVI-focused operations include listing and checking virtual-service status, enabling or disabling virtual services, discovering pools, listing pool members, draining or restoring members, reviewing certificates and upcoming expirations, inspecting virtual-service metrics, and reading request error logs. Service-engine tools expose inventory and health information.

AKO tools provide pod status, logs, restart and version operations, values.yaml inspection, Helm configuration differences, and Helm upgrades. Diagnostic tools compare Kubernetes and AVI Controller state, identify inconsistencies, validate ingress annotations, map ingresses to virtual services, diagnose errors, and provide fix recommendations. Multi-cluster tools list clusters and report AKO and AMKO status.

## How it works

The package runs as `vmware-avi` and can be installed as a Python tool with `uv` or `pip`. Its AVI interactions use the AVI SDK and REST API. Kubernetes operations use `kubectl` and the Kubernetes API through the configured kubeconfig and context.

A typical deployment defines one or more AVI Controllers in `~/.vmware-avi/config.yaml`, selects a default Controller, and configures the Kubernetes kubeconfig, context, and AKO namespace. Controller passwords are loaded from `~/.vmware-avi/.env` using a generated variable name based on the Controller name. The `vmware-avi doctor` command checks Controller connectivity, kubeconfig access, and the AVI SDK.

The package supports both MCP and direct CLI use. MCP is the better fit for structured automation and typed parameters; the CLI is recommended for local or small models and for interactive AKO log tailing or Helm diff output. Operations that change traffic or restart AKO use double confirmation in the CLI, including virtual-service disablement, pool-member draining, and AKO restart.

## Setup and configuration

Install with one of these commands:

```bash
uv tool install vmware-avi
# or
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 host, username, API version, tenant, port, and SSL verification setting. The configuration can also specify a default Controller. AKO settings include a kubeconfig path, Kubernetes context, and namespace. For a Controller named `prod-avi`, its password variable is `PROD_AVI_PASSWORD`; hyphens in names become underscores and the result is uppercase. Run `vmware-avi doctor` after editing the files.

For offline installation, build wheels on a connected machine with `pip wheel . -w dist`, copy the wheel directory to the target, and install with `pip install --no-index --find-links dist vmware-avi`.

## Tools and capabilities

The tool groups include:

- Virtual-service listing, status checks, and enable/disable operations
- Pool discovery plus member listing, traffic drain, and restoration
- SSL certificate inventory and expiration checks
- Virtual-service metrics and request error logs
- Service-engine inventory and health checks
- AKO pod status, logs, restart, and version information
- AKO Helm values, configuration diffs, and upgrades
- Ingress annotation, mapping, error, and remediation diagnostics
- Kubernetes-to-Controller synchronization checks and forced resync
- Cluster listing, cross-cluster AKO overview, and AMKO status

## Limitations and notes

This is a community-driven project by a VMware engineer and is not an official VMware product. The package manages AVI and AKO scope; related VMware areas such as VM lifecycle, storage, NSX networking, and monitoring are handled by separate companion skills.

Version 2.0 renamed all 28 MCP tools to use verb-first names. Agents, scripts, and policy files that refer to tool names may need updates, although compatible VMware policy and pilot releases can translate or match old names in the documented cases. CLI and MCP expose the same underlying tool set, but their recommended use differs by model size and workflow.

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

