slopchat
Verified Safeby 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
node dist/server.jsEnvironment 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
xiaohongshu-mcp
Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.
mcp-discord
Enables AI assistants to interact with the Discord platform by providing a set of Discord-related functionalities via the Model Context Protocol (MCP).
x-twitter-mcp-server
An MCP server for interacting with Twitter (X) via AI tools, allowing natural language commands to fetch, post, search, and manage tweets and user data.
slack-mcp-server
Provides an AI assistant, like Claude, programmatic access to Slack conversations, threads, and workspace information through the Model Context Protocol (MCP).