Twitch API Integration
STDIOMCP server that interacts with Twitch API to retrieve channel and stream information.
MCP server that interacts with Twitch API to retrieve channel and stream information.
A Model Context Protocol (MCP) server that interacts with the Twitch API. This server utilizes the Twitch Helix API to retrieve channel information, stream details, game data, and more.
Install the package using npm:
npm install @mtane0412/twitch-mcp-server
Create a new application in the Twitch Developer Console
Set the following environment variables:
# macOS/Linux export TWITCH_CLIENT_ID="your_client_id" export TWITCH_CLIENT_SECRET="your_client_secret" # Windows (PowerShell) $env:TWITCH_CLIENT_ID="your_client_id" $env:TWITCH_CLIENT_SECRET="your_client_secret"
Alternatively, you can create a .env
file:
TWITCH_CLIENT_ID=your_client_id TWITCH_CLIENT_SECRET=your_client_secret
After installation, you can start using the server by running:
npx @mtane0412/twitch-mcp-server
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspect
The Inspector will provide a URL to access debugging tools in your browser.
MIT License