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 qungtai Community

A community MCP server for the Discord REST API with traceable coverage

  • Score 74
  • 0 stars
  • 108 a week
  • MIT
  • 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 @qungtai/discord-mcp

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.

What you need

SettingNeededWhat it is
DISCORD_TOKENEnvironment variable, secretRequiredDiscord Bot Token
DISCORD_MCP_ALLOWED_GUILDSEnvironment variableOptionalComma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.
DISCORD_MCP_TOOLSETSEnvironment variableOptionalComma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites. Default: core,messages,reactions,threads
DISCORD_MCP_READ_ONLYEnvironment variableOptionalBlocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup. Default: false
DISCORD_MCP_APPROVALEnvironment variableOptionalConfirmation mode for destructive operations (elicitation or none). Any other value stops startup. Default: elicitation
DISCORD_MCP_ALLOW_DMSEnvironment variableOptionalPermits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup. Default: false
DISCORD_MCP_FILE_ROOTSEnvironment variableOptionalOptional comma-separated list of absolute directory paths accessible for uploads. When unset, empty, or parsing to no entries, file access is open by default for any absolute path, except hidden files and directories.
DISCORD_MCP_DOWNLOAD_DIREnvironment variableOptionalAbsolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.
DISCORD_MCP_MAX_DOWNLOAD_BYTESEnvironment variableOptionalMaximum download size in bytes for discord_download_attachment (defaults to 100 MiB). Default: 104857600
DISCORD_MCP_MAX_UPLOAD_BYTESEnvironment variableOptionalMaximum upload size in bytes (defaults to 20 MiB). Default: 20971520
DISCORD_MCP_REQUEST_TIMEOUT_MSEnvironment variableOptionalHTTP request timeout in milliseconds for Discord REST API requests. Default: 15000
DISCORD_MCP_RATE_LIMIT_WAIT_MSEnvironment variableOptionalMaximum wait duration in milliseconds when encountering a Discord rate limit before aborting. Default: 5000

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

Alternatives to discord-mcp

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

discord-mcp: common questions

How do I install discord-mcp?

In Claude Code run claude mcp add discord-mcp -e DISCORD_TOKEN=YOUR_DISCORD_TOKEN -- npx -y @qungtai/discord-mcp. 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 qungtai, not verified by a company domain.

Is discord-mcp free?

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

Is discord-mcp safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. 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.