vcf-lifecycle
Enables running VMware Cloud Foundation 9.1 upgrades component by component, using Fleet LCM for management components and SDDC Manager for the SDDC Manager step, with live-state prechecks, approval-gated writes, background waits, and manual-step listing for vCenter, NSX, ESX, and Supervisor upgrades.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vcf-lifecycle Run my VCF 9.1 upgrade from this Upgrade Planner export, one component at a time."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vcf-lifecycle
Overview
An MCP server and a skill that let Claude Code run VMware Cloud Foundation 9.1 upgrades, one component at a time, in the order of your Upgrade Planner export. You approve every change.
Component | Upgraded through |
Management components | Fleet LCM |
SDDC Manager | SDDC Manager |
Avi Load Balancer | Avi controller. Backup, image download and upload stay with you. |
vCenter, NSX, ESX, Supervisor | Not handled. The skill lists them as manual steps. |
Related MCP server: CyberHawk Veeam MCP
How it works
You paste the Upgrade Planner text export. The
vcf-upgradeskill reads the live state and shows the whole run as one table before it changes anything.For each component it runs the precheck, then the upgrade. Each write tool checks the live state, refuses if the call is not safe, and asks for your approval before it sends anything.
Waits run as background MCP tasks, so the session stays free while an upgrade runs.
At an Avi step the skill pauses for you to check interoperability and upload the image.
The run stops on any failure. Nothing is retried or rolled back.

