rgthelen/discord-mcp-server
3.2
If you are the rightful owner of discord-mcp-server 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.
A Model Context Protocol (MCP) server for Discord integration, enabling Claude to manage and interact with Discord servers.
Tools
7
Resources
0
Prompts
0
Discord MCP Server
A Model Context Protocol (MCP) server for Discord integration, allowing Claude to interact with Discord servers through channel management, member management, and messaging capabilities.
Features
- Channel Management: List, create, and manage Discord channels
- Member Management: View and manage server members
- Thread Management: Create and manage Discord threads
- Message Operations: Pin/unpin messages
- Member Approval: Approve pending members
- Real-time Discord Integration: Full Discord.js integration with proper intents
Prerequisites
- Node.js 18+
- Discord Bot Token with appropriate permissions
- Claude Desktop App
Installation
- Clone this repository:
git clone https://github.com/rgthelen/discord-mcp-server.git
cd discord-mcp-server
- Install dependencies:
npm install
-
Set up your Discord Bot:
- Go to Discord Developer Portal
- Create a new application and bot
- Copy the bot token
- Enable the following bot permissions:
- Manage Channels
- Manage Messages
- Manage Members (if using member management features)
- View Channels
- Send Messages
- Read Message History
- Enable the following privileged intents:
- SERVER MEMBERS INTENT
- MESSAGE CONTENT INTENT
-
Configure environment variables:
cp .env.example .env
# Edit .env with your Discord bot token
- Build the project:
npm run build
Configuration
See for detailed Claude Desktop setup instructions.
Available Tools
list-channels
- List all channels in a Discord servercreate-channel
- Create a new channel in a Discord servermanage-channel
- Manage channel properties (name, topic, etc.)list-members
- List members in a Discord serverapprove-member
- Approve pending membersadd-to-thread
- Add members to a Discord threadpin-message
- Pin or unpin messages in channels
Usage Examples
With Claude Desktop configured, you can ask Claude:
- "List all channels in my Discord server"
- "Create a new channel called #general-discussion"
- "Show me all pending members"
- "Pin this message to the channel"
- "Add @user to this thread"
License
MIT