Twitch · Capability

Twitch Helix API — Hype Train

Twitch Helix API — Hype Train. 1 operations. Lead operation: Twitch Get Hype Train Events. Self-contained Naftiko capability covering one Twitch business surface.

Run with Naftiko TwitchHype Train

What You Can Do

GET
Gethypetrainevents — Twitch Get Hype Train Events
/v1/hypetrain/events

MCP Tools

twitch-get-hype-train-events

Twitch Get Hype Train Events

read-only idempotent

Capability Spec

helix-hype-train.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twitch Helix API — Hype Train
  description: 'Twitch Helix API — Hype Train. 1 operations. Lead operation: Twitch Get Hype Train Events. Self-contained
    Naftiko capability covering one Twitch business surface.'
  tags:
  - Twitch
  - Hype Train
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWITCH_API_KEY: TWITCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: helix-hype-train
    baseUri: https://api.twitch.tv/helix
    description: Twitch Helix API — Hype Train business capability. Self-contained, no shared references.
    resources:
    - name: hypetrain-events
      path: /hypetrain/events
      operations:
      - name: gethypetrainevents
        method: GET
        description: Twitch Get Hype Train Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: broadcaster_id
          in: query
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TWITCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: helix-hype-train-rest
    port: 8080
    description: REST adapter for Twitch Helix API — Hype Train. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/hypetrain/events
      name: hypetrain-events
      description: REST surface for hypetrain-events.
      operations:
      - method: GET
        name: gethypetrainevents
        description: Twitch Get Hype Train Events
        call: helix-hype-train.gethypetrainevents
        with:
          broadcaster_id: rest.broadcaster_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: helix-hype-train-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twitch Helix API — Hype Train. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: twitch-get-hype-train-events
      description: Twitch Get Hype Train Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: helix-hype-train.gethypetrainevents
      with:
        broadcaster_id: tools.broadcaster_id
      outputParameters:
      - type: object
        mapping: $.