LocalFree server, account needed

Discord MCP server

PaSympa/discord-mcp

Multi-guild Discord management: messages, channels, roles, forums, webhooks and moderation.

29 GitHub stars18 forks

Install Discord in Claude Code

npm

Claude Code
claude mcp add pasympa-discord -e DISCORD_TOKEN=... -- npx -y @pasympa/discord-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pasympa-discord": {
      "command": "npx",
      "args": [
        "-y",
        "@pasympa/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "..."
      }
    }
  }
}

Docker

Claude Code
claude mcp add pasympa-discord -e DISCORD_TOKEN=... -- docker run -i --rm -e DISCORD_TOKEN docker.io/pasympa/discord-mcp:2.2.0
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pasympa-discord": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DISCORD_TOKEN",
        "docker.io/pasympa/discord-mcp:2.2.0"
      ],
      "env": {
        "DISCORD_TOKEN": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Discord MCP server do?

Multi-guild Discord management: messages, channels, roles, forums, webhooks and moderation.

Is the Discord MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Discord run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Discord to Claude Code?

Run: claude mcp add pasympa-discord -e DISCORD_TOKEN=... -- npx -y @pasympa/discord-mcp

More communication MCP servers

View all