streaming
Twitch MCP, CLI, and Lua Integration for AI Agents
Twitch integration docs for AI agents: MCP gateway setup, Twitch CLI commands, Lua API reference, credentials, and function schemas.
8 functions 8 read 0 write Manual OAuth token auth
Twitch for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
twitch- route_slug
twitch- package
twitch- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Twitch CLIHeadless setup and direct function calls. Twitch MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Twitch MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Twitch.
Claude Code Twitch MCP setup for Claude Code. Cursor Twitch MCP setup for Cursor. Codex Twitch MCP setup for Codex. OpenAI Agents Twitch MCP setup for OpenAI Agents SDK. Claude Agent SDK Twitch MCP setup for Claude Agent SDK. Vercel AI SDK Twitch MCP setup for Vercel AI SDK. LangChain Twitch MCP setup for LangChain. LangGraph Twitch MCP setup for LangGraph. CrewAI Twitch MCP setup for CrewAI. MCP clients Twitch MCP setup for Generic MCP Clients.
Twitch CLI Matrix
Use these pages for direct Twitch CLI workflows in scripts, CI, cron, and agent wrappers.
CI Twitch CLI for CI. Cron Jobs Twitch CLI for cron jobs. Shell Scripts Twitch CLI for shell scripts. Headless Automation Twitch CLI for headless automation. Coding Agents Twitch CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
twitch.twitch_list_streams | Read read | 7 | List live streams on Twitch. Filter by game, language, or specific users. Returns stream title, viewer count, and broadcaster info. |
twitch.twitch_get_user | Read read | 2 | Get information about a Twitch user by user ID or login name. Returns display name, bio, profile image, and account details. |
twitch.twitch_list_games | Read read | 2 | Get information about Twitch games/categories by ID or name. Returns game name, box art URL, and IGDB ID. |
twitch.twitch_get_game | Read read | 1 | Get information about a specific Twitch game/category by its ID. Returns game name, box art URL, and IGDB ID. |
twitch.twitch_list_channels | Read read | 3 | List channel information on Twitch. Filter by broadcaster ID. Returns channel description, game, and broadcast settings. |
twitch.twitch_get_channel | Read read | 1 | Get information about a specific Twitch channel by broadcaster ID. Returns channel title, game, description, and broadcast settings. |
twitch.twitch_search_categories | Read read | 3 | Search for games/categories on Twitch by name. Returns matching categories with IDs you can use to filter streams. |
twitch.twitch_get_current_user | Read read | 0 | Get information about the currently authenticated Twitch user. Returns display name, bio, profile image, and account type. |