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-mcp
docker run -i --rm docker.io/pasympa/discord-mcp:2.3.0

Assembled 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 variableRequiredSecretPublisher's note
DISCORD_TOKENYesYesDiscord bot token
DISCORD_MCP_TOOLSETSNoNoComma-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_ONLYNoNoSet 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_CONFIRMNoNoSet 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_GUILDSNoNoComma-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_CONTENTNoNoSet to false to stop requesting the Message Content privileged intent at connect time.
DISCORD_GUILD_MEMBERSNoNoSet to false to stop requesting the Server Members privileged intent at connect time.
DISCORD_MCP_TRANSPORTNoNostdio, 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_TOKENNoYesBearer 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_HOSTNoNoAddress 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_PORTNoNoPort the HTTP server listens on when DISCORD_MCP_TRANSPORT is http.
DISCORD_MCP_HTTP_ALLOWED_HOSTSNoNoComma-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 stars33
npm weekly downloads0
Last push19d ago
LicenceMIT
Open issues0
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-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 75

Launch your clients' products on up to 100 directories each from Claude, ChatGPT, Cursor or VS Code.

★ 0↓ 526/wkMITpushed 28d ago
OtherRemote

localhost app

Score 72

Start, stop and read logs of your local dev servers from Claude Code, Cursor and Codex.

★ 2MITpushed 18d ago
Other

Agent Intern

Score 82

Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.

★ 31MITpushed 20d ago
Other

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.

Subscribe free