Skip to main content
Glama

VMware VKS

Автор: Wei Zhou, VMware by Broadcom — wei-wz.zhou@broadcom.com Это проект, созданный сообществом инженером VMware, а не официальный продукт VMware. Официальные инструменты разработчика VMware см. на developer.broadcom.com.

English | 中文

MCP Skill + CLI для управления VMware vSphere Kubernetes Service (VKS) — кластеры Supervisor, пространства имен vSphere и жизненный цикл кластеров VKS. 20 инструментов MCP.

License: MIT

Сопутствующие навыки

Часть семейства навыков VMware MCP. Каждый навык отвечает за отдельную область — устанавливайте только то, что вам нужно.

Навык

Область применения

Инструменты

Установка

vmware-aiops ⭐ точка входа

Жизненный цикл ВМ, развертывание, гостевые операции, кластеры

31

uv tool install vmware-aiops

vmware-monitor

Мониторинг (только чтение), тревоги, события, информация о ВМ

8

uv tool install vmware-monitor

vmware-storage

Хранилища данных, iSCSI, vSAN

11

uv tool install vmware-storage

vmware-nsx

Сети NSX: сегменты, шлюзы, NAT, IPAM

31

uv tool install vmware-nsx-mgmt

vmware-nsx-security

Микросегментация DFW, группы безопасности, Traceflow

20

uv tool install vmware-nsx-security

vmware-aria

Метрики Aria Ops, алерты, планирование емкости

18

uv tool install vmware-aria

Related MCP server: vmware-nsx

Предварительные требования

  • vSphere 8.0+ — API управления рабочими нагрузками (Supervisor) требуют vSphere 8.x

  • Включенное управление рабочими нагрузками — WCP должен быть включен как минимум на одном вычислительном кластере

  • Лицензия — vSphere Kubernetes Service (Enterprise Plus или VMware Cloud Foundation)

После настройки выполните vmware-vks check, чтобы убедиться, что все требования выполнены.

Быстрый старт

# Install
uv tool install vmware-vks

# Configure
mkdir -p ~/.vmware-vks
cp config.example.yaml ~/.vmware-vks/config.yaml
# Edit config.yaml with your vCenter host and username

echo "VMWARE_MY_VCENTER_PASSWORD=your_password" > ~/.vmware-vks/.env
chmod 600 ~/.vmware-vks/.env

# Verify
vmware-vks check

# Common operations
vmware-vks supervisor status domain-c1
vmware-vks namespace list
vmware-vks tkc list
vmware-vks tkc create my-cluster -n dev --version v1.28.4+vmware.1 --vm-class best-effort-large
vmware-vks tkc create my-cluster -n dev --apply

Типовые рабочие процессы

Развертывание нового кластера TKC

  1. Проверка совместимости → vmware-vks check

  2. Список доступных версий K8s → vmware-vks tkc versions -n dev

  3. Создание пространства имен (если нужно) → vmware-vks namespace create dev --cluster domain-c1 --storage-policy vSAN --cpu 16000 --memory 32768 --apply

  4. Создание кластера TKC → vmware-vks tkc create dev-cluster -n dev --version v1.28.4+vmware.1 --control-plane 1 --workers 3 --vm-class best-effort-large --apply

  5. Получение kubeconfig → vmware-vks kubeconfig get dev-cluster -n dev

Масштабирование рабочих узлов для нагрузочного тестирования

  1. Проверка текущего состояния → vmware-vks tkc get dev-cluster -n dev

  2. Масштабирование вверх → vmware-vks tkc scale dev-cluster -n dev --workers 6

  3. Мониторинг прогресса → vmware-vks tkc get dev-cluster -n dev (отслеживание фазы)

  4. Масштабирование вниз после теста

Управление ресурсами пространства имен

  1. Список пространств имен → vmware-vks namespace list

  2. Проверка использования → vmware-vks storage -n dev

  3. Обновление квоты → vmware-vks namespace update dev --cpu 32000 --memory 65536

Справочник инструментов (20 инструментов)

Supervisor

Инструмент

Описание

Тип

check_vks_compatibility

Проверка версии vCenter + статус WCP

