Skip to content

Operate Varroa through MCP

Varroa exposes fleet operations through the Model Context Protocol (MCP). Clients act as the owner of a Varroa API key and remain subject to that identity’s permissions.

SurfaceWhat it can doAuthorization
VarroaManage fleet resourcesVarroa RBAC
JenkinsCall controller toolsVarroa and Jenkins RBAC
External systemsOnly through a Jenkins toolJenkins environment controls

MCP does not provide a shell or unrestricted Kubernetes access.

  • Give each client its own API key.
  • Grant only the namespaces, controllers, and actions it needs.
  • Review tool annotations before approving writes.
  • Fetch one resource when a summarized list lacks required detail.
  • Treat field-conflict overrides as a deliberate ownership transfer.
  • Review activity events for mutations.
  • Treat call_jenkins_tool as open-ended because the target plugin defines its effects.

Credentials and sensitive status fields are removed from tool results. See Tool behavior for result shapes and redaction.

  1. Connect the MCP client.
  2. Confirm the identity with get_me.
  3. Confirm effective access with get_my_permissions.
  4. Grant Varroa and Jenkins roles as described in Identity and auditing.
  5. Read Writing through MCP before changing resources.