Skip to content
Grok

Discord MCP for Grok

io.github.cappyeo/discord-mcp

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

client:Grok transport:stdio runtime:npm

Install Discord MCP in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "discord-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>",
        "DISCORD_EXPECTED_BOT_ID": "<DISCORD_EXPECTED_BOT_ID>",
        "ALLOWED_GUILDS": "<ALLOWED_GUILDS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Discord MCP in other clients