Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the Twitch in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Let your AI work with Twitch: look up channels, live streams, videos, clips, categories and stream schedules, search channels, see follower counts and chat settings, and create clips or change your stream title, category and tags after your confirmation. Signed in through a Twitch developer application of your own.
Try asking
Example prompts for Twitch
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Twitch, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Twitch + Microsoft Copilot
Let your AI work with Twitch: look up channels, live streams, videos, clips, categories and stream schedules, search channels, see follower counts and chat settings, and create clips or change your stream title, category and tags after your confirmation. Signed in through a Twitch developer application of your own.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
TWITCH_CLIENT_ID, TWITCH_CLIENT_SECRET
Step 1 — Get credentials
- Turn on two-factor authentication for your Twitch account (Settings → Security and Privacy). Twitch requires it to register applications.
- Open dev.twitch.tv/console/apps and click Register Your Application. Enter any name and add the OAuth Redirect URL
https://cloud.anythingmcp.com/api/mcp-oauth/callback. If you host AnythingMCP yourself, usehttps://your-anythingmcp-host/api/mcp-oauth/callback. Pick a category such as Other, choose Client Type: Confidential and click Create. - Click Manage on the new application. Copy the Client ID into
TWITCH_CLIENT_ID, click New Secret and copy it intoTWITCH_CLIENT_SECRET. The secret is shown once, and a new secret replaces the old one. - Install the connector, click Authorize with Provider on the connector page, sign in to Twitch and click Authorize.
- Check the setup with
twitch_get_userswithout arguments: it returns your own account and the user id the other tools ask for.
It is free and takes about 5 minutes.
Client ID on every call: Twitch wants the application's Client ID in a Client-Id header next to the token on every request. The connector adds it for you, so the Client ID must belong to the same application that signed you in.
What it reads: users and channels with title, category, tags and language; live streams with viewer counts; past broadcasts, highlights and uploads; clips; categories and the most watched categories right now; channel and category search; follower counts; stream schedules and chat settings. This is public data and works for any channel. The list of followers itself is shown only for your own channel or one you moderate; for other channels you get the total.
Asks before every change: twitch_create_clip clips a channel that is live right now, and twitch_update_channel changes your stream title, category, language or tags. Viewers see both at once, so the AI shows you exactly what will happen and waits for your yes. Only your own channel can be changed. A clip is created in the background: the AI checks it with twitch_get_clips after a few seconds, and Twitch returns an edit link that stays valid for 24 hours.
Switched off at install: twitch_send_chat_announcement posts a highlighted message that everyone in chat sees. To use it, add the scope moderator:manage:announcements in the connector's OAuth settings, authorize again and switch the tool on. It asks first as well.
Scopes: moderator:read:followers, clips:edit and channel:manage:broadcast. Everything else is public and needs no scope.
Ids, not names: most tools take numeric user ids, not login names. The AI looks them up with twitch_get_users or twitch_search_channels, and category ids with twitch_search_categories.
Staying signed in: access tokens last a few hours and are renewed automatically. The sign-in ends when you disconnect the application under Settings → Connections or change your Twitch password; then click Authorize with Provider again.
Common errors: 401: the sign-in expired, or the Client ID does not belong to the application that issued the token; authorize again, and update the Client ID or secret first if you changed them. 401 Missing scope: add the scope named in the message and authorize again. 400: a wrong parameter, or a title that AutoMod refused. 404: the channel has no schedule, or it is not live when you create a clip. 429: about 800 calls per minute per user; wait for the minute to reset.
The connector does not read or send chat messages or whispers, moderate, or handle subscriptions, bits, polls, predictions, channel points, raids, EventSub, stream keys or video deletion.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Microsoft Copilot
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.
- In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
- Enter a Server name (for example
AnythingMCP), a Server description that says what the connector does, and the Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server. - Under authentication, choose API key, set Type to Header and the header name to
X-API-Key, then select Create. - In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
- Try it in the agent's Test pane: ask for something that needs the
Twitchtools. - Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.
Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
twitch_get_users | Look up Twitch users by id or login name: id, login, display name, broadcaster type (partner, affiliate or empty), description, profile… |
twitch_get_channel_info | Read channel information for one or more broadcasters: login, display name, language, current or last category (game), stream title, tags… |
twitch_get_streams | List live streams, most viewers first: stream id, broadcaster, category, title, tags, viewer count, start time and language |
twitch_get_videos | List published videos (past broadcasts, highlights, uploads): id, title, description, creation and publish time, URL, view count, type… |
twitch_get_clips | List clips captured from streams, most viewed first: id, URL, broadcaster, creator, source video and offset, category, title, view count… |
twitch_get_games | Look up categories (games) by id, exact name or IGDB id: id, name, IGDB id and box art URL |
twitch_get_top_games | List the categories (games) with the most viewers right now: id, name, IGDB id and box art URL, most watched first |
twitch_search_channels | Search channels that streamed in the last 6 months by the start of their login name (or, with live_only, by name and category): id (the… |
twitch_search_categories | Search categories (games) whose name contains all words of the query: id, name and box art URL |
twitch_get_channel_followers | Read how many users follow a channel (total) for any broadcaster |
twitch_get_schedule | Read a broadcaster's stream schedule from now on (or from start_time): each segment's id, start and end time, title, category, whether it… |
twitch_get_chat_settings | Read a channel's chat settings: emote-only, follower-only (and how long one must follow), slow mode wait time, subscriber-only and… |
twitch_create_clip | Create a clip from a channel that is live right now: Twitch captures up to the last 90 seconds and publishes a part of it (default 30… |
twitch_update_channel | Change the signed-in broadcaster's channel: stream title, category (game_id), language, tags or the branded-content flag |
twitch_send_chat_announcement | Send a highlighted announcement to a channel's chat as the broadcaster or a moderator (up to 500 characters) |
Example prompts
- "Who is live in the Just Chatting category right now? Show the 10 biggest streams with title and viewer count."
- "When is my next scheduled stream, and what is it called?"
- "Find the most viewed clips from my channel in the last 30 days."
- "Set my stream title to Ranked grind until Diamond and the category to Valorant. Show me the change first."
- "How many followers does the channel shroud have, and is he live right now?"
FAQ
Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.
What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.
The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.
Next steps
- Connector landing page
- Connect to Claude
- Connect to ChatGPT
- Connect to Cursor
- Connect to Gemini
- Connect to Meta Muse
Was this guide helpful?