Discord MCP server
io.github.willuhmjs/discord-mcp·v1.1.1Discord for LLM agents: 168 tools for messages, moderation, channels, roles, threads and AutoMod.
0 stars
Reviews
Write oneNobody has reviewed Discord yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Discord tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan27 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Discord compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 68% of 4,464 AI and agents servers
Install Discord in Claude Code, Cursor or VS Code
Runs npx -y @willuhmjs/discord-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add discord-mcp -- npx -y @willuhmjs/discord-mcp
What the publisher says
From the Discord repository's README, as published. We do not edit it. Read it on GitHub
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.
with errors that name the bad field.
- Rich messages: embeds, Components V2, polls, files, replies — validated before they reach Discord,
- Interactions: role menus that survive restarts, plus a log of who clicked what.
- Secure by default: binds to 127.0.0.1, SSRF-guarded URL fetching, webhook tokens never echoed.
Quick start
server, and enable the Message Content intent (Bot → Privileged Gateway Intents).
- Create a bot in the developer portal, invite it to your
- Add this to your MCP client's config (mcp.json, claudedesktopconfig.json, .cursor/mcp.json, ...):
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "@willuhmjs/discord-mcp", "--stdio"],
"env": {
"DISCORD_TOKEN": "your-bot-token",
"DISCORD_GUILD_ID": "your-server-id"
}
}
}
}VS Code uses "servers" instead of "mcpServers". On Windows, if the client can't find npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "@willuhmjs/discord-mcp", "--stdio"].
Claude Code — one command:
claude mcp add discord -e DISCORD_TOKEN=... -e DISCORD_GUILD_ID=... -- npx -y @willuhmjs/discord-mcp --stdioDocker — a long-running HTTP server at http://127.0.0.1:8085/mcp:
docker run --rm -e DISCORD_TOKEN=... -p 127.0.0.1:8085:8085 ghcr.io/willuhmjs/discord-mcpRequires Node.js 22+ for npx.
Configuration
In HTTP mode, POST /mcp serves MCP (stateful sessions via Mcp-Session-Id) and GET /health returns 200 once the bot is connected.
Keeping the HTTP endpoint private
The HTTP endpoint has no authentication: anyone who can reach it can use every tool as the bot. Keep it on loopback or a private network. On a shared machine, other accounts can still reach a loopback port, so use a Unix socket that only you can open:
mkdir -m 700 ~/.mcp
MCP_SOCKET=~/.mcp/discord.sock DISCORD_TOKEN=... npx @willuhmjs/discord-mcp
curl --unix-socket ~/.mcp/discord.sock http://localhost/healthThe socket is created with mode 600. Avoid network file systems such as NFS. The Docker image binds 0.0.0.0, so keep that container on an internal network. stdio mode has no network exposure at all.
Tools
Every tool, with its parameters and the Discord permission it needs, is listed in docs/TOOLS.md, along with the conventions (string IDs, JSON-string payloads, reason for the audit log) and message/component formats.
Security
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Discord: common questions
- Is Discord MCP server safe?
- Mostly: it is graded B (83/100). Read the Discord safety report
- How do I install Discord?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Discord need an API key?
- Yes. The registry entry asks for
DISCORD_TOKEN. - Is Discord maintained?
- The last commit was 30 days ago (2026-10-03). The latest release is v1.1.1.
- What can I use instead of Discord?
- Servers from other publishers that do the same job: Agent-Native Chat MCP server.
Alternatives to Discord
Same job from other publishers: the closest match first, then the best rated.
- Agent-Native ChatMinimal chat-first app with durable threads, actions, and the app-agent loopnot reviewedEstablishedA