Discord MCP connector

Private status and setup page. Remote MCP over Streamable HTTP, with SSE fallback, for claude.ai custom connectors.

Health

ServerOK up 3 min
Discord bot tokenMISSING set DISCORD_BOT_TOKEN
Sign-in passwordMISSING set MCP_OWNER_PASSWORD (connector sign-in refuses until set)
AllowlistEMPTY every tool call is denied until you set ALLOWED_GUILD_IDS and/or ALLOWED_CHANNEL_IDS
0 server(s), 0 channel(s)
Moderead + write; mentions suppressed
Discord calls0 total, 0 rate-limited (handled)

Connector URL

Paste this into Claude (Streamable HTTP):
https://discord-mcp.morristech.ca/mcp

SSE fallback (only if Streamable HTTP is unavailable): https://discord-mcp.morristech.ca/sse

1. Create the Discord bot

  1. Open the Developer Portal → New Application.
  2. Bot tab → Reset Token and copy it (shown once). It is a bot token; never use a user token. Put it in DISCORD_BOT_TOKEN on the server, never in git.
  3. Same tab, Privileged Gateway Intents: enable Message Content Intent (needed to read message text). Presence and Server Members intents are not needed.
  4. Untick Public Bot so only you can invite it.
  5. Invite it with Guild Install, scope bot, permissions: View Channels, Send Messages, Send Messages in Threads, Create Public Threads, Read Message History, Add Reactions (permission value 309237713984).
    Once the token is set this page shows a ready-made invite link. Or use OAuth2 → URL Generator in the portal.
  6. In Discord enable Developer Mode (Settings → Advanced), right-click your server/channels → Copy ID, and set ALLOWED_GUILD_IDS / ALLOWED_CHANNEL_IDS (comma-separated). Restart the server.

2. Add the connector in Claude

  1. claude.ai → Customize → Connectors (Settings → Connectors on some plans) → Add custom connector.
  2. Name: Discord. URL: https://discord-mcp.morristech.ca/mcp. Leave advanced client ID/secret empty (dynamic registration is used).
  3. Click Connect. A sign-in page on this server opens: enter your MCP_OWNER_PASSWORD.
  4. In a chat, enable the connector from the tools menu. Set write tools (send, reply, react, create thread) to needs approval.

Built on Anthropic's official Discord plugin (Apache-2.0). Channel messages are untrusted input; keep sensitive channels off the allowlist.