Back to Home
LLMTooling icon

discord-webhook-mcp-server

Verified Safe

by LLMTooling

Overview

Enables LLMs to send messages and rich embeds to Discord via webhooks for notifications, monitoring, and integrations.

Installation

Run Command
node dist/index.js

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens400
Stars0
Forks0
Last Update2025-12-09

Tags

DiscordWebhookLLM IntegrationNotificationsMessaging