naftiko: 1.0.0-alpha2 info: label: Twitch IGDB API — Collections description: 'Twitch IGDB API — Collections. 2 operations. Lead operation: Twitch Query Collections. Self-contained Naftiko capability covering one Twitch business surface.' tags: - Twitch - Collections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWITCH_API_KEY: TWITCH_API_KEY capability: consumes: - type: http namespace: igdb-collections baseUri: https://api.igdb.com/v4 description: Twitch IGDB API — Collections business capability. Self-contained, no shared references. resources: - name: collections path: /collections operations: - name: querycollections method: POST description: Twitch Query Collections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: franchises path: /franchises operations: - name: queryfranchises method: POST description: Twitch Query Franchises outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TWITCH_API_KEY}}' exposes: - type: rest namespace: igdb-collections-rest port: 8080 description: REST adapter for Twitch IGDB API — Collections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collections name: collections description: REST surface for collections. operations: - method: POST name: querycollections description: Twitch Query Collections call: igdb-collections.querycollections with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/franchises name: franchises description: REST surface for franchises. operations: - method: POST name: queryfranchises description: Twitch Query Franchises call: igdb-collections.queryfranchises with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: igdb-collections-mcp port: 9090 transport: http description: MCP adapter for Twitch IGDB API — Collections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twitch-query-collections description: Twitch Query Collections hints: readOnly: true destructive: false idempotent: false call: igdb-collections.querycollections with: body: tools.body outputParameters: - type: object mapping: $. - name: twitch-query-franchises description: Twitch Query Franchises hints: readOnly: true destructive: false idempotent: false call: igdb-collections.queryfranchises with: body: tools.body outputParameters: - type: object mapping: $.