discord-mcp MCP Server
Run your Discord from Claude, Codex, Cursor or VS Code: messages, moderation, roles, forums, events
discord-mcp scores 51 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 40 tools. Filed under Communication. GitHub shows 43 stars. Package registries report about 2,397 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
77/100 for listing completeness. Lost points: short README, 3 of 40 tools barely described, short summary.
How quality is graded
Where the 51 comes from
0 + 20 + 10 + 10 + 4 + 7 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 10 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "pasympa-discord-mcp": { "command": "npx", "args": [ "-y", "@pasympa/discord-mcp@2.7.0" ], "env": { "DISCORD_TOKEN": "YOUR_DISCORD_TOKEN", "DISCORD_MCP_TOOLSETS": "all", "DISCORD_MCP_READ_ONLY": "false", "DISCORD_MCP_CONFIRM": "true", "DISCORD_ALLOWED_GUILDS": "", "DISCORD_MESSAGE_CONTENT": "true", "DISCORD_GUILD_MEMBERS": "true", "DISCORD_MCP_TRANSPORT": "stdio", "DISCORD_MCP_HTTP_TOKEN": "YOUR_DISCORD_MCP_HTTP_TOKEN", "DISCORD_MCP_HTTP_HOST": "127.0.0.1", "DISCORD_MCP_HTTP_PORT": "3000", "DISCORD_MCP_HTTP_ALLOWED_HOSTS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DISCORD_TOKENSecret | Required | Discord bot token |
DISCORD_MCP_TOOLSETS | Optional | Comma-separated toolsets to expose: discovery, messages, channels, permissions, members, roles, moderation, screening, stats, forums, webhooks, scheduled_events, invites, dm, polls, or all. An unknown name stops the server at startup. |
DISCORD_MCP_READ_ONLY | Optional | Set to true to expose only the read-only tools of the selected toolsets: write tools are neither listed nor callable. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup. |
DISCORD_MCP_CONFIRM | Optional | Set to false to stop asking the user to confirm a dry_run: false call to the six tools that preview by default. The server asks only over stdio, and only a client that supports form elicitation. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup. |
DISCORD_ALLOWED_GUILDS | Optional | Comma-separated guild IDs the server may act on. Calls that target any other guild are rejected, and the DM tools refuse a user who is not a member of any listed guild. Unset allows every guild. |
DISCORD_MESSAGE_CONTENT | Optional | Set to false to stop requesting the Message Content privileged intent at connect time. |
DISCORD_GUILD_MEMBERS | Optional | Set to false to stop requesting the Server Members privileged intent at connect time. |
DISCORD_MCP_TRANSPORT | Optional | stdio, or http to serve Streamable HTTP on /mcp for remote clients such as the OpenAI Responses API, Codex or n8n. Any other value stops the server at startup. |
DISCORD_MCP_HTTP_TOKENSecret | Optional | Bearer token every HTTP request must carry. Required when DISCORD_MCP_TRANSPORT is http: at least 32 characters from the RFC 6750 b64token alphabet, different from DISCORD_TOKEN. Generate one with openssl rand -hex 32. |
DISCORD_MCP_HTTP_HOST | Optional | Address the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. Keep 127.0.0.1 outside a container. In the Docker image, set 0.0.0.0, since 127.0.0.1 is unreachable from outside the container, and publish the port on the host loopback only: -p 127.0.0.1:3000:3000. |
DISCORD_MCP_HTTP_PORT | Optional | Port the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. |
DISCORD_MCP_HTTP_ALLOWED_HOSTS | Optional | Comma-separated hostnames, without port, accepted in the Host header of HTTP requests besides localhost, 127.0.0.1 and [::1], such as the public name a reverse proxy forwards. |
DISCORD_TOKENSecret | Required | Discord bot token |
DISCORD_MCP_TOOLSETS | Optional | Comma-separated toolsets to expose: discovery, messages, channels, permissions, members, roles, moderation, screening, stats, forums, webhooks, scheduled_events, invites, dm, polls, or all. An unknown name stops the server at startup. |
DISCORD_MCP_READ_ONLY | Optional | Set to true to expose only the read-only tools of the selected toolsets: write tools are neither listed nor callable. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup. |
DISCORD_MCP_CONFIRM | Optional | Set to false to stop asking the user to confirm a dry_run: false call to the six tools that preview by default. The server asks only over stdio, and only a client that supports form elicitation. Any value other than true/false, 1/0, yes/no or on/off stops the server at startup. |
DISCORD_ALLOWED_GUILDS | Optional | Comma-separated guild IDs the server may act on. Calls that target any other guild are rejected, and the DM tools refuse a user who is not a member of any listed guild. Unset allows every guild. |
DISCORD_MESSAGE_CONTENT | Optional | Set to false to stop requesting the Message Content privileged intent at connect time. |
DISCORD_GUILD_MEMBERS | Optional | Set to false to stop requesting the Server Members privileged intent at connect time. |
DISCORD_MCP_TRANSPORT | Optional | stdio, or http to serve Streamable HTTP on /mcp for remote clients such as the OpenAI Responses API, Codex or n8n. Any other value stops the server at startup. |
DISCORD_MCP_HTTP_TOKENSecret | Optional | Bearer token every HTTP request must carry. Required when DISCORD_MCP_TRANSPORT is http: at least 32 characters from the RFC 6750 b64token alphabet, different from DISCORD_TOKEN. Generate one with openssl rand -hex 32. |
DISCORD_MCP_HTTP_HOST | Optional | Address the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. Keep 127.0.0.1 outside a container. In the Docker image, set 0.0.0.0, since 127.0.0.1 is unreachable from outside the container, and publish the port on the host loopback only: -p 127.0.0.1:3000:3000. |
DISCORD_MCP_HTTP_PORT | Optional | Port the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. |
DISCORD_MCP_HTTP_ALLOWED_HOSTS | Optional | Comma-separated hostnames, without port, accepted in the Host header of HTTP requests besides localhost, 127.0.0.1 and [::1], such as the public name a reverse proxy forwards. |
Tools40Tool docs quality grade D
All capabilitiesAdd a reaction emoji to a message
Add a member to a thread
Delete up to 100 messages by ID, after a preview
Clone a channel with its permissions
Create a text, voice channel or category
Create a native poll with up to 10 answers
Create a public or private thread
Publish a message to announcement channel followers
Delete a channel
Delete a specific message
Edit name, topic, slowmode, NSFW flag
Edit an embed previously sent by the bot
About
Discord MCP server for Claude, Codex, Cursor, VS Code and other MCP clients: read and send messages, moderate members, manage roles, channels, forums, webhooks and events. Toolset profiles, guild allow-list, dry-run for mass actions.
Frequently asked questions
What is discord-mcp MCP Server?
Run your Discord from Claude, Codex, Cursor or VS Code: messages, moderation, roles, forums, events
How do I install discord-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. discord-mcp MCP Server runs locally from the npm package @pasympa/discord-mcp with the command npx -y @pasympa/discord-mcp@2.7.0.
Is discord-mcp MCP Server free and open source?
Yes. discord-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does discord-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for discord-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does discord-mcp MCP Server provide?
discord-mcp MCP Server provides 40 tools, including discord_add_reaction, discord_add_thread_member, discord_bulk_delete_messages, and discord_clone_channel. See the full tool list for descriptions and parameters.
How is discord-mcp MCP Server's trust score calculated?
discord-mcp MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.