Discord MCP Server

Discord MCP server provides comprehensive Discord integration with 60+ tools for managing messages, channels, roles, forums, webhooks, and server moderation.

May 4, 2025
MCP ServerCommunication & EmailDiscord MCP Server
GitHub stars

Overview

The Discord MCP Server brings the full power of Discord's platform to AI assistants. With over 60 tools covering messages, channels, roles, forums, webhooks, and moderation, this server provides the most comprehensive Discord integration available. Whether you're managing a community server or building a Discord bot with AI capabilities, this server has you covered.

Community MCP Server:

Comprehensive Discord integration supporting both user and bot authentication

Key Features

💬

Full Messaging

Send, edit, delete messages across channels, threads, and direct messages

📋

Channel Management

Create, list, and manage channels, categories, forums, and threads

🛡️

Moderation Tools

Kick, ban, timeout members, manage warnings, and enforce server rules

👤

Role Management

Assign and remove roles, manage permissions, and organize member groups

🔗

Webhooks & Integrations

Create and manage webhooks for automated message posting and external integrations

📊

Server Analytics

Track member activity, message volume, and server engagement metrics

Available Tools

Quick Reference

ToolPurpose
send_messageSend a message to a channel
list_channelsList all channels in a server
get_messagesGet recent messages from a channel
create_channelCreate a new text or voice channel
manage_rolesAssign or remove roles from members
moderate_memberTimeout, kick, or ban a member
create_webhookCreate a webhook for automated posting

Detailed Usage

send_message

Send a message to any text channel or thread with optional embeds and attachments.

{
  "channel_id": "123456789",
  "content": "Hello everyone! Here's the announcement...",
  "embed": true
}
manage_roles

Assign or remove roles from server members for access management.

{
  "user_id": "987654321",
  "role_id": "555555555",
  "action": "assign"
}
moderate_member

Apply moderation actions including timeout, kick, or ban to server members.

{
  "user_id": "987654321",
  "action": "timeout",
  "duration_minutes": 60,
  "reason": "Violating chat rules"
}
create_webhook

Create a webhook in a channel for automated message posting from external services.

{
  "channel_id": "123456789",
  "name": "Deploy Notifications"
}

Installation

{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": ["-y", "discord-mcp"],
      "env": {
        "DISCORD_BOT_TOKEN": "your_bot_token"
      }
    }
  }
}

Bot Token Required:

Create a Discord application and bot at the Discord Developer Portal. Enable the necessary intents and invite the bot to your server.

Use Cases

Community Management

Automate welcome messages, moderation actions, and member role assignments.

Content Moderation

Use AI to detect rule violations, flag inappropriate content, and take moderation actions.

Support Channels

Power AI support bots that can answer questions, escalate issues, and create tickets.

Server Analytics

Ask AI to analyze server activity, identify trends, and generate community engagement reports.

Sources