> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Twitch in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/twitch
Last updated: 2026-11-24

Share Twitch with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or access token sign-in, 19 tools (7 read-only).

---

To give your team Twitch in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Twitch integration in a Metorial portal, and each person signs in to Twitch with their own account. Agents can discover Twitch users, channels, streams, clips and videos. The integration has 19 tools, 7 read-only, 11 write and 1 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares Twitch in a portal and how each person connects
- The 50 OAuth scopes Twitch can request, and what each one allows
- How to keep the 7 read-only tools and reject the other 12

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Twitch for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Twitch OAuth** (default) | OAuth | Signs in to Twitch |
| **Access Token** | API token | `token` and `clientId` |

The portal and `metorial setup` use **Twitch OAuth** unless someone picks another method.

### Twitch OAuth

People sign in to Twitch and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `analytics:read:extensions` | Extension Analytics | View analytics data for your extensions |
| `analytics:read:games` | Game Analytics | View analytics data for your games |
| `bits:read` | Read Bits | View Bits information for a channel |
| `channel:manage:broadcast` | Manage Broadcast | Manage a channel's broadcast configuration (title, game, etc.) |
| `channel:manage:schedule` | Manage Schedule | Manage a channel's stream schedule |
| `channel:manage:videos` | Manage Videos | Manage a channel's videos (delete) |
| `channel:manage:raids` | Manage Raids | Manage a channel's raids |
| `channel:manage:ads` | Manage Ads | Manage ads schedule on a channel |
| `channel:edit:commercial` | Run Commercial | Run commercials on a channel |
| `channel:read:subscriptions` | Read Subscriptions | View a channel's subscribers |
| `channel:read:editors` | Read Editors | View a channel's editors |
| `channel:read:goals` | Read Goals | View a channel's goals |
| `channel:read:hype_train` | Read Hype Train | View Hype Train events |
| `channel:read:polls` | Read Polls | View a channel's polls |
| `channel:read:predictions` | Read Predictions | View a channel's predictions |
| `channel:read:charity` | Read Charity | View charity campaign details |
| `channel:read:ads` | Read Ads | Read the ads schedule and details |
| `channel:read:vips` | Read VIPs | View a channel's VIPs |
| `channel:read:redemptions` | Read Redemptions | View Channel Points rewards and redemptions |
| `channel:manage:redemptions` | Manage Redemptions | Manage Channel Points rewards and redemptions |
| `user:read:chat` | Read Chat | Read chat messages |
| `user:write:chat` | Write Chat | Send chat messages |
| `channel:bot` | Channel Bot | Appear in channel's chat as a bot |
| `user:bot` | User Bot | Appear in chat as a bot user |
| `clips:edit` | Create Clips | Create clips on a channel |
| `channel:manage:clips` | Manage Clips | Manage clips on a channel |
| `channel:moderate` | Channel Moderate | Perform moderation actions in a channel |
| `moderation:read` | Read Moderation | View moderation data |
| `moderator:manage:banned_users` | Manage Bans | Ban and unban users |
| `moderator:manage:automod` | Manage AutoMod | Manage AutoMod settings |
| `moderator:manage:chat_messages` | Manage Chat Messages | Delete chat messages |
| `moderator:manage:blocked_terms` | Manage Blocked Terms | Manage blocked terms |
| `moderator:manage:chat_settings` | Manage Chat Settings | Manage chat settings |
| `moderator:read:chatters` | Read Chatters | View the chatters list |
| `moderator:read:followers` | Read Followers | View follower list |
| `moderator:manage:shield_mode` | Manage Shield Mode | Manage Shield Mode |
| `moderator:manage:shoutouts` | Manage Shoutouts | Manage shoutouts |
| `moderator:manage:warnings` | Manage Warnings | Manage user warnings |
| `moderator:read:suspicious_users` | Read Suspicious Users | View suspicious users |
| `channel:manage:polls` | Manage Polls | Create and manage polls |
| `channel:manage:predictions` | Manage Predictions | Create and manage predictions |
| `user:edit` | Edit User | Manage a user account |
| `user:read:email` | Read Email | View user email address |
| `user:read:follows` | Read Follows | View user follows |
| `user:read:subscriptions` | Read User Subscriptions | View user subscriptions |
| `user:read:blocked_users` | Read Blocked Users | View blocked users list |
| `user:manage:blocked_users` | Manage Blocked Users | Block and unblock users |
| `user:read:emotes` | Read Emotes | View user emotes |
| `user:manage:whispers` | Manage Whispers | Send whisper messages |
| `openid` | OpenID Connect | Use OIDC to verify user identity |

