Back to MCP directory
publicPublicdnsLocal runtime

twitch-mcp

该项目是一个基于Quarkus的Twitch聊天MCP服务器,通过整合Twitch聊天功能与MCP协议,为Claude等工具提供实时聊天交互服务。

article

README

🚀 Twitch MCP 服务器

本项目受 Max Rydahl Andersen 所著的博客文章 Twitch Chat Integration 启发而创建。由于我之前有过 Twitch 聊天集成的开发经验,便决定将相关知识与 Max 用 Quarkus 构建的 MCP 服务器相结合。

项目的详细信息可在我的博客 Twitch Chat MCP 中查看。

🚀 快速开始

📦 安装指南

目前,该应用程序尚未发布到 Maven Central,因此需要在本地进行构建,并将其安装到您的 .m2 文件夹中。可以使用以下命令完成操作:

mvn install

接下来,我们需要一种方法来运行 JAR 文件。在下面的示例中,我使用了 JBang

💻 使用示例

运行 MCP 服务器

使用 MCP Inspector

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

npx @modelcontextprotocol/inspector

创建一个 MCP 配置以运行以下内容:

  • 命令:jbang
  • 参数:["--quiet", "-Dtwitch.channel=YOUR_CHANNEL_NAME", "-Dtwitch.auth=YOUR_API_KEY", "be.tomcools:twitch-mcp:1.0.0-SNAPSHOT:runner"]

现在,您就可以手动调用该工具了。

使用 Claude Desktop

对于 Claude 桌面版,在 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 界面中。

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