Skip to main content
Glama

Twitch-MCP-Smithery

Twitch MCP Server

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

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)

License

ISC

Credits

Based on the original Java implementation of Twitch-MCP.

-
security - not tested
F
license - not found
-
quality - not tested

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.

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

  1. Overview
    1. Getting Started
      1. Prerequisites
      2. Installation
      3. Configuration
    2. Deployment on Smithery
      1. Available Tools
        1. Chat Interaction
        2. Stream Management
        3. Moderation
      2. Advanced Features
        1. Smart User Resolution
        2. Intelligent Timeout Duration
      3. License
        1. Credits

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
            Last updated -
            1
            4
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
            Last updated -
            17
            3
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol (MCP) server that creates a bridge between AI language models and the Trakt.tv API, allowing LLMs to access real-time entertainment data and personal Trakt viewing history.
            Last updated -
            9
            Python
          • A
            security
            F
            license
            A
            quality
            An all-in-one Model Context Protocol (MCP) server that connects your coding AI to numerous databases, data warehouses, data pipelines, and cloud services, streamlining development workflow through seamless integrations.
            Last updated -
            2
            Python
            • Apple
            • Linux

          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/Eclipse-XV/twitch-mcp-smithery'

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