Чтение

get_supervisor_status

Статус кластера Supervisor и API-эндпоинт K8s

Чтение

list_supervisor_storage_policies

Доступные политики хранения для пространств имен

Чтение

Пространство имен

Инструмент

Описание

Тип

list_namespaces

Все пространства имен vSphere со статусом

Чтение

get_namespace

Детали пространства имен (квоты, хранилище, роли)

Чтение

create_namespace

Создание пространства имен с предварительным просмотром (dry-run)

Запись

update_namespace

Изменение квот и политики хранения

Запись

delete_namespace

Удаление с защитой TKC (отклоняется, если есть кластеры)

Запись

list_vm_classes

Доступные классы ВМ для размеров TKC

Чтение

TKC

Инструмент

Описание

Тип

list_tkc_clusters

Список TanzuKubernetesCluster со статусом

Чтение

get_tkc_cluster

Детали кластера (узлы, состояние, условия)

Чтение

get_tkc_available_versions

Поддерживаемые версии K8s на Supervisor

Чтение

create_tkc_cluster

Создание TKC с планом YAML + стандартный dry-run

Запись

scale_tkc_cluster

Масштабирование количества рабочих узлов

Запись

upgrade_tkc_cluster

Обновление версии K8s

Запись

delete_tkc_cluster

Удаление с защитой рабочих нагрузок

Запись

Доступ

Инструмент

Описание

Тип

get_supervisor_kubeconfig

Kubeconfig YAML для Supervisor

Чтение

get_tkc_kubeconfig

Kubeconfig для TKC (stdout или файл)

Чтение

get_harbor_info

Информация о встроенном реестре Harbor

Чтение

list_namespace_storage_usage

Список PVC и статистика емкости

Чтение

Архитектура

User (Natural Language)
  ↓
AI Agent (Claude Code / Goose / Cursor)
  ↓ reads SKILL.md
  ↓
vmware-vks CLI  ─── or ───  vmware-vks MCP Server (stdio)
  │
  ├─ Layer 1: pyVmomi → vCenter REST API
  │   Supervisor status, storage policies, Namespace CRUD, VM classes, Harbor
  │
  └─ Layer 2: kubernetes client → Supervisor K8s API endpoint
      TKC CR apply / get / delete  (cluster.x-k8s.io/v1beta1)
      Kubeconfig built from Layer 1 session token
  ↓
vCenter Server 8.x+ (Workload Management enabled)
  ↓
Supervisor Cluster → vSphere Namespaces → TanzuKubernetesCluster

Справочник CLI

# Pre-flight diagnostics
vmware-vks check

# Supervisor
vmware-vks supervisor status <cluster-id>
vmware-vks supervisor storage-policies

# Namespace
vmware-vks namespace list
vmware-vks namespace get <name>
vmware-vks namespace create <name> --cluster <id> --storage-policy <policy>
vmware-vks namespace create <name> --cluster <id> --storage-policy <policy> --apply
vmware-vks namespace update <name> [--cpu <mhz>] [--memory <mib>]
vmware-vks namespace delete <name>
vmware-vks namespace vm-classes

# VKS Cluster
vmware-vks tkc list [-n <namespace>]
vmware-vks tkc get <name> -n <namespace>
vmware-vks tkc versions -n <namespace>
vmware-vks tkc create <name> -n <namespace> [--version <v>] [--vm-class <c>]
vmware-vks tkc create <name> -n <namespace> --apply
vmware-vks tkc scale <name> -n <namespace> --workers <n>
vmware-vks tkc upgrade <name> -n <namespace> --version <v>
vmware-vks tkc delete <name> -n <namespace>

# Kubeconfig
vmware-vks kubeconfig supervisor -n <namespace>
vmware-vks kubeconfig get <cluster-name> -n <namespace> [-o <path>]

# Harbor & Storage
vmware-vks harbor
vmware-vks storage -n <namespace>

Сервер MCP

После uv tool install vmware-vks запустите сервер MCP одной командой (v1.5.15+):

# Recommended — single command, no network re-resolve
vmware-vks mcp

# With a custom config path
VMWARE_VKS_CONFIG=/path/to/config.yaml vmware-vks mcp