More in architecture.
Quick start
You need Python 3.12 or later, uv and Claude Code 2.1.331 or later in the terminal. The desktop app does not show the approval prompt.
Install the server:
uv tool install git+https://github.com/warroyo/vcf-lifecycleRegister it. SDDC Manager and Avi are optional; Avi upgrades need all three hosts:
claude mcp add vcf-lifecycle \ -e VCF_FLEET_LCM_HOST=https://fleetlcm.example.com \ -e VCF_SDDC_MANAGER_HOST=https://sddcm.example.com \ -e VCF_SDDC_USERNAME=administrator@vsphere.local \ -e VCF_AVI_HOST=https://avi.example.com \ -e VCF_CA_FILE=/path/to/ca.pem \ -- vcf-lifecyclePut the passwords in the shell that starts Claude Code, then start it:
export VCF_PASSWORD=... VCF_SDDC_PASSWORD=... VCF_AVI_PASSWORD=... claudeRun
/vcf-lifecycle:vcf-upgradeand paste your Upgrade Planner text export.
All settings are in configuration.
Repo structure
src/vcf_lifecycle/ MCP server: tools, API clients, guards
skills/vcf-upgrade/ the upgrade workflow skill the server ships
tests/ unit tests, all HTTP mocked
scripts/ env loader and live read-only smoke tests
docs/ how-to, reference and explanation pages
LICENSE MITSee docs/README.md for all documentation.
Available Tools
29 toolsavi_imagesAvi ImagesC
Images on the Avi controller: uuid, name, type and upload state.
Inputs: no named parameters. Returns: result
avi_precheckAvi PrecheckA
Run the Avi upgrade pre-checks for an uploaded image after the user approves. target_version is the VCF release. scope and se_group_uuids are those of the avi_upgrade that follows.
Inputs: image_uuid (required), target_version (required), scope, se_group_uuids. Returns: result
avi_statusAvi StatusA
Avi controller cluster health, the version and upgrade state of the controller and each Service Engine group in every tenant, and the last precheck with the checks that did not pass.
Inputs: no named parameters. Returns: object
avi_upgradeAvi UpgradeA
Upgrade Avi to an uploaded image after the user approves. Needs an avi_precheck of the same image and scope without errors.
scope: system (controllers and all Service Engine groups), controller (controllers only) or service_engines (groups only, once the controller is at the target). se_group_uuids: for service_engines, the groups to upgrade (uuids from avi_status); left out, every group that is behind.
accept_warnings: check codes of precheck warnings the user has seen and explicitly accepted, for example ["SYSERR_MC_BACKUP_ERR"] once a backup is stored off the controller. Every warning must be listed, or the upgrade is refused.
Inputs: image_uuid (required), target_version (required), scope, se_group_uuids, +1 more. Returns: result
avi_waitAvi WaitA
Poll an Avi precheck or upgrade until it ends; return SUCCEEDED, WARNING, FAILED or UNKNOWN. Use the arguments avi_precheck or avi_upgrade returned.
Controller restarts are tolerated for about an hour. Results older than since are
ignored. An upgrade succeeds only when everything in scope reports the image's version.
Inputs: since (required), operation (required), image_name (required), scope, +1 more. Returns: object
fleet_applyFleet ApplyB
Apply the upgrade of ONE component after the user approves. Returns the Fleet task id.
Inputs: plan_id (required), component_id (required). Returns: result
fleet_componentsFleet ComponentsA
List Fleet LCM management components with id, type and current version.
Inputs: no named parameters. Returns: result
fleet_planFleet PlanB
Show one upgrade plan with the bundles it needs (GET /upgrade-plans/{id}/bundles).
Inputs: plan_id (required). Returns: object
fleet_plansFleet PlansA
List upgrade plans: id, status, target release version and the component targets.
Inputs: no named parameters. Returns: result
fleet_precheckFleet PrecheckB
Run the precheck for ONE component after the user approves. Returns the Fleet task id.
Inputs: plan_id (required), component_id (required). Returns: result
fleet_target_versionsFleet Target VersionsA
List release versions Fleet LCM can target (GET /release-versions/target-versions).
Inputs: no named parameters. Returns: result
fleet_taskFleet TaskA
Top-level status of a Fleet task plus its last few stage messages.
Only the top-level status decides success or failure; stages can fail and recover.
Inputs: task_id (required). Returns: object
fleet_tasksFleet TasksB
Recent Fleet tasks (id, name, status, createTime), newest first.
Inputs: limit. Returns: result
fleet_waitFleet WaitA
Poll a Fleet task until it reaches a terminal status; return the final status.
Tolerates transient 5xx and connection errors while Fleet's own pods restart.
Inputs: task_id (required). Returns: object
sddc_bundlesSddc BundlesB
Bundles known to SDDC Manager: id, type, to version, downloadStatus.
With target_version (for example 9.1.2.0), only bundles that end at that release.
Inputs: target_version. Returns: result
sddc_domainsSddc DomainsA
List SDDC Manager domains: id, name, type, status.
Inputs: no named parameters. Returns: result
sddc_downloadSddc DownloadB
Download one bundle now after the user approves. Returns the SDDC task id.
Inputs: bundle_id (required). Returns: result
sddc_planSddc PlanA
Plan a domain to a target VCF release (no custom patches) after the user approves.
Planning creates no task; check the result with sddc_release.
Inputs: domain_id (required), target_version (required). Returns: result
sddc_precheckSddc PrecheckB
Run the SDDC Manager upgrade precheck for the planned target after the user approves.
Returns the SDDC task id.
Inputs: domain_id (required). Returns: result
sddc_precheck_resultSddc Precheck ResultA
Result of a precheck run (the run id sddc_precheck returned): status, counts per severity, and the first 20 ERROR and WARNING items with remediation.
A SUCCESSFUL precheck task does not mean the checks passed; read this. Any ERROR means stop. severity (ERROR, WARNING, INFO) narrows the items listed.
Inputs: run_id (required), severity. Returns: object
sddc_releaseSddc ReleaseC
The target release planned for a domain (empty strings mean nothing is planned).
Inputs: domain_id (required). Returns: object
sddc_taskSddc TaskB
Top-level status of an SDDC Manager task plus its last few sub-tasks and errors.
Only the top-level status decides success or failure.
Inputs: task_id (required). Returns: object
sddc_upgradablesSddc UpgradablesC
Bundles SDDC Manager says can be applied next to a domain for a target release.
Joined with /bundles for the component type, versions and download status.
Inputs: domain_id (required), target_version (required). Returns: result
sddc_upgradeSddc UpgradeB
Upgrade the SDDC Manager component of a domain with one bundle after approval.
Returns the SDDC task id. Only SDDC Manager bundles are supported.
Inputs: bundle_id (required), domain_id (required). Returns: result
sddc_upgradesSddc UpgradesC
SDDC Manager upgrades (id, status, bundleId, taskId), as the API lists them.
Inputs: limit. Returns: result
sddc_upgrade_sequenceSddc Upgrade SequenceC
Upgrade sequences SDDC Manager computes for a domain and target release.
Inputs: domain_id (required), target_version (required). Returns: result
sddc_versionsSddc VersionsA
Installed vCenter, NSX, ESX and Avi versions, and what a target release's BOM lists.
The versions the user checks for interoperability before an Avi upgrade. Avi clusters
include their status, and avi_target_image is the controller image version to download.
A read that fails is named in errors; its value is unknown, not absent.
Inputs: target_version (required). Returns: object
sddc_waitSddc WaitA
Poll an SDDC Manager task until it reaches a terminal status; return the final status.
The SDDC Manager upgrade restarts SDDC Manager's own services, so connection errors, 5xx and 401 are tolerated for about 30 minutes (60 consecutive failures).
Inputs: task_id (required). Returns: object
vsp_healthVsp HealthA
VSP (VCF services runtime) status and node readiness.
Run before and after each management (Fleet LCM) component step.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Tools are mostly separated by product prefix (fleet_, sddc_, avi_, vsp_) and by lifecycle stage (list/status, plan, precheck, apply/upgrade, wait). A few singular/plural and action/read pairs such as fleet_plan/fleet_plans, fleet_task/fleet_tasks, and sddc_upgrades/sddc_upgrade rely heavily on descriptions, but an agent can generally distinguish them.
All names use snake_case with a consistent product/domain prefix, which makes the set predictable. The convention is not strictly verb_noun throughout, with many noun-style read tools and a few singular/plural distinctions, but it is still readable and coherent.
At 29 tools, the surface is heavy for the stated purpose and exceeds the typical well-scoped range. Several tools appear consolidatable, especially singular/plural status tools and repeated wait/precheck/status patterns across Fleet, SDDC Manager, and Avi.
The set covers the core lifecycle across Fleet LCM, SDDC Manager, and Avi: inventory/status, planning, precheck, execution, and waiting, plus VSP health. Minor gaps such as task cancellation or explicit rollback/retry operations remain, but normal upgrade workflows are well covered.
Maintenance
Related MCP Connectors
Claude Code / MCP skills for the dev pipeline: discover, spec, design, build, ship, operate.
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Deploy & release tracking with native MCP — ask Claude what's in production and cut the release.
Step-by-step workflows for ChatGPT, Claude and Claude Code: the AI gets one step at a time.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAutomates DevOps workflows like vulnerability resolution, code review, test generation, and DORA metrics through Claude Code slash commands, using a state machine for reliable execution.20 npmMIT
- AlicenseAqualityDmaintenanceEnables Claude to read and control Veeam Backup & Replication infrastructure through natural language, supporting full operator capabilities like starting/stopping jobs, creating backups, and monitoring threat detection via the VBR REST API.34Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI-assisted management of vCenter Server and standalone ESXi hosts, including lifecycle, deployment, guest operations, cluster management, datastore browsing, alarms, and investigations through natural language.60MIT
- AlicenseAqualityBmaintenanceEnables Claude to work directly with VCF Operations Orchestrator 9.x — searching, describing, and invoking any REST API operation, plus running workflows, actions, and ad-hoc scripts, with automatic conversion between plain JSON and Orchestrator types. Works embedded in VCF Automation or standalone, across multiple authentication modes.1764 npmMIT