
Discord MCP Server
An MCP server for interacting with Discord.
Tools
discord_send_message
Send a message to a Discord channel, optionally with up to 10 files
discord_delete_message
Delete a message
discord_add_reaction
Add a reaction to a message
discord_remove_reaction
Remove a reaction from a message
discord_get_message_history
Get message history from a Discord channel with optional filtering
discord_search_messages
Search for messages in a Discord channel with text query and filters
discord_edit_message
Edit a previously sent message
discord_get_message
Get a specific message by ID with full attachment details
discord_list_attachments
List all attachments in a Discord channel from recent messages
discord_download_attachment
Download a Discord attachment and return it as MCP file reference
discord_cleanup_download
Clean up a previously downloaded Discord attachment file
discord_get_channel
Get information about a Discord channel
discord_get_dm_channels
Get list of DM channels for the current user
discord_create_dm
Create or get existing DM channel with a user
discord_get_friends
Get list of friends for the current user
discord_add_friend
Send a friend request to a user
discord_remove_friend
Remove a friend or cancel a friend request
discord_update_presence
Update your Discord presence/status
discord_clear_presence
Clear your Discord presence/activity
README
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 LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.