🔌

Discord MCP

Communication1,400

Read and send messages, manage channels, members, and roles for Discord communities.

Claude DesktopCursorWindsurf

Overview

Read and send messages, manage channels, members, and roles for Discord communities.

Setup

Run with npx:

npx -y @modelcontextprotocol/server-discord

Configuration

DISCORD_BOT_TOKEN, DISCORD_GUILD_ID environment variables

Documentation

Discord MCP (Enhanced)

Overview

Discord MCP provides integration with Discord, enabling AI agents to read and send messages, manage channels, members, and roles for community management.

Features

  • Message reading and sending
  • Channel management
  • Member management
  • Role management
  • Server information

Installation

npx -y @modelcontextprotocol/server-discord

Configuration

Set the following environment variables:

export DISCORD_BOT_TOKEN=your_bot_token
export DISCORD_GUILD_ID=your_guild_id

Create a bot at https://discord.com/developers/applications.

Available Tools

ToolDescription
list_channelsList server channels
get_channel_messagesGet channel messages
send_messageSend a message
list_membersList server members
get_memberGet member details

Usage Examples

Send a Message

{
  "channel_id": "your-channel-id",
  "content": "Hello from AI agent!"
}

List Channels

{
  "guild_id": "your-guild-id"
}

Pros

  • ✅ Discord community integration
  • ✅ Message management
  • ✅ Member management
  • ✅ Real-time communication

Cons

  • ❌ Requires Discord bot setup
  • ❌ Rate limits apply
  • ❌ Bot permissions needed

Resources