Add to Claude Code
145 addsAdd this MCP server to Claude Code.
Name: Discord MCP
Merge into: ~/.claude/mcp.json under mcpServers
---
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "discord-mcp"],
"env": {
"DISCORD_BOT_TOKEN": "<YOUR_BOT_TOKEN>"
}
}
}
}
// ── Setup ────────────────────────────────────────────────────────────────────
// 1. Create a Discord Application at https://discord.com/developers/applications
// 2. Go to Bot settings and create a bot
// 3. Copy the Bot Token and paste above
// 4. Enable these Privileged Gateway Intents:
// - Message Content Intent
// - Server Members Intent
// 5. Invite the bot to your server with the OAuth2 URL Generator:
// Scopes: bot, applications.commands
// Permissions: Send Messages, Read Message History, Manage Messages
//
// ── Available tools ──────────────────────────────────────────────────────────
// list_guilds list servers the bot is in
// list_channels list channels in a server
// read_messages read recent messages from a channel
// send_message send a message to a channel
// reply_to_message reply to a specific message
// create_thread create a new thread
// read_thread read messages in a thread
// add_reaction add an emoji reaction
// get_user_info get user profile info
Paste into Claude Code to connect this MCP server.
How to add
Full guide →Click Add, then paste into Claude Code. Claude will connect the MCP server in your settings.
Target: .claude/mcp.json → mcpServers