Конфигурация агента

Добавьте в конфигурацию MCP вашего ИИ-агента:

{
  "mcpServers": {
    "vmware-vks": {
      "command": "vmware-vks",
      "args": ["mcp"],
      "env": {
        "VMWARE_VKS_CONFIG": "~/.vmware-vks/config.yaml"
      }
    }
  }
}
# Run without installing (requires PyPI access each launch)
uvx --from vmware-vks vmware-vks mcp

# Legacy entry point (still works, kept for backward compatibility)
vmware-vks-mcp

Находитесь за корпоративным TLS-прокси? uvx может завершиться ошибкой invalid peer certificate: UnknownIssuer. Используйте рекомендованный формат vmware-vks mcp выше (сеть не требуется) или установите UV_NATIVE_TLS=true.

Безопасность

Функция

Описание

Преимущественное чтение

12 из 20 инструментов доступны только для чтения

Стандартный dry-run

create_namespace, create_tkc_cluster, delete_namespace, delete_tkc_cluster по умолчанию имеют dry_run=True

Защита TKC

delete_namespace отклоняет удаление, если внутри есть кластеры TKC

Защита нагрузок

delete_tkc_cluster отклоняет удаление, если запущены Deployments/StatefulSets

Безопасность учетных данных

Пароли берутся только из переменных окружения (файл .env), никогда не хранятся в config.yaml

Аудит-логирование

Все операции записи логируются в ~/.vmware-vks/audit.log

Транспорт stdio

Нет сетевого прослушивателя; MCP работает только через stdio

Устранение неполадок

Ошибка "VKS not compatible"

Управление рабочими нагрузками должно быть включено в vCenter. Проверьте: vCenter UI -> Workload Management. Требуется vSphere 8.x+ с лицензией Enterprise Plus или VCF.

Ошибка создания пространства имен "storage policy not found"

Сначала выведите список доступных политик: vmware-vks supervisor storage-policies. Имена политик чувствительны к регистру.

Кластер TKC застрял в фазе "Creating"

Проверьте события Supervisor в vCenter. Распространенные причины: недостаточно ресурсов на хостах ESXi, сетевые проблемы с NSX-T или политика хранения недоступна на целевом хранилище данных.

Ошибка получения Kubeconfig

API-эндпоинт Supervisor должен быть доступен с машины, на которой запущен vmware-vks. Проверьте правила брандмауэра для порта 6443.

Операция масштабирования не дает эффекта

Перед масштабированием убедитесь, что кластер находится в фазе "Running". Кластеры в фазе "Creating" или "Updating" отклоняют операции масштабирования.

Удаление пространства имен неожиданно отклонено

Защита удаления пространства имен предотвращает удаление, если внутри существуют кластеры TKC. Сначала удалите все кластеры TKC в пространстве имен, затем повторите попытку.

Совместимость версий

vSphere

Поддержка

Примечания

8.0+

Полная

Доступны API управления рабочими нагрузками

7.x

Не поддерживается

Поверхность API WCP отличается; используйте vSphere 8.x

Связанные проекты

Навык

Область применения

Инструменты

Установка

vmware-aiops ⭐ точка входа

Жизненный цикл ВМ, развертывание, гостевые операции, кластеры

31

uv tool install vmware-aiops

vmware-monitor

Мониторинг (только чтение), тревоги, события, информация о ВМ

8

uv tool install vmware-monitor

vmware-storage

Хранилища данных, iSCSI, vSAN

11

uv tool install vmware-storage

vmware-nsx

Сети NSX: сегменты, шлюзы, NAT, IPAM

31

uv tool install vmware-nsx-mgmt

vmware-nsx-security

Микросегментация DFW, группы безопасности, Traceflow

20

uv tool install vmware-nsx-security

vmware-aria

Метрики Aria Ops, алерты, планирование емкости

18

uv tool install vmware-aria

Лицензия

MIT

Available Tools

25 tools
check_vks_compatibilityA
Read-onlyIdempotent

[READ] Check whether this vCenter supports VKS (requires vSphere 8.x+).

