Authorization and change control
Three independent layers decide what an assistant can do with a server. Two of them are part of the server itself and work with no gateway, no policy engine and no other component.
Three layers
| Layer | Always present | Decides | Configured in |
|---|---|---|---|
| 1. Identity permissions in VCF | Yes | What the identity used for the request may read and change | VCF Operations, VCF Operations for Logs, vCenter |
| 2. Operation switches | Yes | Which groups of operations the server exposes at all | The server configuration: Helm values or environment variables |
| 3. Policy-based tool access | No | Which individual tools an identity may see and call | Your policy engine, in front of or alongside the server |
The layers are evaluated in the order 3, 2, 1: a tool blocked by policy is never listed, a tool in a disabled group is rejected by the server, and an operation that passes both is still subject to the permissions of the account in VCF.
Operation switches
Operations can be enabled and disabled independently of access to data, separately for reading and for writing, and per group of operations. This is a property of the server, not of the deployment around it.
| Switch | Default | Tools it covers |
|---|---|---|
operations.read.enabled | true | Every R tool of the server |
operations.write.enabled | false | Every W and I tool of the server |
operations.groups.alerts | false | Acknowledging, suspending, cancelling, releasing, assigning and annotating alerts |
operations.groups.alertDefinitions | false | Creating, updating, enabling, disabling and deleting alert definitions |
operations.groups.symptomDefinitions | false | Creating, updating, enabling, disabling and deleting symptom definitions |
operations.groups.reports | false | Generating and deleting reports |
operations.groups.logAlerts | false | Creating, updating, enabling, disabling and deleting log alert definitions |
operations.groups.webhooks | false | Creating, updating and deleting webhooks |
operations.groups.logForwarders | false | Creating, updating and deleting log forwarders |
operations.groups.notifications | false | Notification channels and e-mail recipients |
operations.groups.vsphereIntegrations | false | Connecting, changing and disconnecting vCenter instances in VCF Operations for Logs |
operations.groups.users | false | Creating, updating and deleting local users |
operations.infrastructureActions.enabled | false | vcfops_performAction, which runs an action defined in VCF Operations |
A tool in a disabled group isn't listed to the assistant, so it can't be called by mistake, and direct calls to it are rejected and recorded in the audit log with decision: "denied-switch".
Infrastructure actions are a separate decision
operations.infrastructureActions.enabled is the only switch that allows an operation to reach beyond the monitoring system. In the default configuration the servers expose no operation that changes the state or configuration of monitored infrastructure: actions defined in VCF Operations can be listed and their parameters inspected, but not run. Enabling this group means an assistant can run actions such as changing the power state or the CPU and memory of a virtual machine, as far as the account's permissions allow. Keep it off unless your change-management process explicitly covers it.
Policy-based tool access
Which tools an assistant can see and call can additionally be decided per request by a policy engine, for example Open Policy Agent. The server, or your MCP gateway, asks the engine before listing tools and before every call. Tools that aren't allowed don't appear to the assistant at all.
The input document sent to the policy:
{
"subject": "[email protected]",
"roles": ["operator"],
"identity_type": "user",
"server": "vcf-operations",
"action": "tools/call",
"tool": "vcfops_delete_alert_definition",
"tool_type": "I",
"request_id": "01JBQ8M4ZC7R",
"client_address": "10.42.0.17"
}
A policy that grants read access to everyone, writes to operators and irreversible operations to administrators:
package vcfmcp
default allow := false
allow if {
input.tool_type == "R"
}
allow if {
input.tool_type == "W"
"operator" in input.roles
}
allow if {
input.tool_type == "I"
"admin" in input.roles
}
| Behaviour | Detail |
|---|---|
| Tool listing | tools/list is filtered with the same policy, so an assistant never sees a tool it may not call |
| Unreachable engine | OPA_FAIL_MODE=closed, the default, rejects calls while the engine is unavailable. Set open only if availability matters more than the restriction |
| Caching | Decisions are cached for OPA_CACHE_TTL, ten seconds by default |
| Audit | A rejected call is recorded with decision: "denied-policy" and the policy decision identifier |
Policies are deployment data: we ship examples, you adapt them to your roles.
Optional aggregator
Several servers can be published behind one aggregator: your MCP gateway, or a tool registry in front of the servers. It's optional, and the table shows what moves when you use one.
| Responsibility | With an aggregator | Without one |
|---|---|---|
| Address for assistants | One endpoint for all servers | One endpoint per server |
| Tool registry | Combined list from every server, filtered per identity | Each server lists its own tools |
| Client authentication | The aggregator validates the API key or the session | The server validates X-MCP-Api-Key |
| Credential injection | The aggregator or the secret middleware sets the credential headers | The server reads credentials from Vault or the middleware |
| Policy decisions | Asked once, before routing | Asked by the server |
| Correlation | The aggregator sets X-Request-Id, which appears in the audit log of every server | The server generates one |
| Operation switches | Unchanged. They remain in each server | Unchanged |
Two-step confirmation
An operation that changes VCF, and every operation that can't be undone, isn't executed on the first call. The server returns a description of the change and a confirmation token; the operation runs only when the call is repeated with that token and unchanged parameters.
| Property | Value |
|---|---|
| Scope | All I tools in every server, and the W tools listed below |
| Token lifetime | CONFIRMATION_TTL, five minutes by default |
| Reuse | Single use. A token is bound to the identity, the tool and the exact parameters |
| Parameter change | A token presented with different parameters is rejected |
| Audit | The first call, the confirmed call and every rejected or expired attempt are recorded. The confirmed record carries confirmation.approvedBy |
Operations that require confirmation:
| Server | Tools |
|---|---|
| VCF Operations, VCF Operations advanced | vcfops_delete_alert_definition, vcfops_deleteSymptomDefinition, vcfops_delete_report, and vcfops_performAction when infrastructure actions are enabled |
| VCF Operations for Logs | arlog_deleteAlertDefinition, arlog_deleteWebhook, arlog_deleteLogForwarder, arlog_removeVsphereIntegration, arlog_deleteUser |
An example of the first response, for a deletion:
{
"status": "confirmation_required",
"operation": "arlog_deleteWebhook",
"description": "Delete webhook 'SOC notifications' (id: wh-2291). This cannot be undone.",
"confirmationToken": "cnf-9d21f0c4",
"expiresAt": "2026-11-02T10:19:52Z"
}
Change management
Operations performed in the monitoring system are subject to your own change-management procedures. The servers are built to fit into them rather than around them:
- Write operations are disabled by default, so a new deployment reads data and nothing else.
- Each group of operations is enabled separately, so you can allow alert handling without allowing user management.
- Irreversible operations require explicit confirmation and record who approved them.
- Every call, including the ones that were rejected, is in the audit log.
Plan access before you enable changes
With an account that has write permissions, the servers can change configuration objects in VCF Operations and VCF Operations for Logs, and can delete alert definitions, reports, webhooks, log forwarders and user accounts. If you also enable operations.infrastructureActions.enabled, an assistant can run VCF Operations actions, which may change monitored infrastructure, for example the power state or the CPU and memory of a virtual machine. We recommend starting with read-only accounts and read-only tools, granting write permissions only to selected users, and following your change-management procedure.