home / mcp / discord notification mcp server
Simple MCP server to send you notifications on discord
Configuration
View docs{
"mcpServers": {
"kstonekuan-discord-notification-mcp": {
"url": "https://your-worker-name.workers.dev/sse",
"headers": {
"WEBHOOK_URL": "YOUR_WEBHOOK_URL"
}
}
}
}You deploy and run a Cloudflare Workers MCP server that sends notifications to Discord whenever Claude Code completes tasks. It supports reliable transport through SSE and Streamable HTTP, uses durable state for MCP connections, and formats messages with embeds and mention controls to keep your team informed.
Connect Claude Code to the Discord Notification MCP Server using the provided SSE transport endpoints. You will configure Claude Code to point to the serverβs /sse endpoint for real-time updates as tasks run. Use the send_discord_message tool to post rich notifications to your Discord channel when tasks finish, encounter errors, or require human input.
Prerequisites: You need a Discord webhook, and an environment capable of running Cloudflare Workers with the Wrangler tool.
1. Create a Discord webhook in your channel: right-click the channel β Edit Channel β Integrations β Webhooks, then choose New Webhook and copy the URL.
2. Sign up for a Cloudflare account at cloudflare.com.
3. Install dependencies locally.
pnpm installSet the Discord webhook URL as a Cloudflare secret and deploy your worker. Use the same secret in local development for consistency.
# First set secrets
npx wrangler secret put WEBHOOK_URL
# Then deploy
pnpm run deployAdd the MCP server to Claude Code using the SSE transport. Production and local examples are shown below.
# For production deployment (SSE)
claude mcp add discord-notify https://your-worker-name.workers.dev/sse -t sse
# For local development
claude mcp add discord-notify http://localhost:8787/sse -t sseVerify the configuration by listing MCP connections and testing the SSE endpoint directly.
claude mcp list
# Test SSE endpoint
curl -N http://localhost:8787/sseTool to send a notification message to Discord with content, optional embeds, TTS, and allowed_mentions controls.