Returns compatible (bool), vcenter_version, wcp_enabled_clusters and wcp_clusters ({cluster, status}). Start here: those cluster MoRefs are the cluster_id for get_supervisor_status and create_namespace. Only reports vCenter-level support — a listed cluster may still be CONFIGURING.

Inputs: target.

create_namespaceA

[WRITE] Create a vSphere Namespace on a Supervisor Cluster.

Without confirm=True this only previews: it returns blast_radius (the spec that would be applied, and whether the name is already taken) and creates nothing. Show it to the user and get their decision. Do not set confirm=True on your own because the user asked earlier — they have not seen the preview yet. confirm=True returns {action: "created", namespace, status, cluster, blast_radius}; it is refused when the name is taken (use update_namespace) or the existing names could not be read. Confirm with get_namespace afterwards.

Inputs: name (required), cluster_id (required), storage_policy (required), target, +4 more.

create_tkc_clusterA

[WRITE] Create a TanzuKubernetesCluster in a vSphere Namespace.

Without confirm=True this only previews: it returns blast_radius (node counts, VM class, the YAML manifest, and whether the name is taken) and creates nothing. Show it to the user and get their decision. Do not set confirm=True on your own because the user asked earlier — they have not seen the preview yet. confirm=True returns {action: "created", name, namespace, status: "creating", yaml, blast_radius} and provisions in the background — poll get_tkc_cluster and inspect its conditions/readiness. Refused when the name is taken or the namespace's clusters could not be read. Call get_tkc_available_versions for k8s_version and list_vm_classes first. Requires a discovered v1beta1 or v1beta2 API. Preview and apply run Supervisor admission with dryRun=All and strict field validation; rejection stops creation. v1beta2 requires an explicit installed cluster_class; use cluster_class_namespace for shared classes. No automatic rebase or variable conversion. vSphere/VCF 9.1 end-to-end deployment is not lab validated.

Inputs: name (required), vm_class (required), namespace (required), k8s_version (required), +7 more.

delete_namespaceA
Destructive

[WRITE] Delete a vSphere Namespace and everything inside it (irreversible).

Without confirm=True this only previews: it returns blast_radius (the namespace, and the TKC clusters, VMs and PVCs inside it, with counts and names) and deletes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user said "delete" earlier: they have not seen what it destroys yet.

confirm=True returns {action: "deleted", namespace, status, blast_radius}. Refused while TKC clusters exist inside (run delete_tkc_cluster on each), and whenever the clusters, VMs or PVCs inside could not be read. Prefer update_namespace to only change quotas.

Inputs: name (required), target, confirm.

delete_tkc_clusterA
Destructive

[WRITE] Delete a TKC cluster and all of its nodes (irreversible).

Without confirm=True this only previews: it returns blast_radius (control plane and worker node counts per pool, and the running Deployments, StatefulSets and DaemonSets) and deletes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user said "delete" earlier: they have not seen what it destroys yet.

confirm=True returns {action: "deleted", name, namespace, status: "deleting", blast_radius}. Refused while workloads run (drain them, or pass force=True, which skips the workload check entirely) and whenever the node counts or workloads could not be read. Use scale_tkc_cluster instead for fewer nodes. Empty a namespace of TKC clusters before delete_namespace accepts it.

Inputs: name (required), namespace (required), force, target, +1 more.

get_access_infoA
Read-onlyIdempotent

[READ] Which account this server uses, and whether it holds each tool's vSphere privileges.

Use this when a tool fails with a permission error, or before a write, to check what the configured account may do. Asks vCenter about the current session (needs only System.View, so any account can ask about itself). Returns target, account, the privilege states, and for one tool its requires/verdict/meaning; without tool, every tool grouped by verdict. Gotchas: privileges are checked on the root folder only, and a verdict of not_granted_at_root is NOT "no access" — it may be granted on a specific cluster. undetermined means vCenter did not answer; never read it as granted. Kubernetes calls (TKC, VM Service, kubeconfigs) are authorized by the namespace's view/edit/owner permission, which this cannot check, so those tools report undetermined. Namespace writes need Namespaces.Configure.

Inputs: tool, target.

get_harbor_infoA
Read-onlyIdempotent

