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
| Item | Value |
|---|---|
| Delivery | OCI container images, a Helm chart for Kubernetes and a docker-compose.yml for a single host |
| MCP transport | Streamable HTTP and SSE |
| Health check | /healthz and /readyz, used by the Kubernetes liveness and readiness probes |
| TLS | Terminated by the server with TLS 1.3, or by an ingress that enforces TLS 1.3 |
| Certificates | Your CA bundle is used to verify the VCF endpoints; verification can't be switched off |
| State | None. The servers can be scaled horizontally |
Container images
| Image | Server |
|---|---|
vcf-mcp/vcf-operations:1.0.0 | VCF Operations |
vcf-mcp/vcf-operations-advanced:1.0.0 | VCF Operations advanced |
vcf-mcp/operations-for-logs:1.0.0 | VCF Operations for Logs |
vcf-mcp/vcenter:1.0.0 | vCenter |
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.
| Item | Notes |
|---|---|
| Which servers you need | One release per server. You can start with one and add the others later |
| A VCF account per server | A service account with the role that matches what the assistants should see. Start with read-only roles |
| A secret store | HashiCorp Vault, or your own secret middleware. The servers hold no credentials of their own |
| A server certificate and key | For TLS 1.3 on the server, or on the ingress in front of it |
| Your CA bundle | Used to verify the VCF endpoints. There is no option to skip verification |
| Endpoint addresses | VCF Operations, VCF Operations for Logs and vCenter, as the servers will reach them |
| A log destination | Where 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
| Object | Notes |
|---|---|
Deployment | Two replicas by default, rolling update, readOnlyRootFilesystem: true, runAsNonRoot: true, all capabilities dropped |
Service | Port 8011 for MCP, port 9090 for metrics |
Ingress | Optional. When tls.terminateAtIngress is set, the chart annotates the ingress with a minimum TLS version of 1.3 |
NetworkPolicy | Ingress only from the namespaces you list in networkPolicy.allowedNamespaces; egress only to the endpoints, the secret store and the policy engine |
ServiceMonitor | Optional, for the Prometheus Operator. See Metrics and monitoring |
PodDisruptionBudget | Optional, minAvailable: 1 |
Secret references | The 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_FILEandTLS_MIN_VERSION(default1.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: truein 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
| Variable | Helm value | Default | Description |
|---|---|---|---|
MCP_LISTEN_ADDRESS | listenAddress | :8011 | Address and port for MCP |
MCP_TRANSPORTS | transports | http,sse | Enabled MCP transports |
MCP_BASE_PATH | basePath | / | Path prefix, when the server is published under a subpath |
TLS and certificates
| Variable | Helm value | Default | Description |
|---|---|---|---|
TLS_CERT_FILE | tls.secretName | — | Server certificate |
TLS_KEY_FILE | tls.secretName | — | Server private key |
TLS_MIN_VERSION | tls.minVersion | 1.3 | Minimum TLS version. 1.3 is the lowest accepted value |
CA_BUNDLE_FILE | tls.caBundleSecretName | — | CA bundle used to verify endpoints |
VCF endpoints
| Variable | Helm value | Default | Description |
|---|---|---|---|
VCF_OPS_URL | endpoints.vcfOps | — | VCF Operations Suite API |
VCF_LOGS_URL | endpoints.vcfLogs | — | VCF Operations for Logs API |
VCENTER_URL | endpoints.vcenter | — | vCenter Server |
UPSTREAM_TIMEOUT | endpoints.timeout | 30s | Timeout for a call to a VCF API |
Client authentication
| Variable | Helm value | Default | Description |
|---|---|---|---|
AUTH_MODES | auth.modes | service-account,api-key,on-behalf-of | Modes the server accepts |
API_KEYS_SECRET | auth.apiKeysSecretName | — | Secret holding the client API keys |
OBO_REQUIRED | auth.oboRequired | false | When true, a request without On-Behalf-Of credentials is rejected |
OBO_IDENTITY_HEADER | auth.oboIdentityHeader | X-MCP-On-Behalf-Of | Header carrying the end-user identity in service-account mode |
Credential source
| Variable | Helm value | Default | Description |
|---|---|---|---|
SECRET_SOURCE | secrets.source | vault | vault, middleware or headers |
VAULT_ADDR | secrets.vault.address | — | Vault address |
VAULT_ROLE | secrets.vault.role | — | Role for Kubernetes authentication |
VAULT_PATH | secrets.vault.path | — | KV path holding the credentials |
MIDDLEWARE_URL | secrets.middleware.url | — | Secret middleware address |
Operation switches
| Variable | Helm value | Default | Description |
|---|---|---|---|
OPERATIONS_READ_ENABLED | operations.read.enabled | true | All read tools |
OPERATIONS_WRITE_ENABLED | operations.write.enabled | false | All tools that change VCF |
OPERATIONS_GROUPS_ENABLED | operations.groups | see Operation switches | Per-group switches |
OPERATIONS_INFRASTRUCTURE_ACTIONS_ENABLED | operations.infrastructureActions.enabled | false | VCF Operations actions that may change monitored infrastructure |
CONFIRMATION_TTL | operations.confirmationTtl | 5m | Lifetime of a confirmation token |
Policy engine
| Variable | Helm value | Default | Description |
|---|---|---|---|
OPA_URL | policy.url | — | Policy engine address. Empty disables policy checks |
OPA_POLICY_PATH | policy.path | /v1/data/vcfmcp/allow | Policy entry point |
OPA_FAIL_MODE | policy.failMode | closed | Behaviour when the policy engine is unreachable |
OPA_CACHE_TTL | policy.cacheTtl | 10s | Decision cache lifetime |
Audit log
| Variable | Helm value | Default | Description |
|---|---|---|---|
AUDIT_DESTINATIONS | audit.destinations | stdout | stdout, file, syslog, logs-ingestion, comma-separated |
AUDIT_FILE_PATH | audit.file.path | /var/lib/vcf-mcp/audit.jsonl | Audit file |
AUDIT_FILE_RETENTION | audit.file.retention | 30d | Retention for the audit file, in 100 MB segments |
AUDIT_SYSLOG_ADDRESS | audit.syslog.address | — | Syslog target, RFC 5424 over TCP with TLS |
AUDIT_LOGS_INGESTION_URL | audit.logsIngestion.url | — | VCF Operations for Logs ingestion endpoint |
AUDIT_MASK_KEYS | audit.maskKeys | see Audit log | Additional parameter names to mask |
AUDIT_BUFFER_PATH | audit.bufferPath | /var/lib/vcf-mcp/buffer | On-disk buffer used when a destination is unavailable |
Metrics and diagnostic logs
| Variable | Helm value | Default | Description |
|---|---|---|---|
METRICS_LISTEN_ADDRESS | metrics.listenAddress | :9090 | Address and port for /metrics |
METRICS_AUTH_TOKEN | metrics.authTokenSecretName | — | Optional bearer token required to scrape |
LOG_LEVEL | logging.level | info | error, warn, info, debug |
LOG_FORMAT | logging.format | json | json 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.