naftiko: 1.0.0-alpha2 info: label: Exoscale API — api-key description: 'Exoscale API — api-key. 4 operations. Lead operation: Create a new API key. Self-contained Naftiko capability covering one Exoscale business surface.' tags: - Exoscale - api-key created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EXOSCALE_API_KEY: EXOSCALE_API_KEY capability: consumes: - type: http namespace: exoscale-api-key baseUri: https://api-{zone}.exoscale.com/v2 description: Exoscale API — api-key business capability. Self-contained, no shared references. resources: - name: api-key path: /api-key operations: - name: createapikey method: POST description: Create a new API key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listapikeys method: GET description: List API keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-key-id path: /api-key/{id} operations: - name: deleteapikey method: DELETE description: Delete an API key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: getapikey method: GET description: Get API key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true exposes: - type: rest namespace: exoscale-api-key-rest port: 8080 description: REST adapter for Exoscale API — api-key. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api-key name: api-key description: REST surface for api-key. operations: - method: POST name: createapikey description: Create a new API key call: exoscale-api-key.createapikey with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listapikeys description: List API keys call: exoscale-api-key.listapikeys outputParameters: - type: object mapping: $. - path: /v1/api-key/{id} name: api-key-id description: REST surface for api-key-id. operations: - method: DELETE name: deleteapikey description: Delete an API key call: exoscale-api-key.deleteapikey with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getapikey description: Get API key call: exoscale-api-key.getapikey with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: exoscale-api-key-mcp port: 9090 transport: http description: MCP adapter for Exoscale API — api-key. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-api-key description: Create a new API key hints: readOnly: false destructive: false idempotent: false call: exoscale-api-key.createapikey with: body: tools.body outputParameters: - type: object mapping: $. - name: list-api-keys description: List API keys hints: readOnly: true destructive: false idempotent: true call: exoscale-api-key.listapikeys outputParameters: - type: object mapping: $. - name: delete-api-key description: Delete an API key hints: readOnly: false destructive: true idempotent: true call: exoscale-api-key.deleteapikey with: id: tools.id outputParameters: - type: object mapping: $. - name: get-api-key description: Get API key hints: readOnly: true destructive: false idempotent: true call: exoscale-api-key.getapikey with: id: tools.id outputParameters: - type: object mapping: $.