MCP ExplorerExplorer

Twitch Mcp

@TomCoolson 9 months ago
5 MIT
FreeCommunity
AI Systems
#camel#java#mcp#quarkus
A Model Context Protocol (MCP) server which allows MCP Clients (such as Claude) to connect to Twitch Chat.

Overview

What is Twitch Mcp

twitch-mcp is a Model Context Protocol (MCP) server that enables MCP Clients, such as Claude, to connect to Twitch Chat, facilitating interaction between applications and Twitch’s chat system.

Use cases

Use cases for twitch-mcp include developing chatbots that respond to viewer messages, creating interactive experiences during live streams, and enabling automated moderation tools for Twitch channels.

How to use

To use twitch-mcp, you need to build it locally using Maven and install it in your .m2 folder. You can run the server using JBang with specific commands to set your Twitch channel and API key. Configuration can also be done in the Claude desktop configuration file.

Key features

Key features of twitch-mcp include seamless integration with Twitch Chat, the ability to customize channel and authentication settings, and compatibility with MCP Clients like Claude.

Where to use

twitch-mcp is primarily used in applications that require interaction with Twitch Chat, such as chatbots, streaming tools, and interactive applications that enhance viewer engagement on Twitch.

Content

Twitch MCP Server

I got inspired to build this because of the following blog post
by Max Rydahl Andersen: https://quarkus.io/blog/mcp-server/.
I had written a Twitch Chat integration before, so decided to combine that knowledge with a Quarkus based MCP server as
described by Max.

This project is described in a bit more detail on my blog: https://tomcools.be/post/2025-jan-twitch-chat-mcp/

Building the MCP Server

This application is currently not pushed to Maven Central, so you need to build it locally and install it in your .m2
folder using mvn install.
Next we need a way to start the JAR file. In the examples below you’ll see I
used JBang.

Running the MCP server

With MCP Inspector

Run npx @modelcontextprotocol/inspector to start a local inspector service.

  • Create an MCP configuration to run the following
    • command: jbang
    arguments: ["--quiet", "-Dtwitch.channel=YOUR_CHANNEL_NAME", "-Dtwitch.auth=YOUR_API_KEY", "be.tomcools:twitch-mcp:1.0.0-SNAPSHOT:runner"]

Now you can manually call the tools.

With Claude Desktop

For Claude in claude_desktop_config.json

{
  "mcpServers": {
    "twitch-mcp-tomcools": {
      "command": "jbang",
      "args": [
        "--quiet",
        "-Dtwitch.channel=YOUR_CHANNEL_NAME",
        "-Dtwitch.auth=YOUR_API_KEY",
        "be.tomcools:twitch-mcp:1.0.0-SNAPSHOT:runner"
      ]
    }
  }
}

After restart, the tool should appear in your Claude UI.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers