Discord MCP Server

Note: This is a modified version of the Discord MCP server. The original repository is GustyCube/discord-mcp.

A Model Context Protocol server that provides AI agents with secure access to Discord's REST API and Gateway events.

Features

๐Ÿ”ง 120+ Discord API Tools - Complete coverage of Discord's REST API ๐Ÿ”’ Security First - Guild/channel allowlists, safe defaults, no accidental mentions โšก Real-time Events - Gateway integration for live Discord activity ๐ŸŽฏ Smart Routing - Auto-generated tools from declarative API catalog ๐Ÿ“ฆ Modular Packs - Enable only the functionality you need

Quick Start

# Clone and install
git clone https://github.com/GustyCube/discord-mcp
cd discord-mcp
npm install

# Configure your bot
cp .env.example .env
# Add your DISCORD_BOT_TOKEN and other settings

# Build and run
npm run build
npm start

Documentation

๐Ÿ“– Complete documentation available at discord-mcp.gustycube.com

Quick Links

Example: Claude Desktop Integration

Add to your mcp.json:

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["/path/to/discord-mcp/dist/index.js"],
      "env": {
        "DISCORD_BOT_TOKEN": "your_bot_token_here",
        "ALLOW_GUILD_IDS": "123456789,987654321",
        "ALLOW_CHANNEL_IDS": "111111111,222222222"
      }
    }
  }
}

What You Can Do

  • ๐Ÿ“ Message Management - Send, edit, delete messages and reactions
  • ๐Ÿ‘ฅ User & Guild Info - Get user profiles, guild details, member lists
  • ๐Ÿ”Š Channel Operations - List channels, manage permissions, create threads
  • ๐ŸŽญ Rich Content - Send embeds, manage webhooks, upload files
  • โšก Live Events - Subscribe to message events, member joins, etc.
  • ๐Ÿ›ก๏ธ Moderation - Manage bans, kicks, roles (with appropriate permissions)

Contributing

See the full documentation for development setup, API reference, and contribution guidelines.

License

MIT License - see LICENSE file for details.

MCP Server ยท Populars

MCP Server ยท New

    n24q02m

    Better Code Review Graph

    Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

    Community n24q02m
    Noveum

    Orbit

    Free, open source, realtime task manager. Issues, boards, sprints, projects and docs that sync instantly. Keyboard-first, self-hostable, with an MCP server for AI agents. No pricing, ever.

    Community Noveum
    feder-cr

    aihawk

    Anti detect browser and web browsing agent: an open-source MCP server for undetected browsing, AI web scraping and computer use agents. No captchas.

    Community feder-cr
    LeandroPG19

    MemoryIndustry

    Persistent memory MCP server for AI agents โ€” Rust, 19 tools, knowledge graph, Hebbian learning, episodic memory, contradiction detection, prospective triggers, Bayesian calibration, zero-config Docker setup.

    Community LeandroPG19
    btsouth

    Toolport

    Local-first MCP gateway. One port for every tool and every AI client: lazy discovery (~90% token savings), tool integrity + quarantine, secrets in the OS keychain.

    Community btsouth