Hetzner · Capability

Hetzner Cloud API — Zone RRSets

Hetzner Cloud API — Zone RRSets. 5 operations. Lead operation: List RRSets. Self-contained Naftiko capability covering one Hetzner business surface.

Run with Naftiko HetznerZone RRSets

What You Can Do

GET
Listzonerrsets — List RRSets
/v1/zones/{id-or-name}/rrsets
POST
Createzonerrset — Create an RRSet
/v1/zones/{id-or-name}/rrsets
GET
Getzonerrset — Get an RRSet
/v1/zones/{id-or-name}/rrsets/{rr-name}/{rr-type}
PUT
Updatezonerrset — Update an RRSet
/v1/zones/{id-or-name}/rrsets/{rr-name}/{rr-type}
DELETE
Deletezonerrset — Delete an RRSet
/v1/zones/{id-or-name}/rrsets/{rr-name}/{rr-type}

MCP Tools

list-rrsets

List RRSets

read-only idempotent
create-rrset

Create an RRSet

get-rrset

Get an RRSet

read-only idempotent
update-rrset

Update an RRSet

idempotent
delete-rrset

Delete an RRSet

idempotent

Capability Spec

hetzner-zone-rrsets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Hetzner Cloud API — Zone RRSets
  description: 'Hetzner Cloud API — Zone RRSets. 5 operations. Lead operation: List RRSets. Self-contained Naftiko capability
    covering one Hetzner business surface.'
  tags:
  - Hetzner
  - Zone RRSets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HETZNER_API_KEY: HETZNER_API_KEY
capability:
  consumes:
  - type: http
    namespace: hetzner-zone-rrsets
    baseUri: https://api.hetzner.cloud/v1
    description: Hetzner Cloud API — Zone RRSets business capability. Self-contained, no shared references.
    resources:
    - name: zones-id_or_name-rrsets
      path: /zones/{id_or_name}/rrsets
      operations:
      - name: listzonerrsets
        method: GET
        description: List RRSets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id_or_name
          in: path
          type: string
          description: ID or Name of the Zone.
          required: true
        - name: name
          in: query
          type: string
          description: Filter resources by their name.
        - name: type
          in: query
          type: array
          description: Filter resources by their type. May be used multiple times.
        - name: label_selector
          in: query
          type: string
          description: Filter resources by labels.
        - name: sort
          in: query
          type: array
          description: Sort resources by field and direction. May be used multiple times.
        - name: page
          in: query
          type: integer
          description: Page number to return. For more information, see "[Pagination](#description/pagination)".
        - name: per_page
          in: query
          type: integer
          description: Maximum number of entries returned per page. For more information, see "[Pagination](#description/pagination)".
      - name: createzonerrset
        method: POST
        description: Create an RRSet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id_or_name
          in: path
          type: string
          description: ID or Name of the Zone.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: zones-id_or_name-rrsets-rr_name-rr_type
      path: /zones/{id_or_name}/rrsets/{rr_name}/{rr_type}
      operations:
      - name: getzonerrset
        method: GET
        description: Get an RRSet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id_or_name
          in: path
          type: string
          description: ID or Name of the Zone.
          required: true
        - name: rr_name
          in: path
          type: string
          required: true
        - name: rr_type
          in: path
          type: string
          required: true
      - name: updatezonerrset
        method: PUT
        description: Update an RRSet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id_or_name
          in: path
          type: string
          description: ID or Name of the Zone.
          required: true
        - name: rr_name
          in: path
          type: string
          required: true
        - name: rr_type
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletezonerrset
        method: DELETE
        description: Delete an RRSet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id_or_name
          in: path
          type: string
          description: ID or Name of the Zone.
          required: true
        - name: rr_name
          in: path
          type: string
          required: true
        - name: rr_type
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.HETZNER_API_KEY}}'
  exposes:
  - type: rest
    namespace: hetzner-zone-rrsets-rest
    port: 8080
    description: REST adapter for Hetzner Cloud API — Zone RRSets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/zones/{id-or-name}/rrsets
      name: zones-id-or-name-rrsets
      description: REST surface for zones-id_or_name-rrsets.
      operations:
      - method: GET
        name: listzonerrsets
        description: List RRSets
        call: hetzner-zone-rrsets.listzonerrsets
        with:
          id_or_name: rest.id_or_name
          name: rest.name
          type: rest.type
          label_selector: rest.label_selector
          sort: rest.sort
          page: rest.page
          per_page: rest.per_page
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createzonerrset
        description: Create an RRSet
        call: hetzner-zone-rrsets.createzonerrset
        with:
          id_or_name: rest.id_or_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/zones/{id-or-name}/rrsets/{rr-name}/{rr-type}
      name: zones-id-or-name-rrsets-rr-name-rr-type
      description: REST surface for zones-id_or_name-rrsets-rr_name-rr_type.
      operations:
      - method: GET
        name: getzonerrset
        description: Get an RRSet
        call: hetzner-zone-rrsets.getzonerrset
        with:
          id_or_name: rest.id_or_name
          rr_name: rest.rr_name
          rr_type: rest.rr_type
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatezonerrset
        description: Update an RRSet
        call: hetzner-zone-rrsets.updatezonerrset
        with:
          id_or_name: rest.id_or_name
          rr_name: rest.rr_name
          rr_type: rest.rr_type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletezonerrset
        description: Delete an RRSet
        call: hetzner-zone-rrsets.deletezonerrset
        with:
          id_or_name: rest.id_or_name
          rr_name: rest.rr_name
          rr_type: rest.rr_type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hetzner-zone-rrsets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Hetzner Cloud API — Zone RRSets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-rrsets
      description: List RRSets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-zone-rrsets.listzonerrsets
      with:
        id_or_name: tools.id_or_name
        name: tools.name
        type: tools.type
        label_selector: tools.label_selector
        sort: tools.sort
        page: tools.page
        per_page: tools.per_page
      outputParameters:
      - type: object
        mapping: $.
    - name: create-rrset
      description: Create an RRSet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hetzner-zone-rrsets.createzonerrset
      with:
        id_or_name: tools.id_or_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-rrset
      description: Get an RRSet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-zone-rrsets.getzonerrset
      with:
        id_or_name: tools.id_or_name
        rr_name: tools.rr_name
        rr_type: tools.rr_type
      outputParameters:
      - type: object
        mapping: $.
    - name: update-rrset
      description: Update an RRSet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: hetzner-zone-rrsets.updatezonerrset
      with:
        id_or_name: tools.id_or_name
        rr_name: tools.rr_name
        rr_type: tools.rr_type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-rrset
      description: Delete an RRSet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: hetzner-zone-rrsets.deletezonerrset
      with:
        id_or_name: tools.id_or_name
        rr_name: tools.rr_name
        rr_type: tools.rr_type
      outputParameters:
      - type: object
        mapping: $.