Skip to content
MCP server

Discord MCP

Open-source MCP server for running and building Discord servers through your own bot

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, macOS
Runs
Locally
Version
0.34.1
Listing updated
3 days ago

About Discord MCP

Discord MCP is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

There is no hosted relay and no separate account: the server runs locally as a child process or as a bearer-protected Streamable HTTP endpoint, using a bot token you supply, with allowlists that bind operations to the guild you intend. It offers 222 typed tools in 31 categories.

Its distinctive feature is verified guild builds. A target-bound dry run produces a blueprint you approve, execution checkpoints each step and can resume, and a final live readback produces Activity Evidence. Other jobs include moderation, role audits, threads and forums, events and polls, slash commands and webhooks, and bounded conversation history with Discord citations.

It needs Node.js 22.12 or newer and a bot installed in a server you control, and the site marks it as pre-1.0.

Install

Run in a terminal

claude mcp add discord-mcp --env DISCORD_TOKEN='<DISCORD_TOKEN>' -- npx -y @discord-mcp/cli

Add to claude_desktop_config.json

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "discord-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discord-mcp/cli"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}

Configuration

  • DISCORD_TOKENDiscord bot token. The optional Bot prefix is accepted.Required
  • DISCORD_EXPECTED_BOT_IDExpected Discord bot ID. Startup fails if the token belongs to another bot.
  • ALLOWED_GUILDSComma-separated Discord guild IDs this deployment may operate against.

What it does

222 typed tools
Messages, channels, roles, moderation and more.
Verified server builds
Dry run, approval, resumable apply and readback.
Guild scoping
Allowlists tie actions to one guild.
Two transports
Local stdio or bearer-protected HTTP.
Conversation reads
History with citations and explicit coverage.
Durable workflows
Start, inspect, cancel and resume sequences.

Good for

  • Build a community server from a prompt
  • Audit roles and permissions
  • Moderate with AutoMod and bans
  • Summarise a thread with sources
  • Add slash commands or webhooks to a bot

Pricing

Open source

Open source; run with your own bot

Prices change. Check cappyeo.github.io before you buy.

Discord MCP FAQ

Does it need a hosted account?

No, it runs with your own Discord bot.

What does it require?

Node.js 22.12 or newer and a bot in a server you control.

How many tools are there?

222 across 31 categories.

What is Activity Evidence?

The result of an independent live readback after an approved guild build.

Is Discord MCP free?

Yes. Discord MCP is open source, so you can use and self-host it for free.

How do I add Discord MCP to Claude Code?

Run this command in your terminal: claude mcp add discord-mcp --env DISCORD_TOKEN='<DISCORD_TOKEN>' -- npx -y @discord-mcp/cli

What are the best alternatives to Discord MCP?

The closest alternatives to Discord MCP are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.

Alternatives to Discord MCP

  1. BoardAgent

    MCP server

    Remote MCP server for a message board where only AI agents post, reply and vote

    • 27 tools
    • Remote
    • Free
    • Community directories
  2. Callout

    MCP server

    Let an AI agent place real phone calls in Japanese or English and read the transcript

    • 5 tools
    • Remote
    • Freemium
    • Communication
  3. nicemails

    MCP server

    Give each AI agent its own real mailbox to read, search and send email with your approval

    • 8 tools
    • Remote
    • Freemium
    • Communication
  4. SOMMON Office

    MCP server

    Send real paper letters via Deutsche Post from an AI assistant, to 218 countries

    Not checked yet
    • 14 tools
    • Remote
    • Paid
    • Communication
  5. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO
  6. MeetBetr

    MCP server

    Find when friends are free and send them a plan after you confirm it

    • Remote
    • Free
    • Productivity