Discord MCP Server
Provides tools to interact with Discord's REST API and Gateway events, enabling message management, user and guild info, channel operations, rich content, live events, and moderation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Related MCP server: DiscordMCP
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 startDocumentation
π 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Control your Discord community: send/read messages, manage channels and forums, and handle webhookβ¦
Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and c
Build Discord communities with AI: roles, channels, modules, automations and reviewed announcements.
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Discord through the REST API, supporting message reading and sending, channel and guild management, threads, pins, and reactions.17MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with a Discord account to read channels, send and manage messages, handle DMs and reactions, search messages, and update status.141 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with the Discord platform by managing servers, channels, roles, members, messages, forum posts, reactions, and webhooks.1,578 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with the Discord platform by managing servers, channels, roles, forum posts, messages, reactions, and webhooks through a Discord bot.1,578 npmMIT