HomeCommunication › Discord MCP

Discord MCP

Caller-owned Discord operations for AI agents with 209 typed tools and verifiable guild builds.

TypeScript
★ 142 stars Last pushed 2026-09-20 License: Apache-2.0

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 0.28.0)

npx -y @discord-mcp/cli@0.28.0

Or add to your MCP client config:

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli@0.28.0"
      ],
      "env": {
        "DISCORD_TOKEN": "<YOUR_VALUE>",
        "DISCORD_EXPECTED_BOT_ID": "<YOUR_VALUE>",
        "ALLOWED_GUILDS": "<YOUR_VALUE>"
      }
    }
  }
}
  • DISCORD_TOKEN required secret — Discord bot token. The optional Bot prefix is accepted.
  • DISCORD_EXPECTED_BOT_ID — Expected Discord bot ID. Startup fails if the token belongs to another bot.
  • ALLOWED_GUILDS — Comma-separated Discord guild IDs this deployment may operate against.

Related servers

Data from the Official MCP Registry