naftiko: 1.0.0-alpha2 info: label: Let's Encrypt ACME API — Certificate description: 'Let''s Encrypt ACME API — Certificate. 2 operations. Lead operation: Download issued certificate. Self-contained Naftiko capability covering one Lets Encrypt business surface.' tags: - Lets Encrypt - Certificate created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LETS_ENCRYPT_API_KEY: LETS_ENCRYPT_API_KEY capability: consumes: - type: http namespace: acme-certificate baseUri: https://acme-v02.api.letsencrypt.org description: Let's Encrypt ACME API — Certificate business capability. Self-contained, no shared references. resources: - name: acme-cert-certId path: /acme/cert/{certId} operations: - name: getcertificate method: POST description: Download issued certificate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: certId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: acme-revoke-cert path: /acme/revoke-cert operations: - name: revokecertificate method: POST description: Revoke a certificate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: acme-certificate-rest port: 8080 description: REST adapter for Let's Encrypt ACME API — Certificate. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/acme/cert/{certid} name: acme-cert-certid description: REST surface for acme-cert-certId. operations: - method: POST name: getcertificate description: Download issued certificate call: acme-certificate.getcertificate with: certId: rest.certId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/acme/revoke-cert name: acme-revoke-cert description: REST surface for acme-revoke-cert. operations: - method: POST name: revokecertificate description: Revoke a certificate call: acme-certificate.revokecertificate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: acme-certificate-mcp port: 9090 transport: http description: MCP adapter for Let's Encrypt ACME API — Certificate. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: download-issued-certificate description: Download issued certificate hints: readOnly: false destructive: false idempotent: false call: acme-certificate.getcertificate with: certId: tools.certId body: tools.body outputParameters: - type: object mapping: $. - name: revoke-certificate description: Revoke a certificate hints: readOnly: false destructive: false idempotent: false call: acme-certificate.revokecertificate with: body: tools.body outputParameters: - type: object mapping: $.