Discord MCP

MCP server · by cappyeo

Communication npm v0.32.1

Caller-owned Discord operations for AI agents with 222 typed tools and verifiable guild builds.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.32.1

npm
npx -y @discord-mcp/cli

Setup by client

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>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

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.

GitHub

⭐ 134 stars · 最近更新于 18 天前 · Apache-2.0 license

About this server

/ 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.

Frequently asked questions

What does the Discord MCP MCP server do?

/ Discord MCP An open source Model Context Protocol (MCP) server for D

How do I install Discord MCP?

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.

Is Discord MCP free to use?

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.

Which clients support Discord MCP?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/discord-mcp-2.svg)](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>