Discord MCP Server
A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.
Available Tools
Server Information
get_server_info
: Get detailed server informationlist_members
: List server members and their roles
Message Management
send_message
: Send a message to a channelread_messages
: Read recent message historyadd_reaction
: Add a reaction to a messageadd_multiple_reactions
: Add multiple reactions to a messageremove_reaction
: Remove a reaction from a messagemoderate_message
: Delete messages and timeout users
Channel Management
create_text_channel
: Create a new text channeldelete_channel
: Delete an existing channel
Role Management
add_role
: Add a role to a userremove_role
: Remove a role from a user
Webhook Management
create_webhook
: Create a new webhooklist_webhooks
: List webhooks in a channelsend_webhook_message
: Send messages via webhookmodify_webhook
: Update webhook settingsdelete_webhook
: Delete a webhook
Installation
Installing via Smithery
To install Discord Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @hanweg/mcp-discord --client claude
Set up your Discord bot:
- Create a new application at Discord Developer Portal
- Create a bot and copy the token
- Enable required privileged intents:
- MESSAGE CONTENT INTENT
- PRESENCE INTENT
- SERVER MEMBERS INTENT
- Invite the bot to your server using OAuth2 URL Generator
Clone and install the package:
# Clone the repository
git clone https://github.com/hanweg/mcp-discord.git
cd mcp-discord
# Create and activate virtual environment
uv venv
.venvScriptsactivate
### If using Python 3.13+ - install audioop library: `uv pip install audioop-lts`
# Install the package
uv pip install -e .
- Configure Claude Desktop (
%APPDATA%Claudeclaude_desktop_config.json
on Windows,~/Library/Application Support/Claude/claude_desktop_config.json
on macOS):
"discord": {
"command": "uv",
"args": [
"--directory",
"C:\PATH\TO\mcp-discord",
"run",
"mcp-discord"
],
"env": {
"DISCORD_TOKEN": "your_bot_token"
}
}
License
MIT License - see LICENSE file for details.
mcp-discord
Project Details
- hanweg/mcp-discord
- MIT License
- Last Updated: 4/21/2025
Recomended MCP Servers
Scrapeless Mcp Server
A MCP server that enables Claude to discover and call any API endpoint through semantic search. Intelligently chunks...
Damn Vulnerable MCP Server
A Model Context Protocol implementation for FHIR
Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants...
A Model Context Protocol server wrapping the official Notion SDK
A Model Context Protocol (MCP) server that provides persistent memory and multi-model LLM support.
MCP Server for the Mapbox API.
A lightweight mcp server that tells you exactly what time is it based on your IP.
MCP Implementation for HubSpot