Other / discord-mcp
discord-mcp
io.github.PaSympa/discord-mcp · v2.3.0
Run your Discord server from Claude, Cursor or VS Code: messages, moderation, roles, forums, events
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #199 of 1,679 Other servers on Socketlist by score, with 33 GitHub stars and a last code push 19d ago.
Install
npx -y @pasympa/discord-mcpdocker run -i --rm docker.io/pasympa/discord-mcp:2.3.0Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect discord-mcp to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env DISCORD_TOKEN=<discord_token> --env DISCORD_MCP_HTTP_TOKEN=<discord_mcp_http_token> --transport stdio discord-mcp -- npx -y @pasympa/discord-mcp.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pasympa/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "${DISCORD_TOKEN}",
"DISCORD_MCP_HTTP_TOKEN": "${DISCORD_MCP_HTTP_TOKEN}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@pasympa/discord-mcp"
],
"env": {
"DISCORD_TOKEN": "${env:DISCORD_TOKEN}",
"DISCORD_MCP_HTTP_TOKEN": "${env:DISCORD_MCP_HTTP_TOKEN}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
DISCORD_TOKEN | Yes | Yes | Discord bot token |
DISCORD_MCP_TOOLSETS | No | No | 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 |
DISCORD_MCP_READ_ONLY | No | No | 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 | No | No | 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 v |
DISCORD_ALLOWED_GUILDS | No | No | 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 | No | No | Set to false to stop requesting the Message Content privileged intent at connect time. |
DISCORD_GUILD_MEMBERS | No | No | Set to false to stop requesting the Server Members privileged intent at connect time. |
DISCORD_MCP_TRANSPORT | No | No | 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_TOKEN | No | Yes | 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 ope |
DISCORD_MCP_HTTP_HOST | No | No | 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, |
DISCORD_MCP_HTTP_PORT | No | No | Port the HTTP server listens on when DISCORD_MCP_TRANSPORT is http. |
DISCORD_MCP_HTTP_ALLOWED_HOSTS | No | No | 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. |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"@pasympa/discord-mcp"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 33 |
| npm weekly downloads | 0 |
| Last push | 19d ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-11-07 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers compare all →
Submitator
Score 75Launch your clients' products on up to 100 directories each from Claude, ChatGPT, Cursor or VS Code.
localhost app
Score 72Start, stop and read logs of your local dev servers from Claude Code, Cursor and Codex.
Agent Intern
Score 82Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.