
Discord Server
MCP server for discord bot
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install hanweg/mcp-discord -c claudeThis command will automatically install and configure the Discord Server MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claudeAfter opening your configuration file, copy and paste this configuration:
View JSON configuration
{
  "mcpServers": {
    "Discord Server": {
      "command": "uvx",
      "args": [
        "mcp-discord"
      ],
      "env": {
        "DISCORD_TOKEN": "${input:discord_token}"
      }
    }
  }
}Discord MCP Server
A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.
Available Tools
Server Information
- list_servers: List available servers
- get_server_info: Get detailed server information
- get_channels: List channels in a server
- list_members: List server members and their roles
- get_user_info: Get detailed information about a user
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
Installation
- 
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 # On macOS/Linux, use: source .venv/bin/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.jsonon Windows,~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):
    "discord": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\PATH\\TO\\mcp-discord",
        "run",
        "mcp-discord"
      ],
      "env": {
        "DISCORD_TOKEN": "your_bot_token"
      }
    }
Installing via Smithery
To install Discord Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @hanweg/mcp-discord --client claude
License
MIT License - see LICENSE file for details.
Details:
- Stars 
 92
- Forks 
 26
- Last commit 
 4 months ago
- Repository age 
 10 months
- License 
 MIT
Auto-fetched from GitHub .
MCP servers similar to Discord Server:

- Stars 
- Forks 
- Last commit 

- Stars 
- Forks 
- Last commit 

- Stars 
- Forks 
- Last commit