D

Discord MCP

MCP server · by hypark5540

Communication npmPythonDocker v0.1.1

Safe Discord access for reading guild data and optionally managing bot messages

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

Install

registry version 0.1.1

npm
npx -y @hypark5540/discord-mcp
Python
uvx hypark-discord-mcp
Docker
docker run -i --rm ghcr.io/hypark5540/discord-mcp:0.1.1

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-3": {
      "command": "npx",
      "args": [
        "-y",
        "@hypark5540/discord-mcp"
      ],
      "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
  • DISCORD_ENABLE_WRITES — Expose message send and edit tools
  • DISCORD_ENABLE_DELETES — Expose the own-message delete tool; writes must also be enabled
  • DISCORD_ALLOW_UNRESTRICTED_WRITES — Permit writes without a guild or channel allowlist
  • DISCORD_ALLOWED_GUILD_IDS — Comma-separated Discord guild IDs
  • DISCORD_ALLOWED_CHANNEL_IDS — Comma-separated Discord channel IDs
  • DISCORD_MAX_RESPONSE_CHARS — Maximum serialized MCP response size in characters

GitHub

最近更新于 31 天前 · MIT license

About this server

Distributed as npm, Python, Docker, listed under Communication. Review our MCP security guide before granting access to real data.

Frequently asked questions

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/hypark5540/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-3.svg)](https://mcpnav.net/server/discord-mcp-3/)

HTML

<a href="https://mcpnav.net/server/discord-mcp-3/"><img src="https://mcpnav.net/badge/discord-mcp-3.svg" alt="Listed on MCPNav" height="20"></a>