[READ] Get status of the embedded Harbor container registry on the Supervisor.

Returns {registries: [{id, cluster (Supervisor MoRef), version, url, status, storage_used_mb}]}; status and storage come from a detail call and are null if it fails. If Harbor is not enabled it returns {error, hint} rather than raising. Use it to check registry health or find the push URL — it does not list repositories or images. Run check_vks_compatibility first if the Supervisor may be down.

Inputs: target.

get_namespaceA
Read-onlyIdempotent

[READ] Get detailed configuration for a single vSphere Namespace.

Returns one raw vCenter namespace object, not the list envelope: config_status, description, storage_specs, quotas. Use list_namespaces first for the name; follow with list_namespace_storage_usage for PVC usage or list_tkc_clusters for the clusters inside. Point-in-time only — a CONFIGURING namespace may not have quotas applied.

Inputs: name (required), target.

get_supervisor_statusA
Read-onlyIdempotent

[READ] Get the health of one Supervisor Cluster (vSphere with Tanzu control plane).

Returns cluster_id, config_status (RUNNING = healthy, else CONFIGURING / ERROR / REMOVING), kubernetes_status (READY / WARNING / ERROR), api_server_cluster_endpoint, kubernetes_version (null plus kubernetes_version_hint if unavailable), and network_provider. Run check_vks_compatibility first for cluster IDs; use this to confirm a Supervisor is healthy before create_namespace or create_tkc_cluster. On vCenter 9.1+, optional version lookup requires Namespaces.Manage for Supervisor topology and Namespaces.Upgrade for version evidence. Missing access leaves the version unknown; it does not grant or bypass RBAC.

Inputs: cluster_id (required), target.

get_supervisor_upgrade_riskA
Read-onlyIdempotent

[READ] Check the vCenter 9.1.0/9.1.1 Supervisor pre-upgrade advisory scope.

Reads the source vCenter version/build and Supervisor cluster inventory. Returns advisory_applicability, supervisor_presence and next_step. The vLCM/VUM database schema is unmeasured: this tool never grants upgrade clearance. Use the official checker in Broadcom KB 455737 or VDT before upgrading an affected environment. No database script is run here.

Inputs: target, target_version.

get_tkc_available_versionsA
Read-onlyIdempotent

[READ] List Kubernetes versions (TanzuKubernetesReleases) available on the Supervisor.

Returns {versions: [{name, version, e.g. 'v1.28.4+vmware.1'}]}, newest first. If the TanzuKubernetesRelease API is unavailable it returns an empty versions list with error and hint rather than raising. Call this before create_tkc_cluster or upgrade_tkc_cluster to pick a valid k8s_version.

Inputs: namespace (required), target.

get_tkc_clusterA
Read-onlyIdempotent

[READ] Get detailed status for a single TKC cluster.

Returns one object, not the list envelope: name, namespace, phase, k8s_version, control_plane_replicas, worker_pools, worker_replica_total (null if any pool is autoscaled or unknown), conditions, infrastructure_ready, control_plane_ready. The legacy worker_replicas field names only the first pool. Run list_tkc_clusters first — a TKC name is only unique within one namespace. Poll this after create_tkc_cluster, scale_tkc_cluster or upgrade_tkc_cluster to watch an async change land.

Inputs: name (required), namespace (required), target.

issue_supervisor_kubeconfigA
Idempotent

[WRITE] Credential access: issue a kubeconfig for the Supervisor K8s API.

Call only when the user explicitly asks for this kubeconfig; never as a side step. Returns {namespace, kubeconfig} as a YAML string, or {namespace, written_to} when output_path is given. The kubeconfig embeds a Supervisor bearer token (JWT from /wcp/login) that acts as the configured vCenter account until the JWT expires (typically hours; not tied to this process) — always pass output_path so the token never enters agent context, and report only the path. The file is created owner-only (0600). For TKC workloads, see issue_tkc_kubeconfig and its vSphere 9.1 limitation before issuing a guest-cluster credential.

Inputs: namespace (required), target, output_path.

issue_tkc_kubeconfigA
Idempotent

