Google Anthos · Capability

Google Anthos Google GKE On-Prem API

The GKE On-Prem API provides programmatic access to manage the lifecycle of on-premises Kubernetes clusters running on VMware or bare metal infrastructure as part of Google Distributed Cloud. It enables creating, updating, deleting, and monitoring clusters, managing node pools, and handling enrollment and upgrades.

Run with Naftiko GoogleAnthosAPI

What You Can Do

GET
Listvmwareclusters — Google Anthos List VMware clusters
/projects/{projectId}/locations/{location}/vmwareClusters
POST
Createvmwarecluster — Google Anthos Create a VMware cluster
/projects/{projectId}/locations/{location}/vmwareClusters
GET
Getvmwarecluster — Google Anthos Get a VMware cluster
/projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}
DELETE
Deletevmwarecluster — Google Anthos Delete a VMware cluster
/projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}
GET
Listbaremetalclusters — Google Anthos List bare metal clusters
/projects/{projectId}/locations/{location}/bareMetalClusters
POST
Createbaremetalcluster — Google Anthos Create a bare metal cluster
/projects/{projectId}/locations/{location}/bareMetalClusters
GET
Listvmwarenodepools — Google Anthos List VMware node pools
/projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}/vmwareNodePools
POST
Createvmwarenodepool — Google Anthos Create a VMware node pool
/projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}/vmwareNodePools

MCP Tools

listvmwareclusters

Google Anthos List VMware clusters

read-only idempotent
createvmwarecluster

Google Anthos Create a VMware cluster

getvmwarecluster

Google Anthos Get a VMware cluster

read-only idempotent
deletevmwarecluster

Google Anthos Delete a VMware cluster

idempotent
listbaremetalclusters

Google Anthos List bare metal clusters

read-only idempotent
createbaremetalcluster

Google Anthos Create a bare metal cluster

listvmwarenodepools

Google Anthos List VMware node pools

read-only idempotent
createvmwarenodepool

Google Anthos Create a VMware node pool

Capability Spec

