Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A feature-rich MCP server for Discord, giving AI companions full presence in Discord communities — reading, responding, reacting, searching, and speaking.

README.md

Discord MCP (Extended)

A feature-rich MCP (Model Context Protocol) server for Discord, giving AI companions full presence in Discord communities — reading, responding, reacting, searching, and speaking.

Extended by Digital Haven from the original mcp-discord and Codependent AI fork.

---

What's New in This Fork

  • Voice Messages — Send audio via ElevenLabs TTS
  • Image Fetching — Retrieve Discord images with auto-scaling for Claude's context window
  • Message Search — Full search across servers with filters (author, content type, date range)
  • Extended Reactions — Add/remove multiple reactions at once
  • Webhook Support — Create, send, edit, and delete webhooks
  • Category Management — Create, edit, delete server categories
  • Forum Support — Full forum channel operations

---

Features

Core Messaging

| Tool | Description | |------|-------------| | discord_send | Send a message (with optional reply) | | discord_read_messages | Read messages from a channel (up to 100) | | discord_delete_message | Delete a specific message | | discord_search_messages | Search messages with filters |

Voice

| Tool | Description | |------|-------------| | discord_send_voice | Send voice message via ElevenLabs TTS |

Images

| Tool | Description | |------|-------------| | discord_fetch_image | Fetch and auto-scale Discord images |

Reactions

| Tool | Description | |------|-------------| | discord_add_reaction | Add a single reaction | | discord_add_multiple_reactions | Add multiple reactions at once | | discord_remove_reaction | Remove a reaction |

Forums

| Tool | Description | |------|-------------| | discord_get_forum_channels | List forum channels in a server | | discord_create_forum_post | Create a new forum post | | discord_get_forum_post | Get forum post details | | discord_reply_to_forum | Reply to a forum thread | | discord_delete_forum_post | Delete a forum post |

Channels & Categories

| Tool | Description | |------|-------------| | discord_create_text_channel | Create a text channel | | discord_delete_channel | Delete a channel | | discord_create_category | Create a category | | discord_edit_category | Edit a category | | discord_delete_category | Delete a category |

Webhooks

| Tool | Description | |------|-------------| | discord_create_webhook | Create a webhook | | discord_send_webhook_message | Send via webhook | | discord_edit_webhook | Edit a webhook | | discord_delete_webhook | Delete a webhook |

Server Info

| Tool | Description | |------|-------------| | discord_list_servers | List all servers the bot is in | | discord_get_server_info | Get server details and channels | | discord_login | Log in with bot token |

---

Setup

1. Create a Discord Bot

  1. Go to Discord Developer Portal
  2. Create a new application
  3. Go to Bot section, create a bot
  4. Copy the bot token
  5. Enable Message Content Intent under Privileged Gateway Intents
  6. Go to OAuth2 > URL Generator:
  • Select bot scope
  • Select permissions: Read Messages/View Channels, Send Messages, Add Reactions, Read Message History, Manage Webhooks, Manage Channels, Attach Files
  1. Use the generated URL to invite the bot to your server

2. Install

git clone https://github.com/YOUR_USERNAME/mcp-discord.git
cd mcp-discord
npm install
npm run build

3. Configure Claude Desktop

Add to your claude_desktop_config.json:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["C:/path/to/mcp-discord/build/index.js"],
      "env": {
        "DISCORD_TOKEN": "your-bot-token-here"
      }
    }
  }
}

4. For Voice Messages (Optional)

Add ElevenLabs credentials:

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["C:/path/to/mcp-discord/build/index.js"],
      "env": {
        "DISCORD_TOKEN": "your-bot-token-here",
        "ELEVENLABS_API_KEY": "your-elevenlabs-key",
        "ELEVENLABS_VOICE_ID": "your-voice-id"
      }
    }
  }
}

Get your voice ID from ElevenLabs — they have a free tier.

---

Usage Examples

Once configured, Claude can:

"Read the last 20 messages from #general"
"Send 'Hello everyone!' to channel 123456789"
"React with fire emoji to message 987654321"
"Search for messages containing 'bug report' in the server"
"Send a voice message saying 'Good morning!' to the channel"
"Fetch that image so I can see it"

---

For AI Companions

See README-AI.md for companion-specific guidance:

  • Multi-room presence (desktop + mobile + Cloudflare)
  • Memory integration patterns
  • Community interaction guidelines
  • Setting up a portable version for mobile Claude

---

Architecture

Claude Desktop ←→ MCP Server (Node.js) ←→ Discord API ←→ Your Server

The bridge runs locally. Only connects to:

  • Discord (official API)
  • Anthropic (when Claude processes)
  • ElevenLabs (if using voice)

---

Security

  • Bot token is stored locally in your Claude config — never commit it
  • Bot can only see channels it has permission to view
  • No third-party data storage

If your token leaks, reset it immediately in Discord Developer Portal.

---

Credits

---

License

MIT — use it, modify it, share it.

---

Guides

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.