GustyCube/discord-mcp
If you are the rightful owner of discord-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Discord MCP Server is a Model Context Protocol server designed to provide AI agents with secure and efficient access to Discord's REST API and real-time Gateway events.
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
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 file for details.