google-anthos-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Anthos Google GKE On-Prem API
  description: The GKE On-Prem API provides programmatic access to manage the lifecycle of on-premises Kubernetes clusters
    running on VMware or bare metal infrastructure as part of Google Distributed Cloud. It enables creating, updating, deleting,
    and monitoring clusters, managing node pools, and handling enrollment and upgrades.
  tags:
  - Google
  - Anthos
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: google-anthos
    baseUri: https://gkeonprem.googleapis.com/v1
    description: Google Anthos Google GKE On-Prem API HTTP API.
    authentication:
      type: bearer
      token: '{{GOOGLE_ANTHOS_TOKEN}}'
    resources:
    - name: projects-projectid-locations-location-vmwareclus
      path: /projects/{projectId}/locations/{location}/vmwareClusters
      operations:
      - name: listvmwareclusters
        method: GET
        description: Google Anthos List VMware clusters
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createvmwarecluster
        method: POST
        description: Google Anthos Create a VMware cluster
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: vmwareClusterId
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-vmwareclus
      path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}
      operations:
      - name: getvmwarecluster
        method: GET
        description: Google Anthos Get a VMware cluster
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: clusterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletevmwarecluster
        method: DELETE
        description: Google Anthos Delete a VMware cluster
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: clusterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-baremetalc
      path: /projects/{projectId}/locations/{location}/bareMetalClusters
      operations:
      - name: listbaremetalclusters
        method: GET
        description: Google Anthos List bare metal clusters
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createbaremetalcluster
        method: POST
        description: Google Anthos Create a bare metal cluster
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-vmwareclus
      path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}/vmwareNodePools
      operations:
      - name: listvmwarenodepools
        method: GET
        description: Google Anthos List VMware node pools
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: clusterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createvmwarenodepool
        method: POST
        description: Google Anthos Create a VMware node pool
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: clusterId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: google-anthos-rest
    description: REST adapter for Google Anthos Google GKE On-Prem API.
    resources:
    - path: /projects/{projectId}/locations/{location}/vmwareClusters
      name: listvmwareclusters
      operations:
      - method: GET
        name: listvmwareclusters
        description: Google Anthos List VMware clusters
        call: google-anthos.listvmwareclusters
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/vmwareClusters
      name: createvmwarecluster
      operations:
      - method: POST
        name: createvmwarecluster
        description: Google Anthos Create a VMware cluster
        call: google-anthos.createvmwarecluster
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}
      name: getvmwarecluster
      operations:
      - method: GET
        name: getvmwarecluster
        description: Google Anthos Get a VMware cluster
        call: google-anthos.getvmwarecluster
        with:
          projectId: rest.projectId
          location: rest.location
          clusterId: rest.clusterId
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}
      name: deletevmwarecluster
      operations:
      - method: DELETE
        name: deletevmwarecluster
        description: Google Anthos Delete a VMware cluster
        call: google-anthos.deletevmwarecluster
        with:
          projectId: rest.projectId
          location: rest.location
          clusterId: rest.clusterId
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/bareMetalClusters
      name: listbaremetalclusters
      operations:
      - method: GET
        name: listbaremetalclusters
        description: Google Anthos List bare metal clusters
        call: google-anthos.listbaremetalclusters
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/bareMetalClusters
      name: createbaremetalcluster
      operations:
      - method: POST
        name: createbaremetalcluster
        description: Google Anthos Create a bare metal cluster
        call: google-anthos.createbaremetalcluster
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}/vmwareNodePools
      name: listvmwarenodepools
      operations:
      - method: GET
        name: listvmwarenodepools
        description: Google Anthos List VMware node pools
        call: google-anthos.listvmwarenodepools
        with:
          projectId: rest.projectId
          location: rest.location
          clusterId: rest.clusterId
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/vmwareClusters/{clusterId}/vmwareNodePools
      name: createvmwarenodepool
      operations:
      - method: POST
        name: createvmwarenodepool
        description: Google Anthos Create a VMware node pool
        call: google-anthos.createvmwarenodepool
        with:
          projectId: rest.projectId
          location: rest.location
          clusterId: rest.clusterId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: google-anthos-mcp
    transport: http
    description: MCP adapter for Google Anthos Google GKE On-Prem API for AI agent use.
    tools:
    - name: listvmwareclusters
      description: Google Anthos List VMware clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-anthos.listvmwareclusters
      with:
        projectId: tools.projectId
        location: tools.location
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: pageSize
        type: integer
        description: pageSize
      - name: pageToken
        type: string
        description: pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: createvmwarecluster
      description: Google Anthos Create a VMware cluster
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-anthos.createvmwarecluster
      with:
        projectId: tools.projectId
        location: tools.location
        vmwareClusterId: tools.vmwareClusterId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: vmwareClusterId
        type: string
        description: vmwareClusterId
      outputParameters:
      - type: object
        mapping: $.
    - name: getvmwarecluster
      description: Google Anthos Get a VMware cluster
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-anthos.getvmwarecluster
      with:
        projectId: tools.projectId
        location: tools.location
        clusterId: tools.clusterId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: clusterId
        type: string
        description: clusterId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: deletevmwarecluster
      description: Google Anthos Delete a VMware cluster
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: google-anthos.deletevmwarecluster
      with:
        projectId: tools.projectId
        location: tools.location
        clusterId: tools.clusterId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: clusterId
        type: string
        description: clusterId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listbaremetalclusters
      description: Google Anthos List bare metal clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-anthos.listbaremetalclusters
      with:
        projectId: tools.projectId
        location: tools.location
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: pageSize
        type: integer
        description: pageSize
      - name: pageToken
        type: string
        description: pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: createbaremetalcluster
      description: Google Anthos Create a bare metal cluster
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-anthos.createbaremetalcluster
      with:
        projectId: tools.projectId
        location: tools.location
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listvmwarenodepools
      description: Google Anthos List VMware node pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-anthos.listvmwarenodepools
      with:
        projectId: tools.projectId
        location: tools.location
        clusterId: tools.clusterId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: clusterId
        type: string
        description: clusterId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: createvmwarenodepool
      description: Google Anthos Create a VMware node pool
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-anthos.createvmwarenodepool
      with:
        projectId: tools.projectId
        location: tools.location
        clusterId: tools.clusterId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: clusterId
        type: string
        description: clusterId
        required: true
      outputParameters:
      - type: object
        mapping: $.
binds:
- namespace: env
  keys:
    GOOGLE_ANTHOS_TOKEN: GOOGLE_ANTHOS_TOKEN