
Caller-owned Discord operations for AI agents with 222 typed tools and verifiable guild builds.
registry version 0.32.1
npm
npx -y @discord-mcp/clinpm
npx -y @discord-mcp/cli@0.32.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-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.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-2 -- npx -y @discord-mcp/cli
claude mcp add --env DISCORD_TOKEN=<YOUR_DISCORD_TOKEN> discord-mcp-2 -- npx -y @discord-mcp/cli@0.32.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"servers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>"
}
}
}
}{
"mcpServers": {
"discord-mcp-2": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.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. The optional Bot prefix is accepted.DISCORD_EXPECTED_BOT_ID — Expected Discord bot ID. Startup fails if the token belongs to another bot.ALLOWED_GUILDS — Comma-separated Discord guild IDs this deployment may operate against.⭐ 134 stars · 最近更新于 18 天前 · Apache-2.0 license
/ Discord MCP An open source Model Context Protocol (MCP) server for D…
Summary from the project README — github.com/cappyeo/discord-mcp
Distributed as npm, listed under Communication. Review our MCP security guide before granting access to real data.
/ Discord MCP An open source Model Context Protocol (MCP) server for D
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/cappyeo/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-2/)
HTML
<a href="https://mcpnav.net/server/discord-mcp-2/"><img src="https://mcpnav.net/badge/discord-mcp-2.svg" alt="Listed on MCPNav" height="20"></a>