Skip to content

Releases

v2.5.2

Choose a tag to compare

@zw008 zw008 released this 10 Nov 16:42
50341be

v2.5.2 (2026-11-10) — Split MCP registration with shared runtime

Separate service and operation registration modules while retaining the server facade, shared connection/Policy/error state, tool order, schemas and destructive gates. Extend structural CLI guard checks to cover extracted source and explicit runtime delegation; retain positive controls.

Validation: existing suites, complete CLI/MCP surface comparison, structural guard checks and security scanning; exact results are retained in the private release record. Live 9.1/Supervisor, PAIS, NSX and Horizon validation is not established by synthetic tests.

中文:本轮修复和重构范围见上述说明;保留既有 Policy、审计及确认门。合成测试不代表 9.1/Supervisor、PAIS、NSX 或 Horizon 正向真机验证。

v2.5.1 — Security documentation and Gemini extension packaging

Choose a tag to compare

@zw008 zw008 released this 09 Nov 06:54
3c90206

Released 2026-11-09.

Clarify actual capability, credential, local-write and transport boundaries where applicable.
Pin documented setup/fallback tools and make credential examples owner-only before writing,
without overwriting existing files. Runtime permissions, TLS defaults and approval behavior are unchanged.
These edits do not establish a new ClawHub scan verdict.

Add the root Gemini CLI extension manifest and discovery metadata, using the existing canonical skill and exact MCP package version. No duplicate skill entrypoint is introduced.

Runtime infrastructure operations, permissions, TLS defaults and confirmation behavior are unchanged. No new vSphere/VCF 9.x or live product compatibility is claimed. ClawHub skill and bundle verdicts are checked separately after publication; documentation corrections are not a clean-scan claim.

v2.5.0 — deprecated MCP alias migration and dependency security (2026-11-08)

Choose a tag to compare

@zw008 zw008 released this 08 Nov 14:49
6e0def1
  • MCP client migration: the deprecated confirmed / dry_run aliases are removed from write tools as scheduled for the next minor release. Old arguments are rejected without executing a write. Omit confirm for a preview; use confirm=true to request execution through the same fresh measurement, Policy and audit gate. CLI dry-run options are unchanged.

  • Update public author/project contact metadata to zhouwei008@gmail.com.

  • Controller and Kubernetes behavior is covered by regression fixtures; this release does not add a live AVI 32.1.x/VCF 9.x validation claim.

  • Require pyasn1 0.6.5 or later to avoid quadratic CPU use when parsing crafted ASN.1 data (CVE-2026-119194 through CVE-2026-119197); the development lock resolves 0.6.5.

  • Connection-pool regression tests now gate overlapping calls before spawning, so they exercise the intended race without creating thousands of recursive threads. The avisdk idle cleanup keeps naive UTC timestamps while avoiding datetime.utcnow() in this package.

  • Error hints fit the error. An error about the request itself (a 4xx other than 401/403, an unknown
    controller) no longer tells the agent to run doctor, which would report green; an argument error that may
    name no fix offers doctor only as a fallback. Connection, credential, 5xx and unparseable-response errors keep it.

  • Duration errors no longer point MCP callers at vmware-avi analytics --help; they list the accepted forms.

  • A failed Kubernetes read is a failure, not "nothing there". With no reachable cluster, get_ako_amko_status
    answered "AMKO not deployed in avi-system namespace." — kubectl had failed. It now fails the call with kubectl's
    reason; "not deployed" means kubectl answered and found no AMKO pods. A GSLBConfig that cannot be read is said,
    not skipped. list_ako_clusters shows a context kubectl could not read as "Unreadable", not "Not deployed" (its
    pod query no longer errors on an empty list), with kubectl's reason, says how many contexts are unknown, and
    fails when none could be read, or when the kubeconfig has no contexts at all (kubectl exits 0 with nothing). An
    image behind a registry port without a tag (reg:5000/ako) shows version latest, not 5000/ako. diagnose_ako_ingress reports "not found"/"missing" only for a 404; a 403 or a
    dropped connection is "could not be read", for the Ingress, each backend Service and each TLS secret.

  • Same shape elsewhere: check_ssl_cert_expiry counts and names certificates whose expiry could not be read
    (they used to drop out of the tally, reading as "not expiring"); unparseable helm list output is reported as
    such, not as "No AKO Helm release found"; get_virtual_service_status says when the runtime read failed, with
    the HTTP status. Certificate names and context names are shown as text, not Rich markup (a [/] in a name used
    to fail the whole call).

