discord-webhook-mcp-server
Verified Safeby LLMTooling
Overview
Enables LLMs to send messages and rich embeds to Discord via webhooks for notifications, monitoring, and integrations.
Installation
node dist/index.jsEnvironment Variables
- DISCORD_WEBHOOK_URL
- PORT
- LOG_LEVEL
Security Notes
The server demonstrates strong security practices: - **Input Validation**: Extensive validation is performed on message content length, embed field counts, and color formats, preventing common Discord API errors and potential overflow issues. The webhook URL is also validated against a specific Discord pattern. - **Environment Variables**: Sensitive information like the Discord Webhook URL is correctly sourced from environment variables (`DISCORD_WEBHOOK_URL`), preventing hardcoded secrets. - **Error Handling**: Custom error types (`ValidationError`, `WebhookError`, `EnvironmentError`) are implemented, and tool calls are wrapped in `try-catch` blocks, providing robust error reporting to the MCP client. - **Network Security**: All external network requests are explicitly directed to the validated Discord webhook endpoint. No arbitrary network access is apparent. - **Code Clarity**: The TypeScript codebase is clear, well-structured, and does not contain obfuscated code or dangerous functions like `eval`. - **Dependencies**: Dependencies are managed via `package.json` and `package-lock.json`, and are mostly standard, well-maintained libraries. No red flags found in dependency list for direct security issues.
Similar Servers
slack-mcp-server
Model Context Protocol (MCP) server providing real-time and historical Slack data access to AI models.
slack-mcp-client
The Slack MCP Client acts as a production-ready bridge enabling AI models to interact with real tools and systems through Slack conversations via the Model Context Protocol.
mcp-discord
An MCP server that enables AI assistants to interact with the Discord platform by providing tools for communication, channel management, and server information retrieval.
tiger-slack
An AI-powered Slack bot, likely integrating with Claude, designed to process and respond to messages within a Slack workspace.