Skip to content
MCP-Bridge
Communication

Discord API Claude Desktop Config

Add the Discord API MCP server to Claude Desktop with this ready-to-use configuration.

Setup Instructions

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config → claude_desktop_config.json
  3. Paste the JSON below into the file
  4. Set your Bot Token in the env section
  5. Restart Claude Desktop

Configuration JSON

Copy the entire block into your claude_desktop_config.json

{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": [
        "-y",
        "@discord/mcp-server"
      ],
      "env": {
        "DISCORD_BOT_TOKEN": "your_bot_token"
      }
    }
  }
}

Environment Variables

DISCORD_BOT_TOKEN

Replace your_bot_token with your actual discord bot token

Endpoints

GET/channels/{channel_id}/messages

Get channel messages

POST/channels/{channel_id}/messages

Send message

GET/guilds/{guild_id}

Get guild