Deployment

The servers run in your environment, next to the VCF Operations, VCF Operations for Logs and vCenter instances they connect to. They're delivered as container images and can be run either on Kubernetes with the Helm chart or on a single host with Docker Compose.

Delivery

ItemValue
DeliveryOCI container images, a Helm chart for Kubernetes and a docker-compose.yml for a single host
MCP transportStreamable HTTP and SSE
Health check/healthz and /readyz, used by the Kubernetes liveness and readiness probes
TLSTerminated by the server with TLS 1.3, or by an ingress that enforces TLS 1.3
CertificatesYour CA bundle is used to verify the VCF endpoints; verification can't be switched off
StateNone. The servers can be scaled horizontally

Container images

ImageServer
vcf-mcp/vcf-operations:1.0.0VCF Operations
vcf-mcp/vcf-operations-advanced:1.0.0VCF Operations advanced
vcf-mcp/operations-for-logs:1.0.0VCF Operations for Logs
vcf-mcp/vcenter:1.0.0vCenter

All four images share the same base and the same hardening: they run as a non-root user (UID 65532), the root filesystem is mounted read-only, and they contain no shell and no package manager. The only writable paths a server needs are the audit buffer directory and /tmp.

Before you install

Have these ready. Each one is described in the step that uses it.

ItemNotes
Which servers you needOne release per server. You can start with one and add the others later
A VCF account per serverA service account with the role that matches what the assistants should see. Start with read-only roles
A secret storeHashiCorp Vault, or your own secret middleware. The servers hold no credentials of their own
A server certificate and keyFor TLS 1.3 on the server, or on the ingress in front of it
Your CA bundleUsed to verify the VCF endpoints. There is no option to skip verification
Endpoint addressesVCF Operations, VCF Operations for Logs and vCenter, as the servers will reach them
A log destinationWhere the audit log goes: your log store, syslog, or VCF Operations for Logs
Kubernetes 1.27+, or Docker Engine 24+Either is a supported form of delivery

Installation

The steps below install the VCF Operations server on Kubernetes. The other servers differ only in the image, the server value and the endpoint. For a single host, see Installing with Docker instead of steps 4 and 5.

Step 1. Create the VCF service account

In VCF Operations, create the account the server will use and assign it a role. For a first deployment, use a role with read permissions only: the server can't change anything the account isn't allowed to change, so a read-only role makes the first deployment safe by construction. See Permission model.

Repeat for VCF Operations for Logs and vCenter if you deploy those servers.

Step 2. Store the credentials

The servers read credentials for each request and keep none in their configuration. Put them where the server will look for them:

vault kv put kv/vcf-mcp/vcf-operations \
  username=svc-mcp-ops \
  password='<password>' \
  authSource=local

With a secret middleware service instead of Vault, register the server there and note its address; you will set secrets.source: middleware in step 4. Both sources, and the rotation procedure, are described in Credential sources.

Step 3. Create the secrets for TLS and the CA bundle

kubectl create namespace vcf-mcp

kubectl create secret tls vcf-mcp-tls \
  --namespace vcf-mcp \
  --cert=./server.crt --key=./server.key

kubectl create secret generic corporate-ca \
  --namespace vcf-mcp \
  --from-file=ca.pem=./corporate-ca.pem

kubectl create secret generic vcf-mcp-api-keys \
  --namespace vcf-mcp \
  --from-literal=gateway='<client API key>'

The CA bundle may contain several certificates, for example a root and an issuing CA. See Certificate verification.

Step 4. Write the values file

values-vcf-ops.yaml, enough for a first deployment:

server: vcf-operations

endpoints:
  vcfOps: https://vcfops.example.internal

tls:
  enabled: true
  minVersion: "1.3"
  secretName: vcf-mcp-tls          # certificate and key for the server
  caBundleSecretName: corporate-ca # CA bundle used to verify VCF endpoints

auth:
  modes: [service-account, api-key, on-behalf-of]
  apiKeysSecretName: vcf-mcp-api-keys

secrets:
  source: vault
  vault:
    address: https://vault.example.internal:8200
    role: vcf-mcp
    path: kv/vcf-mcp/vcf-operations

operations:
  read:
    enabled: true
  write:
    enabled: false
  infrastructureActions:
    enabled: false

audit:
  destinations: [stdout, logs-ingestion]
  logsIngestion:
    url: https://logs.example.internal:9543/api/v2/events
    secretName: vcf-mcp-logs-ingestion

metrics:
  enabled: true
  serviceMonitor:
    enabled: true

Leave the write switches off for the first deployment. Every setting, including the ones this file doesn't mention, is in the configuration reference.

Step 5. Install the chart

helm install vcf-ops-mcp vcf-mcp/vcf-mcp \
  --namespace vcf-mcp \
  --values values-vcf-ops.yaml

Step 6. Check that the server is ready

kubectl get pods --namespace vcf-mcp
kubectl run curl --rm -it --image=curlimages/curl --restart=Never -- \
  curl -sS https://vcf-ops-mcp.vcf-mcp.svc:8011/readyz

