A community MCP server for the Discord REST API with traceable coverage
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
claude mcp add discord-mcp \ -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN \ -- npx -y @qungtai/[email protected]
Environment
DISCORD_TOKEN (required): Discord Bot TokenDISCORD_MCP_ALLOWED_GUILDS (optional, not in the config above): Comma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.DISCORD_MCP_TOOLSETS (optional, not in the config above): Comma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites.DISCORD_MCP_READ_ONLY (optional, not in the config above): Blocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup.DISCORD_MCP_APPROVAL (optional, not in the config above): Confirmation mode for destructive operations (elicitation or none). Any other value stops startup.DISCORD_MCP_ALLOW_DMS (optional, not in the config above): Permits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup.DISCORD_MCP_FILE_ROOTS (optional, not in the config above): Optional comma-separated list of absolute directory paths accessible for uploads. When unset, empty, or parsing to no entries, file access is open by default for any absolute path, except hidden files and directories.DISCORD_MCP_DOWNLOAD_DIR (optional, not in the config above): Absolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.DISCORD_MCP_MAX_DOWNLOAD_BYTES (optional, not in the config above): Maximum download size in bytes for discord_download_attachment (defaults to 100 MiB).DISCORD_MCP_MAX_UPLOAD_BYTES (optional, not in the config above): Maximum upload size in bytes (defaults to 20 MiB).DISCORD_MCP_REQUEST_TIMEOUT_MS (optional, not in the config above): HTTP request timeout in milliseconds for Discord REST API requests.DISCORD_MCP_RATE_LIMIT_WAIT_MS (optional, not in the config above): Maximum wait duration in milliseconds when encountering a Discord rate limit before aborting.We don't run packages, so we can't list this server's tools.