Discord MCP
Discord MCP is an MCP server that adds messaging tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Caller-owned Discord operations for AI agents with 222 typed tools and verifiable guild builds. It has 191 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @discord-mcp/cli.
github.com/cappyeo/discord-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Needs API key
- Communication
- Apache-2.0
- Active
Install Discord MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env DISCORD_TOKEN=your-value --transport stdio discord-mcp -- npx -y @discord-mcp/cliCursor
{
"mcpServers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "discord_token",
"description": "DISCORD_TOKEN",
"password": true
}
],
"servers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "${input:discord_token}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
DISCORD_TOKENsecret | Yes | Discord bot token. The optional Bot prefix is accepted. |
DISCORD_EXPECTED_BOT_ID | No | Expected Discord bot ID. Startup fails if the token belongs to another bot. |
ALLOWED_GUILDS | No | Comma-separated Discord guild IDs this deployment may operate against. |
About Discord MCP
Caller-owned Discord operations for AI agents with 222 typed tools and verifiable guild builds. Open-source Discord MCP server for Claude, Codex, Cursor and other AI clients: 209 typed tools, caller-owned bots, safety controls and verifiable guild builds.
- discord
- discord-bot
- discord-developers
- discord-js
- discord-mcp
- agents
- mcp
- ai-agents
- claude
- claude-code
Similar MCP servers
More communication MCP servers
e2a — email for AI agents
tokencanopy/e2a
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Active · last commit Oct 22, 2026
CommunicationGoFlop Labs MCP Server
flop-labs/technocore-chat
Shared rooms and durable notes for agents over plain HTTP: rendezvous, hand-off, coordination.
Active · last commit Nov 10, 2026
CommunicationPythonAutopilot Jobhunt
tarunlnmiit/autopilot-jobhunt
Agentic job hunt: scan careers pages, score against your resume, draft applications.
Active · last commit Sep 15, 2026
CommunicationPythonEmail MCP
codefuturist/email-mcp
IMAP/SMTP email MCP server — 52 tools, stdio + HTTP, IMAP IDLE push, multi-account, AI triage.
Active · last commit Oct 16, 2026
CommunicationTypeScriptParse-DMARC MCP Server
dmarcguardhq/parse-dmarc
Lightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app.
Active · last commit Nov 13, 2026
OfficialCommunicationGofreellmpool
0xzr/freellmpool
OpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.
Active · last commit Oct 8, 2026
CommunicationPython
How do I install the Discord MCP MCP server?
Add the command npx -y @discord-mcp/cli to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Discord MCP free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (DISCORD_TOKEN) for the service it connects to, which may require a paid account.
Is Discord MCP actively maintained?
The most recent commit was on Nov 12, 2026. The latest release is v0.34.1, published Nov 12, 2026. appsgit only lists MCP servers with a commit in the last six months.