naftiko: 1.0.0-alpha2 info: label: Incident.io API — Users description: 'Incident.io API — Users. 2 operations. Lead operation: Users. Self-contained Naftiko capability covering one Incident Io business surface.' tags: - Incident Io - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INCIDENT_IO_API_KEY: INCIDENT_IO_API_KEY capability: consumes: - type: http namespace: incident-io-users baseUri: https://api.incident.io/v2 description: Incident.io API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: listusers method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-id path: /users/{id} operations: - name: getuser method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.INCIDENT_IO_API_KEY}}' exposes: - type: rest namespace: incident-io-users-rest port: 8080 description: REST adapter for Incident.io API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: listusers description: listusers call: incident-io-users.listusers outputParameters: - type: object mapping: $. - path: /v1/users/{id} name: users-id description: REST surface for users-id. operations: - method: GET name: getuser description: getuser call: incident-io-users.getuser outputParameters: - type: object mapping: $. - type: mcp namespace: incident-io-users-mcp port: 9090 transport: http description: MCP adapter for Incident.io API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: listusers description: listusers hints: readOnly: true destructive: false idempotent: true call: incident-io-users.listusers outputParameters: - type: object mapping: $. - name: getuser description: getuser hints: readOnly: true destructive: false idempotent: true call: incident-io-users.getuser outputParameters: - type: object mapping: $.