emailmd
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
A community MCP server for the Discord REST API with traceable coverage
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 24/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 36/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 98 (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Discord MCP. Follow https://mcp.popnx.com/i/qungtai-discord-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Discord MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Discord MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "discord": { "command": "npx", "args": [ "-y", "@qungtai/discord-mcp" ], "env": { "DISCORD_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DISCORD_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Discord MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"discord": {
"command": "npx",
"args": [
"-y",
"@qungtai/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Discord MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Discord MCP or shows a Discord MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DISCORD_MCP_ALLOWED_GUILDS Comma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.DISCORD_MCP_TOOLSETS Comma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites. · default core,messages,reactions,threadsDISCORD_MCP_READ_ONLY Blocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup. · default falseDISCORD_MCP_APPROVAL Confirmation mode for destructive operations (elicitation or none). Any other value stops startup. · default elicitationDISCORD_MCP_ALLOW_DMS Permits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup. · default falseDISCORD_MCP_FILE_ROOTS Optional 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 file…DISCORD_MCP_DOWNLOAD_DIR Absolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.DISCORD_MCP_MAX_DOWNLOAD_BYTES Maximum download size in bytes for discord_download_attachment (defaults to 100 MiB). · default 104857600DISCORD_MCP_MAX_UPLOAD_BYTES Maximum upload size in bytes (defaults to 20 MiB). · default 20971520DISCORD_MCP_REQUEST_TIMEOUT_MS HTTP request timeout in milliseconds for Discord REST API requests. · default 15000DISCORD_MCP_RATE_LIMIT_WAIT_MS Maximum wait duration in milliseconds when encountering a Discord rate limit before aborting. · default 5000Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Discord MCP yet
Discord MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Discord MCP
B · Others in Chat & email that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Discord MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Discord MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user discord --env DISCORD_TOKEN=your-value -- npx -y @qungtai/discord-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DISCORD_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Discord MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user discord --env DISCORD_TOKEN=your-value -- npx -y @qungtai/discord-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Discord MCP listed as connected
Use Discord MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Discord MCP or shows a Discord MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DISCORD_MCP_ALLOWED_GUILDS Comma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.DISCORD_MCP_TOOLSETS Comma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites. · default core,messages,reactions,threadsDISCORD_MCP_READ_ONLY Blocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup. · default falseDISCORD_MCP_APPROVAL Confirmation mode for destructive operations (elicitation or none). Any other value stops startup. · default elicitationDISCORD_MCP_ALLOW_DMS Permits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup. · default falseDISCORD_MCP_FILE_ROOTS Optional 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 file…DISCORD_MCP_DOWNLOAD_DIR Absolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.DISCORD_MCP_MAX_DOWNLOAD_BYTES Maximum download size in bytes for discord_download_attachment (defaults to 100 MiB). · default 104857600DISCORD_MCP_MAX_UPLOAD_BYTES Maximum upload size in bytes (defaults to 20 MiB). · default 20971520DISCORD_MCP_REQUEST_TIMEOUT_MS HTTP request timeout in milliseconds for Discord REST API requests. · default 15000DISCORD_MCP_RATE_LIMIT_WAIT_MS Maximum wait duration in milliseconds when encountering a Discord rate limit before aborting. · default 5000Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Discord MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Discord MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "discord": { "command": "npx", "args": [ "-y", "@qungtai/discord-mcp" ], "env": { "DISCORD_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DISCORD_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Discord MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Discord MCP settings, DISCORD_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Discord MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Discord MCP or shows a Discord MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DISCORD_MCP_ALLOWED_GUILDS Comma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.DISCORD_MCP_TOOLSETS Comma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites. · default core,messages,reactions,threadsDISCORD_MCP_READ_ONLY Blocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup. · default falseDISCORD_MCP_APPROVAL Confirmation mode for destructive operations (elicitation or none). Any other value stops startup. · default elicitationDISCORD_MCP_ALLOW_DMS Permits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup. · default falseDISCORD_MCP_FILE_ROOTS Optional 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 file…DISCORD_MCP_DOWNLOAD_DIR Absolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.DISCORD_MCP_MAX_DOWNLOAD_BYTES Maximum download size in bytes for discord_download_attachment (defaults to 100 MiB). · default 104857600DISCORD_MCP_MAX_UPLOAD_BYTES Maximum upload size in bytes (defaults to 20 MiB). · default 20971520DISCORD_MCP_REQUEST_TIMEOUT_MS HTTP request timeout in milliseconds for Discord REST API requests. · default 15000DISCORD_MCP_RATE_LIMIT_WAIT_MS Maximum wait duration in milliseconds when encountering a Discord rate limit before aborting. · default 5000Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Discord MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Discord MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "discord": { "type": "stdio", "command": "npx", "args": [ "-y", "@qungtai/discord-mcp" ], "env": { "DISCORD_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DISCORD_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Discord MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Discord MCP settings, DISCORD_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Discord MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Discord MCP or shows a Discord MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DISCORD_MCP_ALLOWED_GUILDS Comma-separated list of allowed guild IDs. When set, operations outside these guilds are refused.DISCORD_MCP_TOOLSETS Comma-separated list of enabled toolsets. Available: core, messages, reactions, threads, channels, webhooks, guild, members, roles, moderation, events, invites. · default core,messages,reactions,threadsDISCORD_MCP_READ_ONLY Blocks all mutating actions and allows read-only tools only (true or false). Any other value stops startup. · default falseDISCORD_MCP_APPROVAL Confirmation mode for destructive operations (elicitation or none). Any other value stops startup. · default elicitationDISCORD_MCP_ALLOW_DMS Permits direct messages and user-scoped operations alongside an active guild allowlist (true or false). Any other value stops startup. · default falseDISCORD_MCP_FILE_ROOTS Optional 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 file…DISCORD_MCP_DOWNLOAD_DIR Absolute directory path where attachment downloads are stored. Defaults to ~/Downloads/discord-mcp and is created recursively on first download.DISCORD_MCP_MAX_DOWNLOAD_BYTES Maximum download size in bytes for discord_download_attachment (defaults to 100 MiB). · default 104857600DISCORD_MCP_MAX_UPLOAD_BYTES Maximum upload size in bytes (defaults to 20 MiB). · default 20971520DISCORD_MCP_REQUEST_TIMEOUT_MS HTTP request timeout in milliseconds for Discord REST API requests. · default 15000DISCORD_MCP_RATE_LIMIT_WAIT_MS Maximum wait duration in milliseconds when encountering a Discord rate limit before aborting. · default 5000Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user discord --env DISCORD_TOKEN=your-value -- npx -y @qungtai/discord-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"discord": {
"command": "npx",
"args": [
"-y",
"@qungtai/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"discord": {
"command": "npx",
"args": [
"-y",
"@qungtai/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"discord": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@qungtai/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "your-value"
}
}
}
}DISCORD_TOKEN secret required envDISCORD_MCP_ALLOWED_GUILDS envDISCORD_MCP_TOOLSETS envDISCORD_MCP_READ_ONLY envDISCORD_MCP_APPROVAL envDISCORD_MCP_ALLOW_DMS envDISCORD_MCP_FILE_ROOTS envDISCORD_MCP_DOWNLOAD_DIR envDISCORD_MCP_MAX_DOWNLOAD_BYTES envDISCORD_MCP_MAX_UPLOAD_BYTES envDISCORD_MCP_REQUEST_TIMEOUT_MS envDISCORD_MCP_RATE_LIMIT_WAIT_MS envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account qungtai, which owns the repo
Code last changed 2 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @qungtai/discord-mcp@0.2.0
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/qungtai-discord-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: DISCORD_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (0.2.0) reached the registry 14 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
| This one Discord MCP | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A community Model Context Protocol (MCP) server for the Discord REST API.
Early release (0.x): tool names and parameters can still change before 1.0. Available on npm as @qungtai/discord-mcp and on the MCP Registry as io.github.qungtai/discord-mcp.
bot scope, then select the permissions your tools need (see the Toolsets section below for per-toolset requirements and permission integers). In the generated invite URL, specify permissions with permissions= (for example, https://discord.com/oauth2/authorize?client_id= &scope=bot&permissions=2815162084228096 for the default toolsets). The Developer Portal displays permissions with spaces (such as "Send Messages" or "Manage Channels"). If managing roles or members, ensure the bot's highest role in Discord Server Settings > Roles sits above any role it manages. Open the invite URL in your browser to invite the bot to your server.Add the server to your MCP client configuration:
{
"mcpServers": { "discord": { "command": "npx", "args": ["-y", "@qungtai/discord-mcp"], "env": { "DISCORD_TOKEN": "your-bot-token" } } } }
Recommended: add DISCORD_MCP_ALLOWED_GUILDS to env, set to your server ID from step 5, so the bot can act only in that server.
"DISCORD_MCP_ALLOWED_GUILDS": "123456789012345678"
Enable more toolsets with DISCORD_MCP_TOOLSETS. Restrict uploads to specific folders with DISCORD_MCP_FILE_ROOTS. Set DISCORD_MCP_DOWNLOAD_DIR for downloads.
Claude Code
Add via the CLI (defaults to local project scope; add -s user for all projects):
claude mcp add discord -e DISCORD_TOKEN="your-bot-token" -- npx -y @qungtai/discord-mcp
Or configure manually in ~/.claude.json:
{
"mcpServers": { "discord": { "command": "npx", "args": ["-y", "@qungtai/discord-mcp"], "env": { "DISCORD_TOKEN": "your-bot-token" } } } }
Claude Desktop
Edit the configuration file for your operating system:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.json (unofficial builds)Add the server block:
{
"mcpServers": { "discord": { "command": "npx", "args": ["-y", "@qungtai/discord-mcp"], "env": { "DISCORD_TOKEN": "your-bot-token" } } } }
Codex
Add via the CLI:
codex mcp add discord --env DISCORD_TOKEN="your-bot-token" -- npx -y @qungtai/discord-mcp
Or add to ~/.codex/config.toml:
[mcp_servers.discord]
command = "npx" args = ["-y", "@qungtai/discord-mcp"]
[mcp_servers.discord.env] DISCORD_TOKEN = "your-bot-token"
Cursor
Add to .cursor/mcp.json or configure in Cursor Settings > MCP:
{
"mcpServers": { "discord": { "command": "npx", "args": ["-y", "@qungtai/discord-mcp"], "env": { "DISCORD_TOKEN": "your-bot-token" } } } }
VS Code
Configure in .vscode/mcp.json with an input variable for the bot token:
{
"servers": { "discord": { "type": "stdio", "command": "npx", "args": ["-y", "@qungtai/discord-mcp"], "env": { "DISCORD_TOKEN": "${input:discordToken}" } } }, "inputs": [ { "id": "discordToken", "type": "promptString", "description": "Discord Bot Token", "password": true } ] }
MCP Inspector
Run the inspector:
npx @modelcontextprotocol/inspector -- npx -y @qungtai/discord-mcp
Set DISCORD_TOKEN in the inspector environment panel before connecting.
Install with Docker
Run the server with Docker:
docker run -i --rm -e DISCORD_TOKEN="your-bot-token" -v /path/to/downloads:/home/node/Downloads/discord-mcp -v /path/to/uploads:/uploads ghcr.io/qungtai/discord-mcp:latest
When using file tools, mount host directories with -v host_path:container_path so uploads and downloads are accessible outside the container. Upload paths passed to tools must be container paths. On Linux bind mounts, pass --user "$(id -u):$(id -g)" -e DISCORD_MCP_DOWNLOAD_DIR=/home/node/Downloads/discord-mcp if container user permissions prevent writing to the mounted host directories.
Configure in your MCP client (on Linux with custom --user, also add -e DISCORD_MCP_DOWNLOAD_DIR=/home/node/Downloads/discord-mcp to args):
{
"mcpServers": { "discord": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "DISCORD_TOKEN", "-v", "/path/to/downloads:/home/node/Downloads/discord-mcp", "-v", "/path/to/uploads:/uploads", "ghcr.io/qungtai/discord-mcp:latest" ], "env": { "DISCORD_TOKEN": "your-bot-token" } } } }
To run these prompts, enable any toolset a prompt needs that is not already in the default with DISCORD_MCP_TOOLSETS (for example, DISCORD_MCP_TOOLSETS="core,messages,reactions,threads,members,events,webhooks").
/Users/name/Downloads/banner.png." (messages toolset)| Toolset | Default | Tools | What it covers | Bot permissions |
|---|---|---|---|---|
| core | Yes | 6 | Current bot user, user lookup, guild list and leave, user connections | None |
| messages | Yes | 15 | Send, get, edit, delete, pin, search messages, polls, attachments | AttachFiles, EmbedLinks, ManageMessages, MentionEveryone, PinMessages, ReadMessageHistory, SendMessages, SendMessagesInThreads, SendPolls, SendTTSMessages, UseExternalStickers, ViewChannel |
| reactions | Yes | 6 | Add, remove, list reactions on messages | AddReactions, ManageMessages, ReadMessageHistory, UseExternalEmojis, ViewChannel |
| threads | Yes | 13 | Create, list, join, leave, archive threads and thread members | CreatePrivateThreads, CreatePublicThreads, EmbedLinks, ManageThreads, ReadMessageHistory, SendMessages, SendMessagesInThreads, ViewChannel |
| channels | No | 13 | Create, edit, delete channels, permission overwrites, voice status | Connect, ManageChannels, ManageRoles, ManageThreads, ManageWebhooks, SetVoiceChannelStatus, ViewChannel |
| webhooks | No | 10 | Create, edit, delete, execute webhooks and edit webhook messages | ManageWebhooks |
| guild | No | 22 | Guild settings, audit log, onboarding, welcome screen, widget | ManageGuild, ManageRoles, ViewAuditLog |
| members | No | 12 | List, search, update, kick, mute, deafen members, prune | ChangeNickname, Connect, DeafenMembers, KickMembers, ManageGuild, ManageNicknames, ManageRoles, ModerateMembers, MoveMembers, MuteMembers |
| roles | No | 7 | Create, update, delete, list guild roles, role member counts | ManageRoles |
| moderation | No | 10 | Ban, unban, list bans, AutoMod rules | BanMembers, ManageGuild, ModerateMembers |
| events | No | 11 | Create, update, delete scheduled events and list subscribers | CreateEvents, ManageEvents |
| invites | No | 12 | Create, get, delete invites, guild/channel invites, target users | CreateInstantInvite, ManageChannels, ManageGuild, ManageRoles