Twitch MCP サーバー
Twitch APIと連携するモデルコンテキストプロトコル(MCP)サーバー。このサーバーはTwitch Helix APIを利用して、チャンネル情報、配信の詳細、ゲームデータなどを取得します。
特徴
- チャンネル情報(プロフィール、説明、作成日など)を取得します
- ストリーム情報(タイトル、ゲーム、視聴者数、開始時間など)を取得します。
- トップゲームのリストを取得する
- カテゴリ/ゲームを検索
- チャンネルを検索
- ライブストリームを視聴する(ゲームと言語でフィルタリング可能)
- グローバルエモートを入手
- グローバルチャットバッジを取得する
- ユーザー情報を取得する
- チャンネルからクリップを取得する
- チャット設定を取得する
- 指定したチャンネルから動画を取得する
- アーカイブされた動画からコメントを取得する(GraphQL API を使用)
前提条件
- Node.js(v18以上を推奨)
- Twitch開発者アカウント
- Twitch API クライアントIDとクライアントシークレット
- Twitch GraphQL クライアント ID (動画コメント機能用)
インストール
npm を使用してパッケージをインストールします。
構成
- Twitch開発者コンソールで新しいアプリケーションを作成する
- 次の環境変数を設定します。
あるいは、 .env
ファイルを作成することもできます。
使用法
インストール後、次のコマンドを実行してサーバーの使用を開始できます。
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
ライセンス
MITライセンス
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Twitch API とのやり取りが可能になり、ユーザーはチャンネル、ストリーム、ゲームなどに関する包括的な情報を取得できるようになります。また、エモートやバッジなどのチャット要素の検索とアクセスもサポートされます。
Related Resources
Related MCP Servers
- -securityAlicense-qualityEnables secure access to your YouTube Watch Later playlist, allowing retrieval of video URLs added within a specified timeframe through a simple interface using OAuth2 authentication.Last updated -3JavaScriptMIT License
- -securityFlicense-qualityThis server allows AI language models to interact with YouTube content through a standardized interface, providing features such as video and channel information retrieval, transcript management, and playlist operations.Last updated -169179TypeScript
- -securityFlicense-qualityEnables LLMs to interact with Discord channels by sending and reading messages through Discord's API, with a focus on maintaining user control and security.Last updated -33TypeScript
- -securityFlicense-qualityEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.Last updated -8521JavaScript