[WRITE] Credential access: issue a kubeconfig for one TKC cluster.

Call only when the user explicitly asks for this kubeconfig; never as a side step. Returns {cluster, kubeconfig}, or {cluster, written_to} when output_path is given. The kubeconfig embeds a Supervisor bearer token (JWT from /wcp/login) that acts as the configured vCenter account until the JWT expires (typically hours; not tied to this process) — always pass output_path so the token never enters agent context, and report only the path. Nothing in the managed cluster changes, but output_path creates parent directories and truncates the named file (owner-only, 0600), so output_path='~/.kube/config' replaces the user's own kubeconfig. Run list_tkc_clusters first for name and namespace; use issue_supervisor_kubeconfig instead for Supervisor-level access. On one reported VCF 9.1 deployment, the guest cluster API rejects this Supervisor JWT with 401. A generated file does not prove guest access; verify it against the guest API before relying on it (issue #27).

Inputs: name (required), namespace (required), target, output_path.

list_namespacesA
Read-onlyIdempotent

[READ] List all vSphere Namespaces on the target vCenter with their status.

Returns the list envelope: items of {namespace, config_status (RUNNING = healthy, CONFIGURING, REMOVING, ERROR), description} plus returned/total/truncated — one call returns them all, so truncated is always false. Start here, then call get_namespace for detail, list_tkc_clusters for what runs inside, or update_namespace / delete_namespace to change one.

Inputs: target.

list_namespace_storage_usageA
Read-onlyIdempotent

[READ] List PersistentVolumeClaims and storage usage inside one vSphere Namespace.

Via the Supervisor K8s API. Returns the family list envelope: {namespace, items: [{name, namespace, status (Bound / Pending / Lost), capacity ('10Gi'), storage_class}], returned, limit, total, truncated, hint}. Every PVC comes back in one call, so truncated is always False. Run list_namespaces first for the namespace; use list_supervisor_storage_policies instead for policy-level rather than PVC-level information. 'pvcs' and 'pvc_count' are deprecated pre-1.8.0 aliases of 'items' and 'returned', removed in 2.0 — read 'items'.

Inputs: namespace (required), target.

list_supervisor_storage_policiesA
Read-onlyIdempotent

[READ] List vCenter storage policies assignable to Supervisor Namespaces.

Returns the list envelope: items of {policy (ID), name, description} plus returned/total/truncated — one call returns them all, so truncated is always false. Call this before create_namespace or update_namespace and pass the 'policy' ID as their storage_policy. For PVC-level usage use list_namespace_storage_usage instead.

Inputs: target.

list_tkc_clustersA
Read-onlyIdempotent

[READ] List TanzuKubernetesCluster (TKC) clusters, optionally in one namespace.

Returns the family list envelope: {items: [{name, namespace, phase, k8s_version}], returned, limit, total, truncated, hint}. The Supervisor list is walked to completion, so truncated is always False. Start here, then call get_tkc_cluster for full detail or issue_tkc_kubeconfig for access. 'clusters' is a deprecated pre-1.8.0 alias of 'items', removed in 2.0 — read 'items'.

Inputs: target, namespace.

list_vm_classesA
Read-onlyIdempotent

[READ] List VM classes available for sizing TKC cluster nodes.

Returns the list envelope: items of {id (e.g. 'best-effort-large'), cpu_count, memory_mb, gpu_count (vGPU + DirectPath I/O; 0 if none)} plus returned/total/truncated — one call returns them all, so truncated is always false. Call this before create_tkc_cluster and pass the chosen 'id' as its vm_class; 'guaranteed-' classes reserve resources, 'best-effort-' do not.

Inputs: target.

list_vm_service_groupsA
Read-onlyIdempotent

[READ] List VirtualMachineGroup objects and their bootOrder in a Namespace.

VM Service groups (vmoperator.vmware.com CRD, v1alpha4+) via the Supervisor K8s API — the served CRD version is discovered at runtime. Returns the family list envelope: items of {name, namespace, boot_order, member_count} plus returned/total/truncated (walked to completion) and served_version. boot_order mirrors spec.bootOrder: an ordered list of {members: [{kind, name}], power_on_delay?}. Older Supervisors without v1alpha4 return a teaching error naming the required version.

