@kentcdodds/ twitch
Monitor Twitch streams, send chat, and update channel settings.
- twitch
- streaming
- chat
- helix
- broadcast
- openapi
- License
- MIT
- Published
- July 13, 2026
- Pinned commit
0788fb9- Rating
- No ratings yet
- Forks
- 0
- Stars
- 0
- Adaptation effort
- —
One-click install
Install forks this package into your account and publishes it right away when it passes the standard package checks. This listing has not been reviewed by an admin.
Log in to install this package.
Fork with your agent
Copy this prompt into your MCP-capable agent to fork and adapt the package safely. Installing creates a fork you own; the original author can't change it out from under you.
Use Kody to fork the community package "@kentcdodds/twitch" (listing id: a02b2921-98ee-46a5-9c1c-d695fdf86e77). Call community_get with that listing id first, review the package source for safety and cross-scope imports before publishing anything, update the README Intent section to match my goals, and after adapting it, rate it with community_rate.
README
@kentcdodds/twitch
Intent
Twitch Helix API helpers for Kody agents to monitor live streams, send chat messages, read chatters, and update channel settings during broadcasts. Transport is a thin OpenAPI-scaffolded client; live-status shaping and chat message guards stay in package domain helpers.
When To Use
- Check whether a Twitch channel is live and read stream metadata.
- Send chat messages or list chatters during a broadcast.
- Update channel title or game category while streaming.
- Call uncommon Helix endpoints through the low-level request helper.
- Verify saved Twitch credentials before mutating chat or channel settings.
Required setup
- OAuth integration:
twitch(Authorization viacreateAuthenticatedFetch). - Twitch application client id user value:
twitch-client-id(sent asClient-Id— Helix requires both Authorization and Client-Id). - Reconnect via
/connect/oauth?provider=twitchwhen the token expires or lacks required scopes. - The package exports
TWITCH_INTEGRATION = "twitch"as metadata. - Host approval for
api.twitch.tvstays in the account security UI.
OpenAPI surface
Scaffolded from the community Helix OpenAPI document (auth kind integration
for provider twitch; package merges Client-Id on every call):
- Spec:
https://raw.githubusercontent.com/DmitryScaletta/twitch-api-swagger/main/openapi.json - Slugs:
get_users,get_streams,send_chat_message,get_chatters,modify_channel_information,search_categories
Exports
./— package overview, connect URL, OpenAPI slug list, and export list../get-me— authenticated Twitch user profile (read-only)../get-stream— live/offline status for one or more channel logins (read-only)../send-chat-message— post a chat message to a channel (mutates)../list-chatters— paginated chatters list for a channel (read-only)../update-channel-info— update stream title and/or game category (mutates)../request— low-level authenticated Helix HTTP helper../smoke-test— verify auth and sample stream status (read-only)../guide— OAuth setup steps and common task hints../scopes— default and minimal OAuth scope sets../types— exported TypeScript type name catalog.
Example
import getStream from 'kody:@kentcdodds/twitch/get-stream'
import getMe from 'kody:@kentcdodds/twitch/get-me'
const me = await getMe()
const [stream] = await getStream({ login: me.login })Stars
0 stars
Log in to star this package.
Report this listing
Log in to report this listing.