Logo di Twitch Smithery

Twitch Smithery

Community
eclipsevr-live

A comprehensive Twitch MCP (Model Context Protocol) server providing chat moderation, stream management, and Twitch API integration for AI systems.

Autoreeclipsevr-live
Repositorytwitch-mcp-smithery
LinguaTypeScript
Fork
1
Stelle
4
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Twitch Smithery mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    4 stelle e 1 fork nel repository collegato.

Twitch MCP Server

A comprehensive Twitch MCP (Model Context Protocol) server providing chat moderation, stream management, and Twitch API integration for AI systems.

For Streamers

  • Use this server via Smithery → Cursor (no local install needed)
  • Quick setup guide: video-guide/final-setup-guide.md
  • Smithery server page (Playground + one‑click add to Cursor): https://smithery.ai/server/@Eclipse-XV/twitch-mcp-smithery
  • Recommended first tests:
    • "Send a message to chat: Hello from MCP!"
    • "Create a poll titled 'Which map?' with choices 'A, B' for 60 seconds"

Note: Actions run as your broadcaster account. Test in Smithery Playground first, then use the Connect section to one‑click add to Cursor and approve.

Overview

This MCP server allows AI agents to interact with Twitch streams through a standardized set of tools. It supports:

  • Sending messages to chat
  • Creating polls and predictions
  • Generating clips
  • Analyzing chat for trends and topics
  • Moderating chat (timeout/ban users)
  • Updating stream title and category

Getting Started

Prerequisites

  • Node.js 18+ installed
  • Twitch API credentials (Client ID and OAuth token)
  • Twitch channel with appropriate permissions

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install

Configuration

You need to provide Twitch API credentials when connecting to the server. The following configuration options are required:

ParameterDescription
twitchClientIdYour Twitch application client ID
twitchAuthTokenOAuth token (without 'oauth:' prefix)
twitchBroadcasterIdYour Twitch user ID
twitchChannelYour Twitch channel name

Deployment on Smithery

This server is configured for easy deployment on Smithery.

  1. Push this repository to GitHub
  2. Connect your GitHub account to Smithery
  3. Create a new deployment, selecting this repository
  4. Configure your Twitch API credentials in the Smithery dashboard

Available Tools

Chat Interaction

  • sendMessageToChat: Send a message to Twitch chat
  • getRecentChatLog: Get the last 20 chat messages for context
  • analyzeChat: Analyze chat for topics and activity

Stream Management

  • createTwitchPoll: Create a poll with multiple choices
  • createTwitchPrediction: Create a prediction with outcomes
  • createTwitchClip: Create a clip of the current stream
  • updateStreamTitle: Change the stream title
  • updateStreamCategory: Change the game/category

Moderation

  • timeoutUser: Timeout a user for a specified duration
  • banUser: Permanently ban a user from chat

Advanced Features

Smart User Resolution

When performing moderation actions, you can provide either:

  1. An exact username
  2. A behavioral descriptor (e.g., "toxic", "spam")
  3. A partial username match

The server will attempt to resolve the appropriate user based on chat history.

Intelligent Timeout Duration

The timeout tool automatically suggests an appropriate duration based on the severity of the provided reason:

  • Spam/excessive emotes: 5 minutes
  • Toxic behavior: 30 minutes
  • Severe violations: 60 minutes
  • Other violations: 10 minutes (default)

Known Issues & Limitations

Image Description Support

While AI assistants (like Cursor/Claude) can process and describe images, there are some considerations when using this with the Twitch MCP server:

  • Image processing: Image analysis is handled by the AI client, not the MCP server itself
  • Message length: AI-generated descriptions can be quite long. Twitch chat has a 500 character limit per message
  • Auto-truncation: The sendMessageToChat tool now automatically truncates messages that exceed 500 characters and notifies you when this happens
  • Workaround: For detailed image descriptions, consider asking the AI to provide a shorter summary suitable for chat

Other Considerations

  • API Rate Limits: Twitch API has rate limits that may affect rapid successive calls
  • Permissions: Ensure your Twitch token has the necessary scopes for all desired features
  • Stream Status: Some tools (like creating clips) require an active stream

License

ISC

Credits

Based on the original Java implementation of Twitch-MCP.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "twitch-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "twitch-mcp@latest"
      ],
      "env": {
        "TWITCH_CLIENT_ID": "<your-twitch-client-id>",
        "TWITCH_AUTH_TOKEN": "<your-oauth-token-without-oauth-prefix>",
        "TWITCH_BROADCASTER_ID": "<your-twitch-user-id>",
        "TWITCH_CHANNEL": "<your-twitch-channel-name>"
      }
    }
  }
}

Usa MCP Twitch Smithery con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Twitch Smithery, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Twitch Smithery come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Twitch Smithery.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "twitch-smithery": {
      "command": "npx",
      "args": [
        "-y",
        "twitch-mcp-server"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Twitch Smithery, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Twitch Smithery.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Twitch Smithery per aiutarmi con questa attività?
Twitch Smithery
Certo. Ho letto.
Ecco cosa ho trovato con Twitch Smithery.

Domande frequenti

A cosa serve il server MCP Twitch Smithery?

Twitch Smithery è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Twitch Smithery MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Twitch Smithery con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Twitch Smithery con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Twitch Smithery, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Twitch Smithery MCP a TypingMind?

Twitch Smithery funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Twitch Smithery MCP in TypingMind?

Twitch Smithery mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Twitch Smithery MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Twitch Smithery richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