Skip to main content
Glama

Twitch MCP Server

by mtane0412

Twitch MCP サーバー

Twitch APIと連携するモデルコンテキストプロトコル(MCP)サーバー。このサーバーはTwitch Helix APIを利用して、チャンネル情報、配信の詳細、ゲームデータなどを取得します。

特徴

  • チャンネル情報(プロフィール、説明、作成日など)を取得します
  • ストリーム情報(タイトル、ゲーム、視聴者数、開始時間など)を取得します。
  • トップゲームのリストを取得する
  • カテゴリ/ゲームを検索
  • チャンネルを検索
  • ライブストリームを視聴する(ゲームと言語でフィルタリング可能)
  • グローバルエモートを入手
  • グローバルチャットバッジを取得する
  • ユーザー情報を取得する
  • チャンネルからクリップを取得する
  • チャット設定を取得する
  • 指定したチャンネルから動画を取得する
  • アーカイブされた動画からコメントを取得する(GraphQL API を使用)

前提条件

  • Node.js(v18以上を推奨)
  • Twitch開発者アカウント
  • Twitch API クライアントIDとクライアントシークレット
  • Twitch GraphQL クライアント ID (動画コメント機能用)

インストール

npm を使用してパッケージをインストールします。

npm install @mtane0412/twitch-mcp-server

構成

  1. Twitch開発者コンソールで新しいアプリケーションを作成する
  2. 次の環境変数を設定します。
# macOS/Linux export TWITCH_CLIENT_ID="your_client_id" export TWITCH_CLIENT_SECRET="your_client_secret" # Windows (PowerShell) $env:TWITCH_CLIENT_ID="your_client_id" $env:TWITCH_CLIENT_SECRET="your_client_secret"

あるいは、 .envファイルを作成することもできます。

TWITCH_CLIENT_ID=your_client_id TWITCH_CLIENT_SECRET=your_client_secret

使用法

インストール後、次のコマンドを実行してサーバーの使用を開始できます。

npx @mtane0412/twitch-mcp-server

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspect

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

ライセンス

MITライセンス

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

Twitch API とのやり取りが可能になり、ユーザーはチャンネル、ストリーム、ゲームなどに関する包括的な情報を取得できるようになります。また、エモートやバッジなどのチャット要素の検索とアクセスもサポートされます。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. 使用法
            1. デバッグ
          2. ライセンス

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Enables 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 -
              3
              JavaScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              This 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 -
              169
              179
              TypeScript
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              Enables 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 -
              33
              TypeScript
              • Apple
            • -
              security
              F
              license
              -
              quality
              Enables 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 -
              852
              1
              JavaScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/mtane0412/twitch-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server