← Back to MCP directory
publicPublicdnsLocal runtime

Twitch Chat

一个基于Quarkus的Twitch聊天MCP服务器项目

article

README

🚀 构建 Twitch MCP 服务器

本项目受 Max Rydahl Andersen 所撰写的博客文章 Twitch Chat Integration 启发。鉴于我此前曾进行过 Twitch 聊天集成的开发,便决定将相关知识与 Max 用 Quarkus 构建的 MCP 服务器相结合。更多详细内容可查阅我的博客文章:Twitch Chat Integration。

🚀 快速开始

📦 安装指南

目前该项目尚未推送至 Maven Central,因此你需要在本地进行构建,并将其安装到 .m2 文件夹中。请使用以下命令:

mvn install

接下来,你需要一种方法来运行生成的 JAR 文件,示例中使用了 JBang。

💻 使用示例

运行 MCP 服务器

使用 MCP Inspector

运行以下命令以启动本地 inspector 服务:

npx @modelcontextprotocol/inspector

创建一个 MCP 配置,运行以下命令:

  • command: jbang
  • arguments: ["--quiet", "-Dtwitch.channel=YOUR_CHANNEL_NAME", "-Dtwitch.auth=YOUR_API_KEY", "be.tomcools:twitch-mcp:1.0.0-SNAPSHOT:runner"] 现在你可以手动调用这些工具。
使用 Claude Desktop

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

配置完成后,重启 Claude,工具将在你的 Claude UI 中可用。

READY-TO-PASTE CONFIG

MCP client config generator

Choose your client, fill the required environment variables, then copy a config generated from this server's published metadata

terminal
data_object

This entry does not contain a standard command or remote URL, so a safe client config cannot be generated automatically

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client