v2.4.0 — roles for network callers (HLD §18)

Choose a tag to compare

@zw008 zw008 released this 16 Oct 08:48
  • Declares the role metadata vmware-policy ≥ 1.24.0 needs to apply roles to this server over HTTPS
    (HLD §18): how a missing controller resolves, that tools without a controller argument act on the default controller, that the AKO tools act on a Kubernetes context (so a controller-limited role cannot use them), and that diff_ako_config and upgrade_ako_config escape a role (their Helm values can hold the controller password). With an older vmware-policy nothing changes. Once an operator runs
    vmware-audit roles enable, a token's role decides which tools and targets it may use here; a refused call is
    audited as denied. See vmware-policy's README, "Roles for network callers".
  • README and setup guide: one endpoint for several people or roles.

v2.3.0 — calls run side by side

Choose a tag to compare

@zw008 zw008 released this 15 Oct 15:57

Calls no longer wait for each other (HLD §16 D-13(2), via vmware-policy 1.22.0). When one server serves several
callers (--transport https / http), each call now holds its own Controller session — and its own Kubernetes client
for the AKO tools — for as long as it runs, up to VMWARE_MCP_POOL_SIZE (default 2) per Controller or context. Each
Controller session is a separate login: avisdk's ApiSession.get_session handed every caller the one session it caches
per controller and user, so concurrent calls used to share, and re-authenticate over, a single login. A call that finds
every session busy waits at most 300 s, then fails naming the target. The CLI and stdio keep one session per
Controller, as before.

  • Tool output no longer crosses between callers. Each tool captured its text by swapping the ops module's console for
    the length of the call; two calls at once could each receive the other's lines. Capture is now per call.
  • AKO tools build each Kubernetes client from the kubeconfig directly instead of through load_kube_config, which
    rewrote the process-wide default configuration — two calls on different contexts could reach each other's cluster.
    A client is rebuilt when the kubeconfig file changes.
  • Requires vmware-policy>=1.22.0.

v2.2.0 — serve MCP over HTTPS

Choose a tag to compare

@zw008 zw008 released this 15 Oct 11:10

vmware-avi mcp can now serve the network as well as stdio (HLD §16, via vmware-policy 1.21.0):

vmware-audit token create alice          # once per caller; shown once
vmware-avi mcp --transport https --host 0.0.0.0 --port 8443 \
    --cert server.pem --key server-key.pem --public-name mcp.example.com

Connect a client and manage callers (Claude Code shown; any MCP client with streamable HTTP and custom headers works):

claude mcp add --transport http vmware-avi https://mcp.example.com:8443/mcp \
    --header "Authorization: Bearer $VMWARE_MCP_TOKEN"
vmware-audit token list                  # names only
vmware-audit token revoke alice          # refused from its next request, no restart
  • Every request needs Authorization: Bearer <token>; the server will not start without a token, refuses Host or
    Origin values outside --public-name, and checks itself (unauthenticated requests must get 401) before it
    binds. --transport http binds loopback only, for a TLS-terminating reverse proxy.
  • Audit rows record the caller as token:<name> and the surface as mcp-https. Calls naming different targets
    run in parallel; calls naming no target run one at a time.
  • stdio remains the default; the vmware-avi-mcp console script and python -m are unchanged.
  • Everyone who can reach the endpoint acts with this server's account; run one endpoint per privilege level.
  • Requires vmware-policy>=1.21.0 and mcp>=1.28.

