Skip to main content
Glama

Discord MCP Server

Discord MCP Server

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

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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server for interacting with Discord.

  1. Features
    1. Quick Start
      1. Documentation
        1. Quick Links
      2. Example: Claude Desktop Integration
        1. What You Can Do
          1. Contributing
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Provides Discord integration capabilities to MCP clients like Claude Desktop.
                Last updated -
                15
                110
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                An MCP server that enables posting messages to Discord webhooks, allowing customization of content, username, and avatar URL.
                Last updated -
                1
                0
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.
                Last updated -
                33
                MIT License
                • Linux
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.
                Last updated -
                19
                6
                JavaScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/GustyCube/discord-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server