Red Hat · Capability

Red Hat OpenShift Cluster Manager API — Machine Pools

Red Hat OpenShift Cluster Manager API — Machine Pools. 2 operations. Lead operation: Red Hat List Machine Pools. Self-contained Naftiko capability covering one Red Hat business surface.

Run with Naftiko Red HatMachine Pools

What You Can Do

GET
Listmachinepools — Red Hat List Machine Pools
/v1/api/clusters-mgmt/v1/clusters/{cluster-id}/machine-pools
POST
Createmachinepool — Red Hat Create a Machine Pool
/v1/api/clusters-mgmt/v1/clusters/{cluster-id}/machine-pools

MCP Tools

red-hat-list-machine-pools

Red Hat List Machine Pools

read-only idempotent
red-hat-create-machine-pool

Red Hat Create a Machine Pool

Capability Spec

openshift-cluster-manager-machine-pools.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Red Hat OpenShift Cluster Manager API — Machine Pools
  description: 'Red Hat OpenShift Cluster Manager API — Machine Pools. 2 operations. Lead operation: Red Hat List Machine
    Pools. Self-contained Naftiko capability covering one Red Hat business surface.'
  tags:
  - Red Hat
  - Machine Pools
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RED_HAT_API_KEY: RED_HAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: openshift-cluster-manager-machine-pools
    baseUri: https://api.openshift.com
    description: Red Hat OpenShift Cluster Manager API — Machine Pools business capability. Self-contained, no shared references.
    resources:
    - name: api-clusters_mgmt-v1-clusters-cluster_id-machine_pools
      path: /api/clusters_mgmt/v1/clusters/{cluster_id}/machine_pools
      operations:
      - name: listmachinepools
        method: GET
        description: Red Hat List Machine Pools
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createmachinepool
        method: POST
        description: Red Hat Create a Machine Pool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.RED_HAT_API_KEY}}'
  exposes:
  - type: rest
    namespace: openshift-cluster-manager-machine-pools-rest
    port: 8080
    description: REST adapter for Red Hat OpenShift Cluster Manager API — Machine Pools. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/clusters-mgmt/v1/clusters/{cluster-id}/machine-pools
      name: api-clusters-mgmt-v1-clusters-cluster-id-machine-pools
      description: REST surface for api-clusters_mgmt-v1-clusters-cluster_id-machine_pools.
      operations:
      - method: GET
        name: listmachinepools
        description: Red Hat List Machine Pools
        call: openshift-cluster-manager-machine-pools.listmachinepools
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmachinepool
        description: Red Hat Create a Machine Pool
        call: openshift-cluster-manager-machine-pools.createmachinepool
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openshift-cluster-manager-machine-pools-mcp
    port: 9090
    transport: http
    description: MCP adapter for Red Hat OpenShift Cluster Manager API — Machine Pools. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: red-hat-list-machine-pools
      description: Red Hat List Machine Pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openshift-cluster-manager-machine-pools.listmachinepools
      outputParameters:
      - type: object
        mapping: $.
    - name: red-hat-create-machine-pool
      description: Red Hat Create a Machine Pool
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openshift-cluster-manager-machine-pools.createmachinepool
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.