Back to Home
CampbellPedersen icon

slopchat

Verified Safe

by CampbellPedersen

Overview

This MCP server enables AI models to generate and send chat messages to Atrioc's Twitch stream by providing real-time stream context, trending Reddit posts, and top news stories.

Installation

Run Command
node dist/server.js

Environment Variables

  • HOST
  • TWITCH_CLIENT_ID
  • TWITCH_OAUTH_SERVER
  • NEWS_API_KEY

Security Notes

The server correctly uses environment variables for sensitive API keys (Twitch Client ID, NewsAPI key, Host) and the Twitch OAuth server URL. It implements a restrictive CORS policy, allowing only specific origins (Claude AI, local MCP inspector). Twitch access tokens are validated for client ID and required scopes. There are no apparent uses of `eval` or intentional obfuscation. The `exchangeAuthorizationCodeForToken` endpoint relies on the `URLSearchParams` from `req.body` to include necessary OAuth parameters (likely `client_id` and `client_secret` if it's a confidential client flow, or other PKCE parameters), but the server itself doesn't explicitly read a `TWITCH_CLIENT_SECRET` from its environment variables for this exchange. The `getChatMessageBatch` uses a hardcoded 5-second `sleep` which is not a direct security risk but could be a performance bottleneck under high load if not properly managed.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-19

Tags

AI AssistantTwitchChat AutomationSocial MediaContent Generation