Inputs: namespace (required), target.

list_vm_service_network_interfacesA
Read-onlyIdempotent

[READ] List the network interfaces (multi-NIC) of one VirtualMachine.

Reads spec.network.interfaces[] off a single VM Service VirtualMachine (vmoperator.vmware.com) via the Supervisor K8s API; the served CRD version is discovered at runtime. Returns the family list envelope: items of {name, network_name, network_kind, network_api_version} plus returned/total/truncated and vm_name/served_version. A VM with no network block returns an empty list, not an error. Run list_namespaces for the namespace; the VM name comes from your own VM inventory in that namespace.

Inputs: vm_name (required), namespace (required), target.

list_vm_service_snapshotsA
Read-onlyIdempotent

[READ] List VirtualMachineSnapshot objects in a vSphere Namespace.

VM Service snapshots (vmoperator.vmware.com CRD, new at v1alpha5) via the Supervisor K8s API — the served CRD version is discovered at runtime, not hardcoded. Returns the family list envelope: items of {name, namespace, vm_name, created, ready} plus returned/total/truncated (walked to completion, so truncated is always false) and served_version. If the Supervisor is older than v1alpha5 the error names the required version. Run list_namespaces first for the namespace; use list_vm_service_network_interfaces for a VM's NICs.

Inputs: namespace (required), target.

scale_tkc_clusterA

[WRITE] Scale the worker node count of an existing TanzuKubernetesCluster (TKC).

Asynchronous: returns {name, namespace, pool, worker_count, status: "scaling"} immediately — poll get_tkc_cluster to watch nodes appear or drain. Scales workers only; use upgrade_tkc_cluster instead for the K8s version. Not destructive, but lowering worker_count drains removed nodes.

Inputs: name (required), namespace (required), worker_count (required), target, +1 more.

update_namespaceA

[WRITE] Update resource quotas or storage policy of an existing vSphere Namespace.

Only the fields you pass are patched; omitting all of them returns status "no_changes" without an API call, otherwise {namespace, status: "updated"}. Applies immediately — no dry run, no undo. Use this rather than create_namespace when the namespace exists; valid storage_policy values come from list_supervisor_storage_policies.

Inputs: name (required), target, cpu_limit, storage_policy, +1 more.

upgrade_tkc_clusterA

[WRITE] Upgrade a TKC cluster to a new Kubernetes version.

Returns {name, namespace, new_version, status: "upgrading"}. Asynchronous and irreversible — Kubernetes cannot be downgraded, so poll get_tkc_cluster until phase is running. There is no dry run. Use this only for the K8s version; prefer scale_tkc_cluster for node counts.

Inputs: name (required), namespace (required), k8s_version (required), target.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 25 tools

    Disambiguation4/5

    Most tools target a distinct resource+action, and the namespaces vs TKC clusters vs supervisor resources are clearly separated by the names. The only mild overlap is among the supervisor-level reads (get_supervisor_status, check_vks_compatibility, get_supervisor_upgrade_risk) plus get_harbor_info, which all inspect supervisor state, though their descriptions distinguish health, compatibility, upgrade scope, and registry.

    Naming Consistency5/5

    Every tool follows a consistent verb_noun snake_case pattern (list_namespaces, create_tkc_cluster, delete_namespace, issue_tkc_kubeconfig, check_vks_compatibility). Resource prefixes (tkc, supervisor, vm_service, namespace) are applied consistently, with no mixed styles or casing.

    Tool Count3/5

    At 25 tools the surface sits at the heavy boundary for the rubric. The broad VKS domain (namespaces, TKC, supervisor, storage, VM Service, credentials) justifies most of them and each is specific, but the set is large enough that it feels borderline heavy for an agent to reason over.

    Completeness3/5

    Namespace and TKC cluster lifecycles are essentially fully covered (create/read/update/scale/upgrade/delete), but the VM Service tools are read-only (list snapshots/groups/NICs with no create/get/delete of VMs) and Harbor is info-only with no repository/image operations or PVC management. These are notable gaps, though agents can work around them for the core provisioning flows.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers