naftiko: 1.0.0-alpha2 info: label: Suger API — API description: 'Suger API — API. 2 operations. Lead operation: List Api Clients. Self-contained Naftiko capability covering one Suger business surface.' tags: - Suger - API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUGER_API_KEY: SUGER_API_KEY capability: consumes: - type: http namespace: suger-api baseUri: https://api.suger.cloud description: Suger API — API business capability. Self-contained, no shared references. resources: - name: org-orgId-apiClient path: /org/{orgId}/apiClient operations: - name: listapiclients method: GET description: List Api Clients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: Organization ID required: true - name: org-orgId-apiClient-apiClientId path: /org/{orgId}/apiClient/{apiClientId} operations: - name: getapiclient method: GET description: Get Api Client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: Organization ID required: true - name: apiClientId in: path type: string description: API client ID required: true authentication: type: apikey key: Authorization value: '{{env.SUGER_API_KEY}}' placement: header exposes: - type: rest namespace: suger-api-rest port: 8080 description: REST adapter for Suger API — API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/org/{orgid}/apiclient name: org-orgid-apiclient description: REST surface for org-orgId-apiClient. operations: - method: GET name: listapiclients description: List Api Clients call: suger-api.listapiclients with: orgId: rest.orgId outputParameters: - type: object mapping: $. - path: /v1/org/{orgid}/apiclient/{apiclientid} name: org-orgid-apiclient-apiclientid description: REST surface for org-orgId-apiClient-apiClientId. operations: - method: GET name: getapiclient description: Get Api Client call: suger-api.getapiclient with: orgId: rest.orgId apiClientId: rest.apiClientId outputParameters: - type: object mapping: $. - type: mcp namespace: suger-api-mcp port: 9090 transport: http description: MCP adapter for Suger API — API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-api-clients description: List Api Clients hints: readOnly: true destructive: false idempotent: true call: suger-api.listapiclients with: orgId: tools.orgId outputParameters: - type: object mapping: $. - name: get-api-client description: Get Api Client hints: readOnly: true destructive: false idempotent: true call: suger-api.getapiclient with: orgId: tools.orgId apiClientId: tools.apiClientId outputParameters: - type: object mapping: $.