インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Twitch をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Twitch を操作させます。チャンネル、ライブ配信、動画、クリップ、カテゴリ、配信スケジュールの参照、チャンネルの検索、フォロワー数とチャット設定の確認ができ、確認のうえでクリップの作成や配信タイトル、カテゴリ、タグの変更もできます。サインインには自分の Twitch デベロッパーアプリケーションを使います。
こう聞いてみよう
Twitch のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Twitch をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Twitch
AI に Twitch を操作させます。チャンネル、ライブ配信、動画、クリップ、カテゴリ、配信スケジュールの参照、チャンネルの検索、フォロワー数とチャット設定の確認ができ、確認のうえでクリップの作成や配信タイトル、カテゴリ、タグの変更もできます。サインインには自分の Twitch デベロッパーアプリケーションを使います。
セットアップ
- Twitch アカウントで 2 段階認証 を有効にします(設定 → セキュリティとプライバシー)。アプリケーションの登録に必要です。
- dev.twitch.tv/console/apps を開き、Register Your Application をクリックします。任意の名前を入力し、OAuth Redirect URL に
https://cloud.anythingmcp.com/api/mcp-oauth/callbackを追加します。AnythingMCP を自分でホストしている場合はhttps://your-anythingmcp-host/api/mcp-oauth/callbackを使います。カテゴリは Other などを選び、Client Type: Confidential を選んで Create をクリックします。 - 新しいアプリケーションの Manage をクリックします。Client ID を
TWITCH_CLIENT_IDにコピーし、New Secret をクリックしてTWITCH_CLIENT_SECRETにコピーします。シークレットは一度しか表示されず、新しいシークレットを作ると古いものは無効になります。 - コネクタをインストールし、コネクタのページで Authorize with Provider をクリックして、Twitch にサインインしてアクセスを許可します。
- 引数なしの
twitch_get_usersで設定を確認します。自分のアカウントと、ほかのツールが求めるユーザー ID が返ります。
無料で、約 5 分で終わります。
すべての呼び出しに Client ID: Twitch は、すべてのリクエストでトークンと一緒に Client-Id ヘッダーでアプリケーションの Client ID を求めます。コネクタが自動で付けるので、Client ID はサインインに使ったのと同じアプリケーションのものである必要があります。
参照できるもの: タイトル、カテゴリ、タグ、言語を含むユーザーとチャンネル。視聴者数付きのライブ配信。過去の配信、ハイライト、アップロード動画。クリップ。カテゴリと、いま最も視聴されているカテゴリ。チャンネルとカテゴリの検索。フォロワー数。配信スケジュールとチャット設定。これらは公開データで、どのチャンネルでも使えます。フォロワーの一覧そのものは、自分のチャンネルか自分がモデレーターを務めるチャンネルでのみ表示され、それ以外のチャンネルでは合計数だけがわかります。
変更の前には必ず確認します: twitch_create_clip はいまライブ中のチャンネルからクリップを作成し、twitch_update_channel は配信タイトル、カテゴリ、言語、タグを変更します。どちらも視聴者にすぐ見えるため、AI は何が起きるかを正確に示し、あなたの承認を待ちます。変更できるのは自分のチャンネルだけです。クリップはバックグラウンドで作成されます。AI は数秒後に twitch_get_clips で確認し、Twitch は 24 時間有効な編集用リンクを返します。
インストール時に無効: twitch_send_chat_announcement は、チャットの全員に見える強調表示のメッセージを送ります。使うには、コネクタの OAuth 設定にスコープ moderator:manage:announcements を追加し、再度認可してからツールを有効にします。これも実行前に確認します。
スコープ: moderator:read:followers、clips:edit、channel:manage:broadcast。それ以外は公開データなのでスコープは不要です。
名前ではなく ID: ほとんどのツールは、ログイン名ではなく数値のユーザー ID を使います。AI は twitch_get_users か twitch_search_channels で ID を調べ、カテゴリ ID は twitch_search_categories で調べます。
サインインの維持: アクセストークンの有効期間は数時間で、自動的に更新されます。設定 → 接続 でアプリケーションの接続を解除するか、Twitch のパスワードを変更するとサインインは終了します。その場合はもう一度 Authorize with Provider をクリックしてください。
よくあるエラー: 401: サインインの期限が切れたか、Client ID がトークンを発行したアプリケーションのものではありません。再度認可してください。Client ID やシークレットを変えた場合は先に更新します。401 Missing scope: メッセージに示されたスコープを追加して再度認可します。400: パラメーターの誤り、または AutoMod に拒否されたタイトル。404: チャンネルに配信スケジュールがないか、クリップ作成時にライブ中ではありません。429: ユーザーごとに毎分約 800 回までです。次の 1 分になるまで待ってください。
このコネクタは、チャットメッセージやウィスパーの読み書き、モデレーション、サブスクリプション、Bits、投票、予想、チャンネルポイント、レイド、EventSub、ストリームキー、動画の削除には対応していません。
前提条件: TWITCH_CLIENT_ID, TWITCH_CLIENT_SECRET
ローカルでコネクタをインストール
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
http://localhost:3000/connectors/store を開き、 Twitch を選択し、前提条件に記載された環境変数を入力します。
利用可能なツール
| 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) |
プロンプトの例
- 「いま Just Chatting カテゴリでライブ中なのは誰?視聴者数が多い上位 10 配信をタイトルと視聴者数付きで見せて。」
- 「次の配信予定はいつで、タイトルは何?」
- 「過去 30 日間で自分のチャンネルの最も再生されたクリップを探して。」
- 「配信タイトルをランク戦ダイヤまで耐久に、カテゴリを Valorant に変えて。変更内容を先に見せて。」
- 「shroud のチャンネルのフォロワーは何人?いまライブ中?」
次のステップ
このガイドは役に立ちましたか?