Logo van 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.

Uitgevereclipsevr-live
Repositorytwitch-mcp-smithery
TaalTypeScript
Forks
1
Sterren
4
Beschikbare tools
0
Transporttypestdio
Categorieën
Links
  • Koppel tools aan AI-workflows

    Twitch Smithery biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    4 sterren en 1 forks in de gekoppelde repository.

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.

Installatie

TypingMind
Vereisten:

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

Gebruik Twitch Smithery MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Twitch Smithery is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Twitch Smithery toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Twitch Smithery.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "twitch-smithery": {
      "command": "npx",
      "args": [
        "-y",
        "twitch-mcp-server"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Twitch Smithery in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Twitch Smithery in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Twitch Smithery gebruiken om me hiermee te helpen?
Twitch Smithery
Zeker. Ik heb het gelezen.
Dit vond ik met Twitch Smithery.

Veelgestelde vragen

Waarvoor wordt de MCP-server Twitch Smithery gebruikt?

Twitch Smithery is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Twitch Smithery MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Twitch Smithery gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Twitch Smithery MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Twitch Smithery verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Twitch Smithery MCP met TypingMind?

Twitch Smithery werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Twitch Smithery MCP in TypingMind?

Twitch Smithery biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Twitch Smithery MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Twitch Smithery authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