MCP Hub › AI & Agents › Discord MCP

Discord MCP MCP server

by cappyeo · io.github.cappyeo/discord-mcp

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

🤖 AI & Agentsnpmv0.32.1
Open in MCP HubGitHub repository ↗Website ↗

How to install Discord MCP

npm

claude mcp add -e DISCORD_TOKEN=<your-discord-token> discord-mcp -- npx -y @discord-mcp/[email protected]

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/[email protected]"
      ],
      "env": {
        "DISCORD_TOKEN": "<your-discord-token>"
      }
    }
  }
}

Environment variables:
DISCORD_TOKEN (required) – 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.

Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.

Details

Version
0.32.1
Published
2026-10-19
Updated
2026-10-19
Namespace
io.github.cappyeo
Source
cappyeo/discord-mcp

Similar ai & agents servers