Twitch · Capability

Twitch Helix API — Charity

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

Run with Naftiko TwitchCharity

What You Can Do

GET
Getcharitycampaign — Twitch Get Charity Campaign
/v1/charity/campaigns

MCP Tools

twitch-get-charity-campaign

Twitch Get Charity Campaign

read-only idempotent

Capability Spec

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