Discord MCP Server
by willuhmjsio.github.willuhmjs/discord-mcpv1.1.1
Discord for LLM agents: 168 tools for messages, moderation, channels, roles, threads and AutoMod.
context tax
queued
security
queued
cold start
queued
freshness
Active6d ago
Install Discord MCP server
Install in Claude Code
claude mcp add discord-willuhmjs -e DISCORD_TOKEN='<discord-token>' -- npx -y @willuhmjs/discord-mcp --stdioInstall in Cursor
{
"mcpServers": {
"discord-willuhmjs": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp",
"--stdio"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"discord-willuhmjs": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp",
"--stdio"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"discord-willuhmjs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp",
"--stdio"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"discord-willuhmjs": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp",
"--stdio"
],
"env": {
"DISCORD_TOKEN": "<discord-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DISCORD_TOKEN | yes | yes | Discord bot token from https://discord.com/developers/applications |
| DISCORD_GUILD_ID | — | — | Default server (guild) ID used when a tool call omits guildId |
| ENABLE_MEMBERS_INTENT | — | — | Set to 1 to enable the privileged Server Members intent (needed for member-list tools) |
Freshness
Active — last maintenance signal 6d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-03 · 6d ago · GitHub
Latest release
2026-10-03 · 6d ago · GitHub · v1.1.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-03 · 6d ago · official registry · v1.1.1
FAQ
›How do I install the Discord MCP server in Claude Code?
Run: claude mcp add discord-willuhmjs -e DISCORD_TOKEN='<discord-token>' -- npx -y @willuhmjs/discord-mcp --stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Discord require an API key?
Yes. It expects DISCORD_TOKEN, of which 1 is a secret.
›Can I use Discord as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Discord in the official MCP registry?
Yes, as io.github.willuhmjs/discord-mcp.
Alternatives to Discord
Other communication MCP servers.