
mcp-discord
MCP server for discord bot
3 years
Works with Finder
3
Github Watches
15
Github Forks
49
Github Stars
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 information -
list_members
: List server members and their roles
Message Management
-
send_message
: Send a message to a channel -
read_messages
: Read recent message history -
add_reaction
: Add a reaction to a message -
add_multiple_reactions
: Add multiple reactions to a message -
remove_reaction
: Remove a reaction from a message -
moderate_message
: Delete messages and timeout users
Channel Management
-
create_text_channel
: Create a new text channel -
delete_channel
: Delete an existing channel
Role Management
-
add_role
: Add a role to a user -
remove_role
: Remove a role from a user
Webhook Management
-
create_webhook
: Create a new webhook -
list_webhooks
: List webhooks in a channel -
send_webhook_message
: Send messages via webhook -
modify_webhook
: Update webhook settings -
delete_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
.venv\Scripts\activate
### If using Python 3.13+ - install audioop library: `uv pip install audioop-lts`
# Install the package
uv pip install -e .
- Configure Claude Desktop (
%APPDATA%\Claude\claude_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.
相关推荐
I find academic articles and books for research and literature reviews.
Converts Figma frames into front-end code for various mobile frameworks.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
Delivers concise Python code and interprets non-English comments
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
MCP server to provide Figma layout information to AI coding agents like Cursor
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
Put an end to hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Reviews

user_ggaETScK
As a devoted user of mcp-discord by hanweg, I am thoroughly impressed with its seamless integration with Discord. The functionality and efficiency it brings to managing Discord servers are exceptional. The easy-to-follow documentation and welcoming community make it a top choice for both beginners and advanced users. Highly recommend checking it out on GitHub!