Glen

Join the waitlist

We onboard teams in waves. Leave your work email and we'll send your invite when your spot opens.

Discord MCP MCP server

Communitybarryyip0625Config last verified Jun 1, 2026

Maintained community MCP server that lets an agent run a Discord bot: messages, channels, forums, roles, and webhooks.

Discord MCP (mcp-discord) is a maintained, community-built Model Context Protocol server that connects an agent to the Discord platform through a Discord bot. Once you create a bot, enable its privileged intents, and invite it to a server, the agent can read and send messages, search history, manage channels and categories, run full forum workflows, administer roles and members, and create and post through webhooks - all as first-class MCP tools.

It authenticates with a single Discord bot token, supplied either through the DISCORD_TOKEN environment variable or a --config argument, and runs over stdio by default with an optional Streamable HTTP transport for hosted setups. Because it acts as a bot, every action is bound by Discord's own permission system, so you scope what the agent can do by scoping the bot's role and channel permissions. It is a practical choice for community automation, moderation assistants, and notification bots driven by an LLM.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-discord",
        "--config",
        "YOUR_DISCORD_BOT_TOKEN"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
Or via CLI
bash
claude mcp add discord -- npx -y mcp-discord --config YOUR_DISCORD_BOT_TOKEN

Available tools

ToolDescription
discord_loginLogin to Discord using the configured token.
discord_list_serversList all Discord servers the bot is a member of.
discord_sendSend a message to a specified channel.
discord_get_server_infoGet Discord server information.
discord_create_text_channelCreate a text channel.
discord_create_forum_channelCreate a forum channel.
discord_create_voice_channelCreate a voice channel.
discord_edit_channelEdit a channel name, topic, parent category, or position.
discord_delete_channelDelete a channel.
discord_create_categoryCreate a channel category.
discord_edit_categoryEdit a channel category.
discord_delete_categoryDelete a channel category.
discord_set_channel_permissionsSet permission overrides for a role or user on a channel or category.
discord_remove_channel_permissionsRemove permission overrides from a channel or category.
discord_get_forum_channelsGet a list of forum channels.
discord_create_forum_postCreate a forum post.
discord_get_forum_postGet a forum post.
discord_list_forum_threadsList active and archived threads in a forum channel.
discord_reply_to_forumReply to a forum post.
discord_get_forum_tagsGet all available tags for a forum channel.
discord_set_forum_tagsReplace the available tags for a forum channel.
discord_update_forum_postUpdate a forum post's title, tags, archived state, or locked state.
discord_delete_forum_postDelete a forum post.
discord_search_messagesSearch messages in a server.
discord_read_messagesRead channel messages, supporting before, after, and around parameters by snowflake ID or ISO 8601 date.
discord_edit_messageEdit a bot-authored message.
discord_add_reactionAdd a reaction to a message.
discord_add_multiple_reactionsAdd multiple reactions to a message.
discord_remove_reactionRemove a reaction from a message.
discord_delete_messageDelete a specific message from a channel.
discord_create_webhookCreate a new webhook for a Discord channel.
discord_send_webhook_messageSend a message to a Discord channel using a webhook.
discord_edit_webhookEdit an existing webhook for a Discord channel.
discord_delete_webhookDelete an existing webhook for a Discord channel.
discord_list_rolesList all roles in a server.
discord_create_roleCreate a role with color, hoist, mentionable, and permission options.
discord_edit_roleEdit an existing role.
discord_delete_roleDelete a role.
discord_assign_roleAssign a role to a member.
discord_remove_roleRemove a role from a member.
discord_list_membersList members in a server with their roles.
discord_get_memberGet detailed information about a specific member.

Required configuration

  • DISCORD_TOKENRequired

    Discord bot token used to authenticate the bot. Alternatively passed via the --config argument.

What you can do with it

Community moderation assistant

An agent reads and searches channel messages, deletes spam, manages roles, and replies in forum threads so a moderator can supervise rather than do every action by hand.

Notify a server from your workflow

Wire the agent to post build, deploy, or alert messages into a channel through discord_send or a webhook, keeping a team's Discord in sync with external systems.

FAQ

Is it free?
Yes. It is an open-source community project under the MIT license; you only need a free Discord account and a bot application.
Does it support remote/OAuth?
It does not use OAuth. It authenticates with a Discord bot token and runs over stdio by default, with an optional Streamable HTTP transport for hosted deployments.
Is it official?
No. It is a maintained community server (mcp-discord by barryyip0625), not published by Discord; you are responsible for the bot's permissions and intents.
Compare Discord MCP alternatives →← Browse all communication servers