A server reports itself ready only when its VCF endpoint, its secret store and, if configured, its policy engine all answer. A pod that stays unready has one of those three to blame, and its diagnostic log says which.

Step 7. Register the server and verify the tool list

Register the server address in your assistant, or in the MCP gateway your assistants already use, and confirm that the tools you expect are there and the ones you disabled aren't:

curl --request POST https://vcf-ops-mcp.example.internal/mcp \
  --header 'Content-Type: application/json' \
  --header 'X-MCP-Api-Key: <client API key>' \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

With the values from step 4, the list contains read tools only. Enabling groups of write operations is a separate decision, described in Authorization and change control.

Installing with Docker

For a single host, or for an evaluation, replace steps 4 and 5 with a Compose project. Steps 1, 2, 3, 6 and 7 still apply; the secrets become mounted files and environment variables.

services:
  vcf-operations-mcp:
    image: vcf-mcp/vcf-operations:1.0.0
    restart: unless-stopped
    ports:
      - "8011:8011"
    environment:
      MCP_LISTEN_ADDRESS: ":8011"
      MCP_TRANSPORTS: "http,sse"
      TLS_CERT_FILE: /etc/vcf-mcp/tls/tls.crt
      TLS_KEY_FILE: /etc/vcf-mcp/tls/tls.key
      TLS_MIN_VERSION: "1.3"
      CA_BUNDLE_FILE: /etc/vcf-mcp/ca/corporate-ca.pem
      VCF_OPS_URL: https://vcfops.example.internal
      AUTH_MODES: "service-account,api-key,on-behalf-of"
      SECRET_SOURCE: middleware
      MIDDLEWARE_URL: https://secrets.example.internal
      OPERATIONS_READ_ENABLED: "true"
      OPERATIONS_WRITE_ENABLED: "false"
      OPERATIONS_INFRASTRUCTURE_ACTIONS_ENABLED: "false"
      AUDIT_DESTINATIONS: "stdout,syslog"
      AUDIT_SYSLOG_ADDRESS: "logs.example.internal:1514"
      METRICS_LISTEN_ADDRESS: ":9090"
    volumes:
      - ./tls:/etc/vcf-mcp/tls:ro
      - ./ca:/etc/vcf-mcp/ca:ro
      - audit-buffer:/var/lib/vcf-mcp
    healthcheck:
      test: ["CMD", "/vcf-mcp", "healthcheck"]
      interval: 30s
      timeout: 5s
      retries: 3

volumes:
  audit-buffer:

Add one service block per server, changing the image, the published port and the endpoint variable. The servers are independent: they don't talk to each other.

What the Helm chart creates

ObjectNotes
DeploymentTwo replicas by default, rolling update, readOnlyRootFilesystem: true, runAsNonRoot: true, all capabilities dropped
ServicePort 8011 for MCP, port 9090 for metrics
IngressOptional. When tls.terminateAtIngress is set, the chart annotates the ingress with a minimum TLS version of 1.3
NetworkPolicyIngress only from the namespaces you list in networkPolicy.allowedNamespaces; egress only to the endpoints, the secret store and the policy engine
ServiceMonitorOptional, for the Prometheus Operator. See Metrics and monitoring
PodDisruptionBudgetOptional, minAvailable: 1
Secret referencesThe chart never contains credentials. It references the secrets you create

Probes are configured by the chart: /healthz as the liveness probe, /readyz as the readiness probe, so a server that has lost its VCF endpoint or its secret store is taken out of service instead of returning errors to assistants.

Recommended resources per server, as a starting point:

resources:
  requests:
    cpu: 100m
    memory: 128Mi
  limits:
    cpu: 500m
    memory: 512Mi

TLS

Communication with an MCP server is over HTTPS with TLS 1.3. Plain HTTP isn't supported.

There are two supported arrangements:

  • The server terminates TLS. Set TLS_CERT_FILE, TLS_KEY_FILE and TLS_MIN_VERSION (default 1.3). This is the default and the simplest to audit, because the encrypted connection ends at the process that handles the request.
  • An ingress or MCP gateway terminates TLS. Set tls.terminateAtIngress: true in the chart. The ingress must be configured with a minimum TLS version of 1.3, and the connection between the ingress and the pod must also use TLS 1.3, so keep the server's own certificate configured and let the ingress re-encrypt. An unencrypted hop between the ingress and the pod isn't a supported configuration.

Cipher suites are the TLS 1.3 suites offered by the platform: TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384 and TLS_CHACHA20_POLY1305_SHA256. Earlier TLS versions aren't negotiated, and TLS_MIN_VERSION accepts no value below 1.3.

Certificate verification

The servers verify the certificates of every endpoint they connect to: VCF Operations, VCF Operations for Logs, vCenter, the secret store and the policy engine. Verification is always on; there is no option to disable it.

Your certificate authority is supplied with CA_BUNDLE_FILE (Docker) or tls.caBundleSecretName (Kubernetes), as created in step 3. The bundle is added to the system trust store of the container at startup. The server rejects a certificate the bundle doesn't cover and reports the endpoint as not ready.

