Discord MCP logo

Discord MCP

by PaSympa

Manage multiple Discord guilds through MCP tools for discovery, messaging, channels, moderation, and server administration.

Install Discord MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pasympa-discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pasympa/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

PaSympa/discord-mcp connects MCP-compatible clients to Discord through a bot and can operate across multiple guilds without a fixed guild ID. Its tools cover guild and channel discovery, message reading and search, sending and editing content, reactions, pins, threads, embeds, and channel administration. Reach for it when an agent needs to inspect or manage Discord communities using natural-language tool calls. Access is controlled by the bot's Discord permissions, gateway settings, and optional guild and toolset restrictions.

Use cases

  • Discover guilds and channels before performing Discord operations
  • Search and summarize recent messages across channels
  • Publish replies, embeds, reactions, and forwarded messages
  • Moderate messages with previewed deletion actions
  • Create and reorganize channels and discussion threads

Key features

  • Multi-guild Discord access
  • Message reading, search, publishing, and moderation
  • Channel, category, and thread management
  • Embeds, reactions, pins, and attachments
  • Configurable toolsets and guild allowlists
  • npm, Docker, and source installation options

Tools99

What Discord MCP lets your agent do. Expand a tool for its parameters.

Verified live~22.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/21 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @pasympa/discord-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars32Stargazers on the source repository.
npm downloads4.6kPackage downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Tools exposed99Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Discord MCP works

What PaSympa/discord-mcp does

PaSympa/discord-mcp exposes Discord operations through the Model Context Protocol. A single bot connection can work with every guild the bot belongs to, rather than locking the server to one configured guild. The package is designed for MCP clients that need to discover Discord resources, read or publish messages, and perform administrative actions.

Its broader tool collection covers messages, channels, roles, permissions, moderation, forums, webhooks, scheduled events, invites, direct messages, and embeds. The discovery tools provide the IDs needed by many other operations: list guilds first, then inspect a guild or locate a channel by name.

How it works

The server authenticates to Discord with a bot token and communicates with Discord through the bot account. Message data is fetched over Discord's REST API rather than relying on a stream of message events. MCP clients invoke individual tools, while Discord permissions determine whether each operation succeeds.

Guild access can be restricted with DISCORD_ALLOWED_GUILDS. The DISCORD_MCP_TOOLSETS variable can limit which groups of tools are advertised, including discovery, messages, channels, members, roles, moderation, forums, webhooks, scheduled events, invites, and direct messages. An empty or unset toolset value exposes all tools; unknown toolset names cause startup failure.

Setup and configuration

Node.js 22 or newer is required for the package. The simplest setup runs it through npx:

config.json
{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": ["-y", "@pasympa/discord-mcp"],
      "env": { "DISCORD_TOKEN": "YOUR_TOKEN_HERE" }
    }
  }
}

Docker and a build-from-source workflow are also available. Source installation uses npm install followed by npm run build, then starts the compiled entry point with Node.js. The bot token can alternatively be stored in a project-root .env file.

DISCORD_MESSAGE_CONTENT and DISCORD_GUILD_MEMBERS control whether the corresponding privileged gateway intents are requested. Their defaults are enabled. If an intent is requested without its Developer Portal toggle, Discord can close the connection with code 4014; disable the relevant request when that data is not needed. Portal permissions still govern access to message content and member data.

Tools and capabilities

  • Discover guilds, guild details, channel lists, and channels matching a name.
  • Read channel or thread messages, search recent channel messages, and search across a guild.
  • Send, reply to, edit, delete, forward, pin, and crosspost messages.
  • Add or remove reactions and inspect users who reacted.
  • Send single or multiple embeds and replace embeds previously sent by the bot.
  • Inspect attachments and retrieve pinned messages.
  • Create, edit, move, clone, reorder, and delete channels, or create threads.
  • Preview destructive bulk message deletion or channel deletion before applying it.

Limitations and notes

Discord permissions are required for each operation. Reading messages needs View Channel and Read Message History; sending needs Send Messages; channel changes need Manage Channels. Some actions have additional requirements such as Embed Links, Create Public Threads, Pin Messages, or Manage Messages.

Bulk deletion only removes messages newer than 14 days, and deletion is irreversible. Both bulk message deletion and channel deletion default to dry-run mode, requiring a second call with dry_run: false to apply the change. The bot can edit only its own messages and embeds. Channel-specific keyword search examines at most the most recent 100 messages, while paginated reads can move backward through older history. Attachment CDN URLs expire after 24 hours and may need to be fetched again.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Discord MCP

PaSympa/discord-mcp is an MCP server that connects MCP-compatible clients to Discord through a bot token. Its main tools discover guilds and channels, read and search messages, send and edit messages, manage reactions and pins, and create or organize channels. It supports multiple guilds rather than requiring one fixed server.

Install it by configuring your MCP client to run `npx -y @pasympa/discord-mcp` and provide `DISCORD_TOKEN` in the environment. Docker and source builds are also supported. Node.js 22 or newer is required for the package.

Yes, PaSympa/discord-mcp works with Cursor through its MCP configuration. Add the server command and `DISCORD_TOKEN` to `~/.cursor/mcp.json`, then use the exposed Discord tools from Cursor.

The required permissions depend on the tool: reading needs View Channel and Read Message History, sending needs Send Messages, and channel administration needs Manage Channels. Other operations can require Manage Messages, Embed Links, Create Public Threads, Pin Messages, or additional bot permissions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDiscord MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pasympa-discord-mcp?style=directory)](https://allmcps.com/mcp/pasympa-discord-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pasympa-discord-mcp"><img src="https://allmcps.com/api/badge/pasympa-discord-mcp?style=directory" alt="Discord MCP on AllMCPs" /></a>