naftiko: 1.0.0-alpha2 info: label: Cloudflare Stream API — Signing Keys description: 'Cloudflare Stream API — Signing Keys. 2 operations. Lead operation: Cloudflare List Signing Keys. Self-contained Naftiko capability covering one Cloudflare business surface.' tags: - Cloudflare - Signing Keys created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDFLARE_API_KEY: CLOUDFLARE_API_KEY capability: consumes: - type: http namespace: stream-signing-keys baseUri: https://api.cloudflare.com/client/v4 description: Cloudflare Stream API — Signing Keys business capability. Self-contained, no shared references. resources: - name: accounts-account_id-stream-keys path: /accounts/{account_id}/stream/keys operations: - name: listsigningkeys method: GET description: Cloudflare List Signing Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsigningkey method: POST description: Cloudflare Create Signing Key outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CLOUDFLARE_API_KEY}}' exposes: - type: rest namespace: stream-signing-keys-rest port: 8080 description: REST adapter for Cloudflare Stream API — Signing Keys. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{account-id}/stream/keys name: accounts-account-id-stream-keys description: REST surface for accounts-account_id-stream-keys. operations: - method: GET name: listsigningkeys description: Cloudflare List Signing Keys call: stream-signing-keys.listsigningkeys outputParameters: - type: object mapping: $. - method: POST name: createsigningkey description: Cloudflare Create Signing Key call: stream-signing-keys.createsigningkey outputParameters: - type: object mapping: $. - type: mcp namespace: stream-signing-keys-mcp port: 9090 transport: http description: MCP adapter for Cloudflare Stream API — Signing Keys. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cloudflare-list-signing-keys description: Cloudflare List Signing Keys hints: readOnly: true destructive: false idempotent: true call: stream-signing-keys.listsigningkeys outputParameters: - type: object mapping: $. - name: cloudflare-create-signing-key description: Cloudflare Create Signing Key hints: readOnly: false destructive: false idempotent: false call: stream-signing-keys.createsigningkey outputParameters: - type: object mapping: $.