Hetzner · Capability

Hetzner Cloud API — Certificate Actions

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

Run with Naftiko HetznerCertificate Actions

What You Can Do

GET
Listcertificatesactions — List Actions
/v1/certificates/actions
GET
Getcertificatesaction — Get an Action
/v1/certificates/actions/{id}
GET
Listcertificateactions — List Actions for a Certificate
/v1/certificates/{id}/actions
POST
Retrycertificate — Retry Issuance or Renewal
/v1/certificates/{id}/actions/retry
GET
Getcertificateaction — Get an Action for a Certificate
/v1/certificates/{id}/actions/{action-id}

MCP Tools

list-actions

List Actions

read-only idempotent
get-action

Get an Action

read-only idempotent
list-actions-certificate

List Actions for a Certificate

read-only idempotent
retry-issuance-renewal

Retry Issuance or Renewal

get-action-certificate

Get an Action for a Certificate

read-only idempotent

Capability Spec

hetzner-certificate-actions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Hetzner Cloud API — Certificate Actions
  description: 'Hetzner Cloud API — Certificate Actions. 5 operations. Lead operation: List Actions. Self-contained Naftiko
    capability covering one Hetzner business surface.'
  tags:
  - Hetzner
  - Certificate Actions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HETZNER_API_KEY: HETZNER_API_KEY
capability:
  consumes:
  - type: http
    namespace: hetzner-certificate-actions
    baseUri: https://api.hetzner.cloud/v1
    description: Hetzner Cloud API — Certificate Actions business capability. Self-contained, no shared references.
    resources:
    - name: certificates-actions
      path: /certificates/actions
      operations:
      - name: listcertificatesactions
        method: GET
        description: List Actions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: query
          type: array
          description: Filter the actions by ID. May be used multiple times.
        - name: sort
          in: query
          type: array
          description: Sort actions by field and direction. May be used multiple times.
        - name: status
          in: query
          type: array
          description: Filter the actions by status. 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: certificates-actions-id
      path: /certificates/actions/{id}
      operations:
      - name: getcertificatesaction
        method: GET
        description: Get an Action
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the Action.
          required: true
    - name: certificates-id-actions
      path: /certificates/{id}/actions
      operations:
      - name: listcertificateactions
        method: GET
        description: List Actions for a Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the Certificate.
          required: true
        - name: sort
          in: query
          type: array
          description: Sort actions by field and direction. May be used multiple times.
        - name: status
          in: query
          type: array
          description: Filter the actions by status. 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: certificates-id-actions-retry
      path: /certificates/{id}/actions/retry
      operations:
      - name: retrycertificate
        method: POST
        description: Retry Issuance or Renewal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the Certificate.
          required: true
    - name: certificates-id-actions-action_id
      path: /certificates/{id}/actions/{action_id}
      operations:
      - name: getcertificateaction
        method: GET
        description: Get an Action for a Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the Certificate.
          required: true
        - name: action_id
          in: path
          type: integer
          description: ID of the Action.
          required: true
    authentication:
      type: bearer
      token: '{{env.HETZNER_API_KEY}}'
  exposes:
  - type: rest
    namespace: hetzner-certificate-actions-rest
    port: 8080
    description: REST adapter for Hetzner Cloud API — Certificate Actions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/certificates/actions
      name: certificates-actions
      description: REST surface for certificates-actions.
      operations:
      - method: GET
        name: listcertificatesactions
        description: List Actions
        call: hetzner-certificate-actions.listcertificatesactions
        with:
          id: rest.id
          sort: rest.sort
          status: rest.status
          page: rest.page
          per_page: rest.per_page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/certificates/actions/{id}
      name: certificates-actions-id
      description: REST surface for certificates-actions-id.
      operations:
      - method: GET
        name: getcertificatesaction
        description: Get an Action
        call: hetzner-certificate-actions.getcertificatesaction
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/certificates/{id}/actions
      name: certificates-id-actions
      description: REST surface for certificates-id-actions.
      operations:
      - method: GET
        name: listcertificateactions
        description: List Actions for a Certificate
        call: hetzner-certificate-actions.listcertificateactions
        with:
          id: rest.id
          sort: rest.sort
          status: rest.status
          page: rest.page
          per_page: rest.per_page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/certificates/{id}/actions/retry
      name: certificates-id-actions-retry
      description: REST surface for certificates-id-actions-retry.
      operations:
      - method: POST
        name: retrycertificate
        description: Retry Issuance or Renewal
        call: hetzner-certificate-actions.retrycertificate
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/certificates/{id}/actions/{action-id}
      name: certificates-id-actions-action-id
      description: REST surface for certificates-id-actions-action_id.
      operations:
      - method: GET
        name: getcertificateaction
        description: Get an Action for a Certificate
        call: hetzner-certificate-actions.getcertificateaction
        with:
          id: rest.id
          action_id: rest.action_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hetzner-certificate-actions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Hetzner Cloud API — Certificate Actions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-actions
      description: List Actions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-certificate-actions.listcertificatesactions
      with:
        id: tools.id
        sort: tools.sort
        status: tools.status
        page: tools.page
        per_page: tools.per_page
      outputParameters:
      - type: object
        mapping: $.
    - name: get-action
      description: Get an Action
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-certificate-actions.getcertificatesaction
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-actions-certificate
      description: List Actions for a Certificate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-certificate-actions.listcertificateactions
      with:
        id: tools.id
        sort: tools.sort
        status: tools.status
        page: tools.page
        per_page: tools.per_page
      outputParameters:
      - type: object
        mapping: $.
    - name: retry-issuance-renewal
      description: Retry Issuance or Renewal
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hetzner-certificate-actions.retrycertificate
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-action-certificate
      description: Get an Action for a Certificate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hetzner-certificate-actions.getcertificateaction
      with:
        id: tools.id
        action_id: tools.action_id
      outputParameters:
      - type: object
        mapping: $.