Skip to main content

Discord MCP Server

smithery badge A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.

mcp-discord MCP server

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

  1. 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
  2. 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 .
  1. 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"
      }
    }

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.

Metadata

Release files for iflow-mcp_mcp-discord 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-discord 0.1.0
File Size Uploaded
iflow_mcp_mcp_discord-0.1.0.tar.gz 48.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-discord 0.1.0
File Interpreter ABI Platform
iflow_mcp_mcp_discord-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 57.3 kB

Release files / iflow_mcp_mcp_discord-0.1.0.tar.gz

Download URL iflow_mcp_mcp_discord-0.1.0.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db608ac38869fddb95c6a2a3507b2771d80c7b66eab79c225b0e4a9d0484b329
BLAKE2b-256 checksum
How to use checksums
f86a8dbaa7b2dfc66796f73981abbba4729715d4e4ff6b0f41ed413c1899045f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / iflow_mcp_mcp_discord-0.1.0-py3-none-any.whl

Download URL iflow_mcp_mcp_discord-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbffae55346ac89aa92c0f9dd85d16e808148a696ab26326072ba47c34e76607
BLAKE2b-256 checksum
How to use checksums
1f2a48176161f00eef60ee50de1bfa33b1a6e29f4b2ab38697fb82177a6170ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page