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 221 typed tools and verifiable guild builds. It has 121 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @discord-mcp/cli.
- Needs API key
- Communication
- Apache-2.0
- Actively maintained
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 221 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
Strata
Klavis-AI/klavis
MCP server for progressive tool usage at any scale (see https://klavis.ai).
OfficialCommunicationPythonVexa
Vexa-ai/vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom.
OfficialCommunicationPythonMCP Server for WinDbg Crash Analysis
svnscha/mcp-windbg
A Model Context Protocol server for Windows crash dump analysis using WinDbg/CDB.
CommunicationPythonRocketmq Rust
mxsm/rocketmq-rust
🚀 Apache RocketMQ built in Rust 🦀 — faster, safer, and more memory-efficient.
CommunicationRustWassette
microsoft/wassette
Wassette: A security-oriented runtime that runs WebAssembly Components via MCP.
OfficialCommunicationRustLine Bot MCP Server
line/line-bot-mcp-server
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
OfficialCommunicationTypeScript
What is 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 221 typed tools and verifiable guild builds. It has 121 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @discord-mcp/cli. The source code is at github.com/cappyeo/discord-mcp.
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 Oct 2, 2026. The latest release is v0.31.1, published Oct 2, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.