Discord for LLM agents: 168 tools for messages, moderation, channels, roles, threads and AutoMod.
Connect Runs on your machine
claude mcp add discord-mcp -e DISCORD_TOKEN=<DISCORD_TOKEN> -e DISCORD_GUILD_ID=<DISCORD_GUILD_ID> -e ENABLE_MEMBERS_INTENT=<ENABLE_MEMBERS_INTENT> -- npx -y @willuhmjs/[email protected]
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/[email protected]"
],
"env": {
"DISCORD_TOKEN": "<DISCORD_TOKEN>",
"DISCORD_GUILD_ID": "<DISCORD_GUILD_ID>",
"ENABLE_MEMBERS_INTENT": "<ENABLE_MEMBERS_INTENT>"
}
}
}
}
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/[email protected]"
],
"env": {
"DISCORD_TOKEN": "<DISCORD_TOKEN>",
"DISCORD_GUILD_ID": "<DISCORD_GUILD_ID>",
"ENABLE_MEMBERS_INTENT": "<ENABLE_MEMBERS_INTENT>"
}
}
}
}
{
"servers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@willuhmjs/[email protected]"
],
"env": {
"DISCORD_TOKEN": "<DISCORD_TOKEN>",
"DISCORD_GUILD_ID": "<DISCORD_GUILD_ID>",
"ENABLE_MEMBERS_INTENT": "<ENABLE_MEMBERS_INTENT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DISCORD_TOKENRequired, secret | Discord bot token from https://discord.com/developers/applications |
DISCORD_GUILD_IDOptional | Default server (guild) ID used when a tool call omits guildId |
ENABLE_MEMBERS_INTENTOptional | Set to 1 to enable the privileged Server Members intent (needed for member-list tools) |
Details
| Package | @willuhmjs/[email protected] (NPM, stdio) |
| First published | 3 Oct 2026 |
| Last updated | 3 Oct 2026 |
| Registry name | io.github.willuhmjs/discord-mcp |
More communication servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
