MCP Hub
Back to servers

Discord MCP Server

An MCP server that enables Claude Desktop to interact with Discord through a dedicated bot. It allows users to list channels, read message history, and send messages directly from the AI interface.

glama
Stars
2
Updated
Mar 17, 2026
Validated
Mar 19, 2026

Discord MCP Server 🚀

Connect Claude Desktop to Discord using MCP (Model Context Protocol).


✨ Features

  • get_channel — list channels
  • read_message — read messages
  • send_message — send messages

🧠 Architecture

Claude → MCP Server → Discord Bot → Discord

📂 Structure

MCP DISCORD/
├── server.py
├── assets/
│   ├── list_channels.png
│   ├── read_messages.png
│   └── send_message.png
├── .env
├── pyproject.toml
└── README.md

📸 Screenshots

List Channels

List Channels

Read Messages

Read Messages

Send Message

Send Message


⚙️ Setup

Install

uv sync

or

pip install mcp discord.py python-dotenv pydantic

Discord Bot


.env

DISCORD_TOKEN=your_token_here

Claude Config

{
  "mcpServers": {
    "discord": {
      "command": "uv",
      "args": [
        "--directory",
        "C:/path/to/MCP DISCORD",
        "run",
        "server.py"
      ],
      "env": {
        "DISCORD_TOKEN": "your_token"
      }
    }
  }
}

▶️ Run

uv run server.py

💬 Examples

List channels in server 123
Read last 10 messages from channel 456
Send "Hello" to channel 456

🔒 Notes

  • Don’t share your token
  • Reset it if leaked

📄 License

MIT

👨‍💻 Author

Dioubi Issam Ai developer

Reviews

No reviews yet

Sign in to write a review