Skip to main content
Glama

Servidor MCP de Twitch

Un servidor de Protocolo de Contexto de Modelo (MCP) que interactúa con la API de Twitch. Este servidor utiliza la API de Twitch Helix para recuperar información del canal, detalles de la transmisión, datos de juego y más.

Características

  • Obtener información del canal (perfil, descripción, fecha de creación, etc.)

  • Obtener información de la transmisión (título, juego, cantidad de espectadores, hora de inicio, etc.)

  • Obtener lista de los mejores juegos

  • Buscar categorías/juegos

  • Buscar canales

  • Obtén transmisiones en vivo (filtrables por juego e idioma)

  • Consigue emoticones globales

  • Obtén insignias de chat globales

  • Obtener información del usuario

  • Obtener clips de un canal

  • Obtener la configuración del chat

  • Obtener vídeos de un canal específico

  • Obtener comentarios de vídeos archivados (usando la API GraphQL)

Related MCP server: Twitch MCP Server

Prerrequisitos

  • Node.js (se recomienda v18 o superior)

  • Cuenta de desarrollador de Twitch

  • ID de cliente y secreto de cliente de la API de Twitch

  • ID de cliente GraphQL de Twitch (para la función de comentarios de video)

Instalación

Instale el paquete usando npm:

npm install @mtane0412/twitch-mcp-server

Configuración

  1. Crea una nueva aplicación en la consola para desarrolladores de Twitch

  2. Establezca las siguientes variables de entorno:

# 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"

Alternativamente, puede crear un archivo .env :

TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secret

Uso

Después de la instalación, puede comenzar a utilizar el servidor ejecutando:

npx @mtane0412/twitch-mcp-server

Depuración

Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:

npm run inspect

El Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.

Licencia

Licencia MIT

Available Tools

14 tools
get_channel_infoC

チャンネル情報を取得します

Inputs: channelName (required).

get_chat_settingsC

チャット設定を取得します

Inputs: channelName (required).

get_clipsC

クリップの情報を取得します

Inputs: channelName (required), limit.

get_gameC

特定のゲームの情報を取得します

Inputs: name (required).

get_global_badgesB

グローバルチャットバッジのリストを取得します

Inputs: no named parameters.

get_global_emotesB

グローバルエモートのリストを取得します

Inputs: no named parameters.

get_stream_infoC

配信情報を取得します

Inputs: channelName (required).

get_streamsC

現在ライブ配信中のストリームを取得します

Inputs: game, language, limit.

get_top_gamesC

人気のゲームのリストを取得します

Inputs: limit.

get_usersC

ユーザーの情報を取得します

Inputs: userNames (required).

get_video_commentsC

アーカイブ動画のコメントを取得します

Inputs: videoId (required), limit, cursor.

get_videosC

チャンネルのビデオを取得します

Inputs: channelName (required), limit.

search_categoriesC

ゲームやカテゴリーを検索します

Inputs: query (required), limit.

search_channelsC

チャンネルを検索します

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 14 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific Twitch resources like channels, clips, games, streams, videos, and searches. The naming makes it unambiguous what each tool retrieves, with no functional overlap between tools.

    Naming Consistency5/5

    All tools follow a consistent 'get_' or 'search_' verb prefix with descriptive noun patterns (e.g., get_channel_info, search_channels). This uniform snake_case naming convention makes the tool set predictable and easy to understand.

    Tool Count5/5

    With 14 tools, this server is well-scoped for the Twitch domain, covering key resources like channels, streams, videos, games, and searches. Each tool earns its place by addressing a specific aspect of Twitch's API without being overwhelming.

    Completeness4/5

    The tool set provides comprehensive read-only coverage for retrieving Twitch data, including channels, streams, videos, games, and searches. A minor gap is the lack of write operations (e.g., posting comments or managing streams), but for a retrieval-focused server, it's highly complete.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      This project is a fork and expansion of TomCools' Twitch MCP Server, which implements a Model Context Protocol (MCP) server that integrates with Twitch chat, allowing AI assistants like Claude to interact with your Twitch channel.
      10
      1
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables access to Twitch API data for retrieving channel statistics, viewership information, stream status, and discovering channels and game categories. Provides real-time Twitch data including follower counts, current viewer numbers, and search functionality through natural language interactions.
      -
    • A
      license
      B
      quality
      B
      maintenance
      Provides access to the Internet Game Database (IGDB) API, enabling users to search for video games, retrieve detailed game information including ratings and platforms, and discover trending and anticipated titles.
      4
      5
      MIT