### Access Token

To connect, a person enters these values:

- `token`: Twitch OAuth access token
- `clientId`: Twitch application Client ID

### Setup settings

Whichever method you pick, setup also asks for:

- `broadcasterId` (optional): Default broadcaster user ID to use for channel-specific operations

## Use your own Twitch OAuth app

With your own OAuth app, people see your company's name on the Twitch consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Twitch and copy the **Redirect URI**.

2. **Register the app with Twitch**

   Create an OAuth app or client in Twitch and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Twitch integration.

## Admin: share Twitch in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Twitch. Under **Auth Method**, keep **Twitch OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Twitch as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Twitch.

4. **Choose who gets it**

   Add the access groups that should see Twitch. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Twitch integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search twitch
```

## Employee: connect Twitch

### In the portal

1. **Open Twitch in the catalog**

   Sign in to your portal and open Twitch. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Twitch sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search twitch
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Twitch OAuth**. To connect with **Access Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Twitch connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list twitch
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 7 read-only tools, such as `search` and `get_videos`, and lose the 11 write tools, such as `manage_clips` or `manage_polls`, and the destructive tool `manage_moderation`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list twitch
metorial tools <integration-id>
metorial call <integration-id> get_user_info -d '{}'
```

`metorial tools` lists the 19 tools, minus any you rejected. `get_user_info` takes no input. It retrieves Twitch user profiles by user ID or login name.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (7)

- `get_followers_subscribers`: Retrieve a channel's follower list, subscriber list, or check a specific user's follow/subscription status. Needs `broadcasterId` and `type`.
- `get_streams`: Retrieve information about active live streams.
- `get_channel_info`: Retrieve channel details including stream title, game/category, language, tags, and content labels. Needs `broadcasterIds`.
- `get_videos`: Retrieve VODs, highlights, and past broadcasts from Twitch.
- `get_user_info`: Retrieve Twitch user profiles by user ID or login name.
- `search`: Search for channels or game/category on Twitch. Needs `query` and `type`.
- `download_clip`: Download an exact clip as a landscape or portrait MP4 file.

### Write tools (11)

- `manage_roles`: View, add, or remove moderator and VIP roles on a channel. Needs `broadcasterId`, `role` and `action`.
- `manage_channel_points`: Create, update, delete, and view custom Channel Points rewards. Needs `broadcasterId` and `action`.
- `manage_predictions`: Create, resolve, lock, cancel, or view Channel Points predictions. Needs `broadcasterId` and `action`.
- `send_chat_message`: Send a chat message to a Twitch channel. Needs `broadcasterId` and `message`.
- `send_shoutout`: Send a shoutout to another broadcaster. Needs `fromBroadcasterId` and `toBroadcasterId`.
- `start_commercial`: Start a commercial (ad break) on a channel. Needs `broadcasterId` and `lengthSeconds`.
- `manage_clips`: Create clips from live streams or retrieve existing clips. Needs `action`.
- `manage_raids`: Start or cancel a raid to another channel. Needs `fromBroadcasterId` and `action`.
- `manage_chat_settings`: View and update chat settings for a channel. Needs `broadcasterId` and `action`.
- `manage_polls`: Create, end, or view polls on a channel. Needs `broadcasterId` and `action`.
- `update_channel`: Update a channel's broadcast configuration. Needs `broadcasterId`.

### Destructive tools (1)

- `manage_moderation`: Perform moderation actions on a channel: ban/unban users, timeout users, delete messages, and manage Shield Mode. Needs `broadcasterId` and `action`.

## Triggers

Twitch has 4 triggers, which fire on events in Twitch:

- `inbound_webhook`
- `stream_status`: Triggers when a monitored channel goes live or offline.
- `channel_update`: Triggers when a channel's title, game/category, language, or other properties change.
- `new_follower`: Triggers when the authenticated broadcaster gains a new follower.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Twitch there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Twitch on metorial.com](https://metorial.com/integrations/twitch): the integration overview