Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Discord MCP

MCP server by cappyeo Community

Discord MCP is an open-source MCP server that connects Claude, Codex, Cursor and other AI clients to your own Discord bot. It offers 222 typed tools for messages, roles, moderation and server setup, aimed at people who run Discord communities.

  • Score 80
  • 181 stars
  • 272 a week
  • Apache-2.0
  • Updated

Install Discord MCP

Built from the published package, never by AI.

claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @discord-mcp/cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Discord MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the discord-mcp block.

About

Discord MCP connects Claude, Codex, Cursor and other MCP-compatible AI clients to a Discord bot you own. It exposes 222 typed tools covering messages, threads, forums, roles, events, polls, onboarding, channels, moderation and AutoMod. A guided setup command verifies the bot, selects a server boundary and saves a non-secret profile.

It can also build a server from a blueprint you preview and approve, check the final result by reading it back from Discord, preview bounded server edits, and read channel history with citations. Guild and tool-category allowlists limit access, and preview modes can block writes. It is aimed at people who manage Discord communities and want AI assistance under their own permissions.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Messages and community toolsMessages, threads, forums, roles, events, polls, and onboarding.
  • ModerationPermission checks, role audits, bans, and AutoMod.
  • Server buildingBlueprint preview, resumable execution, and final Discord readback.
  • Server changesBounded edits, member access inspection, and selected configuration restore.
  • Cited conversation contextBounded channel and thread history with Discord citations.
  • Durable workflowsStart, inspect, cancel, and resume background sequences.
  • Bot extensionsSlash commands, interactions, webhooks, and application emojis.
  • Message EventsOptional DM and mention delivery to an MCP Events subscriber from v0.33.0.

What you need

  • Node.js 22.12 or newer
  • Your own Discord bot, installed in a server you control
  • A Discord bot token
  • Windows, macOS, or Linux
SettingNeededWhat it is
DISCORD_TOKENEnvironment variable, secretRequiredDiscord bot token. The optional Bot prefix is accepted.
DISCORD_EXPECTED_BOT_IDEnvironment variableOptionalExpected Discord bot ID. Startup fails if the token belongs to another bot.
ALLOWED_GUILDSEnvironment variableOptionalComma-separated Discord guild IDs this deployment may operate against.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Build a gaming community server with channels, roles and AutoMod.
  • Show the permission checks and role audit for my Discord server.
  • Summarize the cited history of this support channel for me.

Good to know

  • Pre-1.0, so stability commitments may still change.
  • Guided setup defaults to preview mode, which blocks all Discord mutations.
  • The message Events worker supports Linux and macOS only.
  • The Docker image defaults to catalog-only mode, so bot operations need serve and your own credentials.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Discord MCP

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Discord MCP: common questions

Does Discord MCP need a Discord bot?

Yes. It requires your own Discord bot installed in a server you control, with the bot token set in your environment.

Can it change my Discord server without asking?

Guided setup defaults to preview mode, which blocks all mutations. Direct serve defaults to allowing ordinary writes, so review the safety controls before enabling writes.

Can I check the tool catalog without a bot token?

Yes. The discord-mcp catalog --check command validates the local tool catalog with no token and no Discord or network request.

How do I install Discord MCP?

In Claude Code run claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @discord-mcp/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Discord MCP the official server?

Discord MCP is a community project by cappyeo, not verified by a company domain.

Is Discord MCP free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Discord MCP safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Discord MCP?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Discord MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Discord MCP Install

Add to stack

Loading.