Twitch · Capability

Twitch IGDB API — Platforms

Twitch IGDB API — Platforms. 1 operations. Lead operation: Twitch Query Platforms. Self-contained Naftiko capability covering one Twitch business surface.

Run with Naftiko TwitchPlatforms

What You Can Do

POST
Queryplatforms — Twitch Query Platforms
/v1/platforms

MCP Tools

twitch-query-platforms

Twitch Query Platforms

read-only

Capability Spec

igdb-platforms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twitch IGDB API — Platforms
  description: 'Twitch IGDB API — Platforms. 1 operations. Lead operation: Twitch Query Platforms. Self-contained Naftiko
    capability covering one Twitch business surface.'
  tags:
  - Twitch
  - Platforms
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWITCH_API_KEY: TWITCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: igdb-platforms
    baseUri: https://api.igdb.com/v4
    description: Twitch IGDB API — Platforms business capability. Self-contained, no shared references.
    resources:
    - name: platforms
      path: /platforms
      operations:
      - name: queryplatforms
        method: POST
        description: Twitch Query Platforms
        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-platforms-rest
    port: 8080
    description: REST adapter for Twitch IGDB API — Platforms. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/platforms
      name: platforms
      description: REST surface for platforms.
      operations:
      - method: POST
        name: queryplatforms
        description: Twitch Query Platforms
        call: igdb-platforms.queryplatforms
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: igdb-platforms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twitch IGDB API — Platforms. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: twitch-query-platforms
      description: Twitch Query Platforms
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: igdb-platforms.queryplatforms
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.