Discord for LLM agents: 168 tools for messages, moderation, channels, roles, threads and AutoMod.
registry version 1.1.1
npm
npx -y @willuhmjs/discord-mcpnpm
npx -y @willuhmjs/discord-mcp@1.1.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp@1.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env DISCORD_TOKEN=<YOUR_DISCORD_TOKEN> discord-mcp-8 -- npx -y @willuhmjs/discord-mcp
claude mcp add --env DISCORD_TOKEN=<YOUR_DISCORD_TOKEN> discord-mcp-8 -- npx -y @willuhmjs/discord-mcp@1.1.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp@1.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"servers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp@1.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-8": {
"command": "npx",
"args": [
"-y",
"@willuhmjs/discord-mcp@1.1.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
DISCORD_TOKEN required secret — Discord bot token from https://discord.com/developers/applicationsDISCORD_GUILD_ID — Default server (guild) ID used when a tool call omits guildIdENABLE_MEMBERS_INTENT — Set to 1 to enable the privileged Server Members intent (needed for member-list tools)最近更新于 33 天前 · MIT license
discord mcp An MCP server that lets an LLM run a Discord server: 168 tools for messages, moderation, channels, roles, threads, events, invites, webhooks, AutoMod and more. Works with Claude, Cursor, VS Code, or any MCP client. Rich messages : embeds, Components V2, polls, files, replies — validated…
Summary from the project README — github.com/willuhmjs/discord-mcp
Distributed as npm, listed under Communication. Review our MCP security guide before granting access to real data.
discord mcp An MCP server that lets an LLM run a Discord server: 168 tools for messages, moderation, channels, roles, threads, events, invites, webhooks, AutoMod and more. Works with Claude, Cursor, VS Code, or any MCP client. Rich messages : embeds, Components V2, polls, files, replies — validated
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/willuhmjs/discord-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/discord-mcp-8/)
HTML
<a href="https://mcpnav.net/server/discord-mcp-8/"><img src="https://mcpnav.net/badge/discord-mcp-8.svg" alt="Listed on MCPNav" height="20"></a>