Discord MCP
MCP server by cappyeo Community
Discord MCP is an open-source MCP server that connects Claude, Codex, Cursor and other AI clients to your own Discord bot. It offers 222 typed tools for messages, roles, moderation and server setup, aimed at people who run Discord communities.
Install Discord MCP
Built from the published package, never by AI.
claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @discord-mcp/cliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"discord-mcp": {
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN"
},
"args": [
"-y",
"@discord-mcp/cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"discord-mcp": {
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN"
},
"args": [
"-y",
"@discord-mcp/cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"discord-mcp": {
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN"
},
"args": [
"-y",
"@discord-mcp/cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add discord-mcp --env DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @discord-mcp/cli{
"mcpServers": {
"discord-mcp": {
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_TOKEN"
},
"args": [
"-y",
"@discord-mcp/cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add discord-mcp npx -y @discord-mcp/cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the discord-mcp block.
About
Discord MCP connects Claude, Codex, Cursor and other MCP-compatible AI clients to a Discord bot you own. It exposes 222 typed tools covering messages, threads, forums, roles, events, polls, onboarding, channels, moderation and AutoMod. A guided setup command verifies the bot, selects a server boundary and saves a non-secret profile.
It can also build a server from a blueprint you preview and approve, check the final result by reading it back from Discord, preview bounded server edits, and read channel history with citations. Guild and tool-category allowlists limit access, and preview modes can block writes. It is aimed at people who manage Discord communities and want AI assistance under their own permissions.
Written from the project's README and checked against it.
Tools it gives your assistant
Messages and community toolsMessages, threads, forums, roles, events, polls, and onboarding.ModerationPermission checks, role audits, bans, and AutoMod.Server buildingBlueprint preview, resumable execution, and final Discord readback.Server changesBounded edits, member access inspection, and selected configuration restore.Cited conversation contextBounded channel and thread history with Discord citations.Durable workflowsStart, inspect, cancel, and resume background sequences.Bot extensionsSlash commands, interactions, webhooks, and application emojis.Message EventsOptional DM and mention delivery to an MCP Events subscriber from v0.33.0.
What you need
- Node.js 22.12 or newer
- Your own Discord bot, installed in a server you control
- A Discord bot token
- Windows, macOS, or Linux
| Setting | Needed | What it is |
|---|---|---|
DISCORD_Environment variable, secret | Required | Discord bot token. The optional Bot prefix is accepted. |
DISCORD_Environment variable | Optional | Expected Discord bot ID. Startup fails if the token belongs to another bot. |
ALLOWED_Environment variable | Optional | Comma-separated Discord guild IDs this deployment may operate against. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Build a gaming community server with channels, roles and AutoMod.
- Show the permission checks and role audit for my Discord server.
- Summarize the cited history of this support channel for me.
Good to know
- Pre-1.0, so stability commitments may still change.
- Guided setup defaults to preview mode, which blocks all Discord mutations.
- The message Events worker supports Linux and macOS only.
- The Docker image defaults to catalog-only mode, so bot operations need serve and your own credentials.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Discord MCP
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Discord MCP: common questions
Does Discord MCP need a Discord bot?
Yes. It requires your own Discord bot installed in a server you control, with the bot token set in your environment.
Can it change my Discord server without asking?
Guided setup defaults to preview mode, which blocks all mutations. Direct serve defaults to allowing ordinary writes, so review the safety controls before enabling writes.
Can I check the tool catalog without a bot token?
Yes. The discord-mcp catalog --check command validates the local tool catalog with no token and no Discord or network request.
How do I install Discord MCP?
In Claude Code run claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @discord-mcp/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Discord MCP the official server?
Discord MCP is a community project by cappyeo, not verified by a company domain.
Is Discord MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Discord MCP safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Discord MCP?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Discord MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
