Cloudflare · Capability

Cloudflare certificates/ — Certificates

Cloudflare certificates/ — Certificates. 2 operations. Lead operation: Cloudflare Revoke Certificate. Self-contained Naftiko capability covering one Cloudflare business surface.

Run with Naftiko CloudflareCertificates

What You Can Do

DELETE
Origincarevokecertificate — Cloudflare Revoke Certificate
/v1/certificates/{certificate-id}
GET
Origincagetcertificate — Cloudflare Get Certificate
/v1/certificates/{certificate-id}

MCP Tools

cloudflare-revoke-certificate

Cloudflare Revoke Certificate

idempotent
cloudflare-get-certificate

Cloudflare Get Certificate

read-only idempotent

Capability Spec

certificates--certificates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cloudflare certificates/ — Certificates
  description: 'Cloudflare certificates/ — Certificates. 2 operations. Lead operation: Cloudflare Revoke Certificate. Self-contained
    Naftiko capability covering one Cloudflare business surface.'
  tags:
  - Cloudflare
  - Certificates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOUDFLARE_API_KEY: CLOUDFLARE_API_KEY
capability:
  consumes:
  - type: http
    namespace: certificates--certificates
    baseUri: https://api.cloudflare.com/client/v4
    description: Cloudflare certificates/ — Certificates business capability. Self-contained, no shared references.
    resources:
    - name: certificates-certificate_id
      path: /certificates/{certificate_id}
      operations:
      - name: origincarevokecertificate
        method: DELETE
        description: Cloudflare Revoke Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: certificate_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: origincagetcertificate
        method: GET
        description: Cloudflare Get Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: certificate_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: certificates--certificates-rest
    port: 8080
    description: REST adapter for Cloudflare certificates/ — Certificates. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/certificates/{certificate-id}
      name: certificates-certificate-id
      description: REST surface for certificates-certificate_id.
      operations:
      - method: DELETE
        name: origincarevokecertificate
        description: Cloudflare Revoke Certificate
        call: certificates--certificates.origincarevokecertificate
        with:
          certificate_id: rest.certificate_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: origincagetcertificate
        description: Cloudflare Get Certificate
        call: certificates--certificates.origincagetcertificate
        with:
          certificate_id: rest.certificate_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: certificates--certificates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cloudflare certificates/ — Certificates. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: cloudflare-revoke-certificate
      description: Cloudflare Revoke Certificate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: certificates--certificates.origincarevokecertificate
      with:
        certificate_id: tools.certificate_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cloudflare-get-certificate
      description: Cloudflare Get Certificate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: certificates--certificates.origincagetcertificate
      with:
        certificate_id: tools.certificate_id
      outputParameters:
      - type: object
        mapping: $.