v2.1.0 — offer only read tools, plus chosen write tools

Choose a tag to compare

@zw008 zw008 released this 15 Oct 07:35

vmware-avi mcp can now offer a subset of this server's tools (HLD §17 D-16, via vmware-policy 1.20.0):

vmware-avi mcp --expose read --allow-write disable_lb_pool_member
  • --expose read (or VMWARE_AVI_MCP_EXPOSE=read) keeps only tools annotated readOnlyHint: true; --allow-write a,b
    (or VMWARE_AVI_MCP_ALLOW_WRITE) keeps chosen write tools on top. The default is unchanged: every tool.
  • A bad value, or a name that is not a write tool of this server, stops the server before it serves (exit 2).
    Flags and environment variables are not mixed; a blank flag counts as not given. Pre-2.0 names are accepted.
  • This limits what clients are offered; it is not authorization. See "Limiting which tools are offered" in
    references/setup-guide.md, which also notes that an agent with a shell can bypass MCP, so the account itself
    must be least-privilege.
  • Requires vmware-policy>=1.20.0.

v2.0.0 — MCP tools renamed verb-first

Choose a tag to compare

@zw008 zw008 released this 14 Oct 06:54

Every MCP tool in the VMware skill family now follows one naming convention: the verb comes first
(list_…, get_…, diff_…, force_…), followed by what it acts on. Where two skills would otherwise
expose the same name, the tool carries a domain word — AVI's pools are lb_ pools because vmware-vdi
has desktop pools, and vs_ / se_ are spelled out as virtual_service / service_engine.
All 28 tools in this skill are renamed. Parameters, annotations, the HLD §7 confirm gate
(confirm / deprecated confirmed / dry_run), the sensitive_result declarations on the helm
tools and behaviour are unchanged; only the names move.

Old name New name
ako_amko_status get_ako_amko_status
ako_clusters list_ako_clusters
ako_config_diff diff_ako_config
ako_config_show get_ako_config
ako_config_upgrade upgrade_ako_config
ako_ingress_check check_ako_ingress
ako_ingress_diagnose diagnose_ako_ingress
ako_ingress_map list_ako_ingresses
ako_logs get_ako_logs
ako_restart restart_ako
ako_status get_ako_status
ako_sync_diff diff_ako_sync
ako_sync_force force_ako_sync
ako_sync_status get_ako_sync_status
ako_version get_ako_version
pool_list list_lb_pools
pool_member_disable disable_lb_pool_member
pool_member_enable enable_lb_pool_member
pool_members list_lb_pool_members
se_health get_service_engine_health
se_list list_service_engines
ssl_expiry_check check_ssl_cert_expiry
ssl_list list_ssl_certs
vs_analytics get_virtual_service_analytics
vs_error_logs get_virtual_service_error_logs
vs_list list_virtual_services
vs_status get_virtual_service_status
vs_toggle set_virtual_service_enabled

CLI commands are unchanged (vmware-avi vs list, vmware-avi ako restart, …). Their audit rows
record the MCP twin's name, so those rows now carry the new names.

Deny rules in ~/.vmware/rules.yaml written with old names keep working with vmware-policy ≥ 1.18.0
(it matches both names); vmware-audit policy lists any rule that now matches more.

v1.11.0 — MCP instructions name the configured targets

Choose a tag to compare

@zw008 zw008 released this 20 Sep 14:48

initialize hands the client this server's instructions, and for a skill whose every tool takes a target that
text is the only place the client learns which targets exist. Until now this one shipped no instructions at all. The model then
called tools with no target, got whatever the default was, and answered confidently about the wrong system —
measured in vmware-monitor on 2026-09-15, where a standalone ESXi host was the default, so "how many VMs does the
vCenter have" was answered from that host.

The instructions now carry, built from the loaded config on every server start:

  • Configured targets: — each configured target with its host, and which one answers when none is named.
  • Choosing a target: — how to pick one from what the user asked, and to ask rather than guess when the
    request does not say and the targets would answer differently.

