io.github.qungtai/discord-mcp

io.github.qungtai/discord-mcp

A community MCP server for the Discord REST API with traceable coverage

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@qungtai/discord-mcp@0.2.0"
      ],
      "env": {
        "DISCORD_TOKEN": "<your DISCORD_TOKEN>",
        "DISCORD_MCP_TOOLSETS": "core,messages,reactions,threads",
        "DISCORD_MCP_READ_ONLY": "false",
        "DISCORD_MCP_APPROVAL": "elicitation",
        "DISCORD_MCP_ALLOW_DMS": "false",
        "DISCORD_MCP_MAX_DOWNLOAD_BYTES": "104857600",
        "DISCORD_MCP_MAX_UPLOAD_BYTES": "20971520",
        "DISCORD_MCP_REQUEST_TIMEOUT_MS": "15000",
        "DISCORD_MCP_RATE_LIMIT_WAIT_MS": "5000"
      }
    }
  }
}
Environment variables
  • DISCORD_TOKENrequiredsecretDiscord Bot Token
  • DISCORD_MCP_TOOLSETSComma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites.
  • DISCORD_MCP_READ_ONLYBlocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup.
  • DISCORD_MCP_APPROVALConfirmation mode for destructive operations (elicitation or none). Any other value stops startup.
  • DISCORD_MCP_ALLOW_DMSPermits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup.
  • DISCORD_MCP_MAX_DOWNLOAD_BYTESMaximum download size in bytes for discord_download_attachment (defaults to 100 MiB).
  • DISCORD_MCP_MAX_UPLOAD_BYTESMaximum upload size in bytes (defaults to 20 MiB).
  • DISCORD_MCP_REQUEST_TIMEOUT_MSHTTP request timeout in milliseconds for Discord REST API requests.
  • DISCORD_MCP_RATE_LIMIT_WAIT_MSMaximum wait duration in milliseconds when encountering a Discord rate limit before aborting.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.0
Registry
active
Published
11/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.qungtai/discord-mcp is listed here — it’s also the link we check for a free listing.

io.github.qungtai/discord-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-qungtai-discord-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.qungtai/discord-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.qungtai/discord-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-qungtai-discord-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.