Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
barryyip0625
Submitted by
Community
Quality
50
Stars
94

About MCP-Discord Server

Implement Discord MCP server enabling AI assistants to interact with the Discord platform.

MCP-Discord is a MCP server in the Communication category listed in the AddMCP.net directory, published by barryyip0625. It exposes 22 tools, including discord_create_category, discord_edit_category, discord_delete_category, discord_login and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 94 GitHub stars. Source code is hosted on github.com. Related topics: ai, discord, discord-bot, mcp, mcp-server.

Setup

{
    "mcpServers": {
        "mcp-discord-barryyip0625": {
            "command": "npx",
            "args": [
                "mcp-discord",
                "--config",
                "${DISCORD_TOKEN}"
            ]
        }
    }
}

MCP-Discord config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-discord-barryyip0625": {
            "command": "npx",
            "args": [
                "mcp-discord",
                "--config",
                "${DISCORD_TOKEN}"
            ]
        }
    }
}

MCP-Discord tools

  • discord_create_category — Creates a new category in a Discord server.
    guildId:string*, name:string*, position:number, reason:string
  • discord_edit_category — Edits an existing Discord category (name and position).
    categoryId:string*, name:string, position:number, reason:string
  • discord_delete_category — Deletes a Discord category by ID.
    categoryId:string*, reason:string
  • discord_login — Logs in to Discord using the configured token
    token:string
  • discord_send — Sends a message to a specified Discord text channel
    channelId:string*, message:string*
  • discord_get_forum_channels — Lists all forum channels in a specified Discord server (guild)
    guildId:string*
  • discord_create_forum_post — Creates a new post in a Discord forum channel with optional tags
    forumChannelId:string*, title:string*, content:string*, tags:array
  • discord_get_forum_post — Retrieves details about a forum post including its messages
    threadId:string*
  • discord_reply_to_forum — Adds a reply to an existing forum post or thread
    threadId:string*, message:string*
  • discord_create_text_channel — Creates a new text channel in a Discord server with an optional topic
    guildId:string*, channelName:string*, topic:string
  • discord_delete_channel — Deletes a Discord channel with an optional reason
    channelId:string*, reason:string
  • discord_read_messages — Retrieves messages from a Discord text channel with a configurable limit
    channelId:string*, limit:number
  • discord_get_server_info — Retrieves detailed information about a Discord server including channels and member count
    guildId:string*
  • discord_add_reaction — Adds an emoji reaction to a specific Discord message
    channelId:string*, messageId:string*, emoji:string*
  • discord_add_multiple_reactions — Adds multiple emoji reactions to a Discord message at once
    channelId:string*, messageId:string*, emojis:array*
  • discord_remove_reaction — Removes a specific emoji reaction from a Discord message
    channelId:string*, messageId:string*, emoji:string*, userId:string
  • discord_delete_forum_post — Deletes a forum post or thread with an optional reason
    threadId:string*, reason:string
  • discord_delete_message — Deletes a specific message from a Discord text channel
    channelId:string*, messageId:string*, reason:string
  • discord_create_webhook — Creates a new webhook for a Discord channel
    channelId:string*, name:string*, avatar:string, reason:string
  • discord_send_webhook_message — Sends a message to a Discord channel using a webhook
    webhookId:string*, webhookToken:string*, content:string*, username:string, avatarURL:string, threadId:string
  • discord_edit_webhook — Edits an existing webhook for a Discord channel
    webhookId:string*, webhookToken:string, name:string, avatar:string, channelId:string, reason:string
  • discord_delete_webhook — Deletes an existing webhook for a Discord channel
    webhookId:string*, webhookToken:string, reason:string

Overview

What is MCP-Discord?

MCP-Discord is a Discord Model Context Protocol (MCP) server that enables AI assistants to interact with Discord platform. It provides tools for managing servers, channels, messages, roles, members, forum posts, reactions, and webhooks.

How to use MCP-Discord?

Run with npx mcp-discord --config ${DISCORD_TOKEN} or via Docker (e.g., docker run -e DISCORD_TOKEN=your_token ...). Configure the bot token as an environment variable or command-line argument. Requires Node.js v18+ and a Discord bot with appropriate permissions (Administrator recommended). Add the bot to target servers first.

Key features of MCP-Discord

  • Login to Discord bot and list servers
  • Manage channels: create, edit, delete text/forum/voice/categories
  • Manage forum posts: create, update, delete, reply, manage tags
  • Send, read, edit, delete messages; search messages
  • Manage roles: create, edit, delete, assign, remove
  • Manage webhooks: create, edit, delete, send messages via webhook
  • Add/remove reactions and manage member details

Use cases of MCP-Discord

  • Automate server moderation and channel management with AI
  • Let AI assistants send messages and manage forum threads
  • Programmatically assign roles and manage permissions
  • Search and retrieve message history across servers
  • Create and manage webhooks for external integrations

Frequently asked questions

1 What dependencies or runtime are required?

Node.js v18.0.0 or higher and npm v7.0.0 or higher are required.

2 What Discord bot permissions are needed?

Administrator permissions are recommended for full functionality. Alternatively, enable Send Messages, Create Public Threads, Manage Messages, Manage Threads, Manage Channels, Manage Webhooks, Manage Roles, Add Reactions, View Channel, Message Content Intent, Server Members Intent, and Presence Intent.

3 Can MCP-Discord access any Discord server?

No. The bot can only access servers it has been explicitly added to via an invite link.

4 What transport methods does MCP-Discord support?

It supports stdio (default) and streamable HTTP transport. The HTTP server can be hosted with a configurable port and provides an endpoint at /mcp.

5 Is MCP-Discord available as a Docker image?

Yes. Docker images are published on Docker Hub as barryy625/mcp-discord. Tags include latest and version-specific tags like v1.3.8.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