A config that cannot be read is said out loud, not dropped. On a machine that has not run init yet — every
new install — this server now reports Configured targets: could not be read (FileNotFoundError) from /var/folders/f4/m9slk8_d7w5_rc_jbfs219k00000gn/T/tmpqzgv38wv/.vmware-avi/config.yaml; run vmware-avi doctor to see which Controllers are configured. instead of falling silent. A client shown no listing cannot
tell "this skill has no targets worth naming" from "this skill could not read them", and only the first reading
produces a confident answer about a system nobody chose. Only the error's type is included; its text quotes the
config path.

No tool, parameter or result shape changed. A new family gate (mcp_instructions_name_targets.py, in
family_smoke) probes every server under an empty HOME, so the check runs in the state a new user is in rather
than the one the developer happens to be in.

v1.10.0 — MCP writes preview their blast radius until `confirm=true` (HLD §7)

Choose a tag to compare

@zw008 zw008 released this 19 Sep 03:53

Breaking for MCP callers:

  • vs_toggle, pool_member_disable, ako_restart, ako_sync_force and ako_config_upgrade take
    confirm: bool = False. A call without confirm=true returns
    {"action": "preview", "blast_radius": {...}, "hint": ...} and changes nothing.
  • Enabling a Virtual Service now previews too. vs_toggle(enable=true) used to act on the first
    call; a bare call now previews in both directions.
  • ako_config_upgrade with no arguments no longer runs helm upgrade --dry-run as its answer. The
    preview still runs it and returns the output as helm_dry_run, next to the blast radius.
  • Return type: all five tools returned a string; they now return a dict. Preview, noop (already
    in the requested state: VS already enabled/disabled, member already disabled), acted
    (action = enabled / disabled / drained / pod_deleted / upgraded, with the executor's
    message in result), or an error: a refusal or a failed executor run returns {"error": ..., "blast_radius": ...};
    an object that cannot be found (VS, pool, member) or a missing helm returns {"error": ..., "hint": ...}.
    The [preview] string prefix is gone.
  • Requires vmware-policy>=1.17.0, which audits a confirm=False preview as dry_run and redacts long
    audit text in linear time.
  • confirmed (all five) and dry_run (ako_config_upgrade) remain as deprecated aliases for one minor
    release, defaulting to null. The conservative reading wins: confirmed=true still acts (for the
    upgrade only together with dry_run=false, as before), but an explicit confirmed=false or
    dry_run=true holds even next to confirm=true. Any call that passes an alias gets a deprecated note.

Blast radius (L1), measured with reads the skill already makes:

  • vs_toggle: VS name and uuid, enabled now / after, oper status, VIPs, and every pool behind it
    (direct and through pool groups, via virtualservice-inventory) with member and enabled-member counts.
  • pool_member_disable: pool name and uuid, the member (IP, port, enabled, ratio), member count, enabled
    members before and after. When the pool's servers cannot be read, those counts are null (not 0)
    and servers is listed in unmeasured, so confirm=true refuses.
  • ako_restart / ako_sync_force: context, namespace, AKO pod name, uid, phase, ready, restarts, and the
    Ingresses (count, first 16) whose programming pauses.
  • ako_config_upgrade: release, namespace, chart and app version now, revision, status, chart it moves to
    (flagged when unpinned).

Refusals (L3) — confirm=true is refused with a teaching error, and audited as a failure, when:

  • the pool member is the pool's only enabled member, or its IP matches more than one member;
  • the AKO pod is already terminating;
  • helm upgrade --dry-run fails, or the release is in a pending-* state;
  • anything the blast radius depends on could not be read (VS uuid or pools, pool members, the pod, its
    uid, the Ingress list, the release status).

The AKO pod delete now carries a uid precondition: the pod deleted is the pod that was measured.
restart_ako / force_resync accept an optional uid for this; the CLI does not pass one and is unchanged.
CLI flags and prompts are unchanged.