Configuration reference

Every setting is available as an environment variable and as a Helm value.

Server and transport

VariableHelm valueDefaultDescription
MCP_LISTEN_ADDRESSlistenAddress:8011Address and port for MCP
MCP_TRANSPORTStransportshttp,sseEnabled MCP transports
MCP_BASE_PATHbasePath/Path prefix, when the server is published under a subpath

TLS and certificates

VariableHelm valueDefaultDescription
TLS_CERT_FILEtls.secretName—Server certificate
TLS_KEY_FILEtls.secretName—Server private key
TLS_MIN_VERSIONtls.minVersion1.3Minimum TLS version. 1.3 is the lowest accepted value
CA_BUNDLE_FILEtls.caBundleSecretName—CA bundle used to verify endpoints

VCF endpoints

VariableHelm valueDefaultDescription
VCF_OPS_URLendpoints.vcfOps—VCF Operations Suite API
VCF_LOGS_URLendpoints.vcfLogs—VCF Operations for Logs API
VCENTER_URLendpoints.vcenter—vCenter Server
UPSTREAM_TIMEOUTendpoints.timeout30sTimeout for a call to a VCF API

Client authentication

VariableHelm valueDefaultDescription
AUTH_MODESauth.modesservice-account,api-key,on-behalf-ofModes the server accepts
API_KEYS_SECRETauth.apiKeysSecretName—Secret holding the client API keys
OBO_REQUIREDauth.oboRequiredfalseWhen true, a request without On-Behalf-Of credentials is rejected
OBO_IDENTITY_HEADERauth.oboIdentityHeaderX-MCP-On-Behalf-OfHeader carrying the end-user identity in service-account mode

Credential source

VariableHelm valueDefaultDescription
SECRET_SOURCEsecrets.sourcevaultvault, middleware or headers
VAULT_ADDRsecrets.vault.address—Vault address
VAULT_ROLEsecrets.vault.role—Role for Kubernetes authentication
VAULT_PATHsecrets.vault.path—KV path holding the credentials
MIDDLEWARE_URLsecrets.middleware.url—Secret middleware address

Operation switches

VariableHelm valueDefaultDescription
OPERATIONS_READ_ENABLEDoperations.read.enabledtrueAll read tools
OPERATIONS_WRITE_ENABLEDoperations.write.enabledfalseAll tools that change VCF
OPERATIONS_GROUPS_ENABLEDoperations.groupssee Operation switchesPer-group switches
OPERATIONS_INFRASTRUCTURE_ACTIONS_ENABLEDoperations.infrastructureActions.enabledfalseVCF Operations actions that may change monitored infrastructure
CONFIRMATION_TTLoperations.confirmationTtl5mLifetime of a confirmation token

Policy engine

VariableHelm valueDefaultDescription
OPA_URLpolicy.url—Policy engine address. Empty disables policy checks
OPA_POLICY_PATHpolicy.path/v1/data/vcfmcp/allowPolicy entry point
OPA_FAIL_MODEpolicy.failModeclosedBehaviour when the policy engine is unreachable
OPA_CACHE_TTLpolicy.cacheTtl10sDecision cache lifetime

Audit log

VariableHelm valueDefaultDescription
AUDIT_DESTINATIONSaudit.destinationsstdoutstdout, file, syslog, logs-ingestion, comma-separated
AUDIT_FILE_PATHaudit.file.path/var/lib/vcf-mcp/audit.jsonlAudit file
AUDIT_FILE_RETENTIONaudit.file.retention30dRetention for the audit file, in 100 MB segments
AUDIT_SYSLOG_ADDRESSaudit.syslog.address—Syslog target, RFC 5424 over TCP with TLS
AUDIT_LOGS_INGESTION_URLaudit.logsIngestion.url—VCF Operations for Logs ingestion endpoint
AUDIT_MASK_KEYSaudit.maskKeyssee Audit logAdditional parameter names to mask
AUDIT_BUFFER_PATHaudit.bufferPath/var/lib/vcf-mcp/bufferOn-disk buffer used when a destination is unavailable

Metrics and diagnostic logs

VariableHelm valueDefaultDescription
METRICS_LISTEN_ADDRESSmetrics.listenAddress:9090Address and port for /metrics
METRICS_AUTH_TOKENmetrics.authTokenSecretName—Optional bearer token required to scrape
LOG_LEVELlogging.levelinfoerror, warn, info, debug
LOG_FORMATlogging.formatjsonjson or text

Upgrade and rollback

helm upgrade vcf-ops-mcp vcf-mcp/vcf-mcp --values values-vcf-ops.yaml --version 1.1.0
helm rollback vcf-ops-mcp

The servers are stateless, so an upgrade is a rolling restart and a rollback needs no data migration. Confirmation tokens issued before the restart are invalidated; a user repeats the call and receives a new one.

Within a major version, tool names and their parameters don't change, and new tools may appear. A tool that's renamed or removed changes the major version. See Versioning and documentation availability.