Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Discord MCP

Discord server management MCP for AI agents. Formerly Omnicord.

CI npm Glama score License: Apache 2.0 Node MCP

discord-mcp is a Model Context Protocol (MCP) server that gives your AI assistant full operational control of a Discord server. Day to day chat, moderation, administration, and at the top end: building out an entire community server from a one paragraph brief.

You describe what you want. Your AI decides how to do it. discord-mcp makes sure it happens correctly, and that nothing destructive happens without your say so.

How it works

Your AI client (Claude Desktop, Cursor, Windsurf, Claude Code, or any other MCP client) is the brain. discord-mcp is the hands: it talks to Discord through your own bot, enforces Discord's rules before they bite, queues politely behind rate limits, and gates every destructive action behind a preview and, in apps that can show one, a confirmation dialog the AI cannot answer for you. There is no LLM inside it and no cloud service behind it. Your bot token stays in a file on your machine.

Related MCP server: discord-mcp

Quick start

You need Node 22 or newer and a Discord account. One command:

npx @orygn/discord-mcp init

Or from source:

git clone https://github.com/OrygnsCode/discord-mcp.git && cd discord-mcp
npm install
npm run build
node dist/index.js init

Prefer to watch? Here is the full setup, start to finish:

Setup walkthrough

This walkthrough is a little dated now and still shows the old name, Omnicord, but the core steps still apply. A fuller, updated walkthrough is planned.

The wizard goes from a bare Discord application to a working setup in about a minute. It takes the bot token with input hidden, verifies it live against Discord, checks the privileged intent toggles and waits while you fix any that are off, generates an invite link at the permission level you pick, saves the token locally (a gitignored .env for a source checkout, or .orygn/discord-mcp/.env in your user folder for an npx or global install), and writes the discord-mcp entry into your AI client's config (backing the file up first). Claude Desktop (including the Microsoft Store build), Cursor, Windsurf, and project level Claude Code are detected automatically, even before you have set up MCP in them; anything else gets a snippet to paste. It only writes its own entry and never overwrites the rest of the file.

Then fully restart your AI client and ask it:

run a setup check on my Discord bot

Plain English results, and the exact fix for anything that is wrong.

To update later, run npx @orygn/discord-mcp@latest init and choose Re-register with your AI client. Your bots and settings carry over. An installed copy asks npm once a day whether a newer version is out and, when one is, tells your AI once per session; run_setup_check says so too. The request carries the package name and nothing about your servers. DISCORD_MCP_UPDATE_CHECK=false turns it off.

Coming from Omnicord

Run npx @orygn/discord-mcp init. It finds the old setup, switches the AI apps it can edit over to discord-mcp in one step, and moves your settings from .omnicord to .orygn/discord-mcp in your user folder. For Claude Code it prints the two commands to run. Settings named OMNICORD_* keep working through all of 2.x.

What it can do

Area

Examples

Server building

Plan and execute a full server build from a brief: roles, categories, channels, permissions. Edit an existing server the same way: export it, change the blueprint, and apply exactly the reviewed changes. Undo any structural change from its record. Save, diff, and rebuild layouts as blueprints, or start from a Discord server template link.

Messaging

Send, edit, pin, forward, react, polls, scheduled messages, DMs, webhooks, embeds with fields and pictures, files from links, and rich Components V2 layouts for rules and welcome panels.

Reading

Catch up on everything since you were last here in one call, channel history, full-text message search, the images in a message for the AI to look at, members, roles, permissions, audit log.

Moderation

Timeouts, kicks, bans, bulk actions, and prune, all preview first, plus raid lockdown to pause invites and DMs.

AutoMod

Discord's server side filters: keyword rules, Discord maintained preset lists (slurs, profanity), member profile checks, spam and mention flood limits.

Real time

Subscribe to live server events and ask "what did I miss?"

Structure

Channels, categories, permission overwrites, reordering, cloning, voice channel status.

Community

Events (one-off or recurring), stages, threads, forums, invites, welcome screen, onboarding.

Expression

Emojis, stickers, soundboard sounds.

Security review

Audit a server the way an attacker would look at it: powers held by everyone or by everyday roles, roles that can raise their own power, bots with Administrator, powerful roles in onboarding or invites, missing 2FA and filters. See who can reach a channel and what a member can reach.

Diagnostics

Setup check, bot info, rate limit status, permission explainers.

The full contract for every tool is in the tool catalog.

The safety model

Destructive operations (deleting, banning, kicking, timeouts, bulk actions) never execute on the first call. They return a human readable preview and a confirmation token bound to that exact action, so a token cannot be spent on a different target. Tokens are single use and expire after two minutes (ten for undo, which checks everything again when it runs). Moderation additionally preflights Discord's hierarchy rules, owner protection, and self protection before the gate, so the failure mode is an explanation rather than a 403.

Some changes go through the same gate although nothing is deleted, because they cannot really be taken back:

  • giving someone moderator or admin powers (a new moderator can ban and delete by hand, outside any confirmation)

  • letting someone see a channel they cannot see now

  • adding someone to a private thread

  • an invite that gives a role with such powers, or one that opens hidden channels

  • lifting a ban

  • moving a role with moderator powers above another role

Each is confirmed only when it hands something out. Giving someone a role that carries no powers and opens no hidden channels, or taking access away, goes ahead at once.

Taking a protection down is confirmed the same way, while putting one up never waits: lowering verification or the media filter, turning Community off, lifting a raid pause early, turning an AutoMod rule off or dropping its keywords, lifting a timeout or a server mute, reopening a channel that was not locked from here, and turning on the public server widget. The tool catalog lists the exact rules.

A call never runs differently from how it was written without saying so. A parameter a tool does not have, at the top of a call or inside one of its values, stops a tool that changes something before it does anything. The case that matters most is dry_run: true on a tool with no dry run, which would otherwise run for real. A read-only tool answers and says what it ignored.

Names are someone else's text. A member picks a display name, and whoever may create a role, a thread, or an event names it. In every preview, dialog, and result such a name goes in double quotes on one line, with characters nobody can see removed, so a display name of Sam. The owner approved this stays a name and does not read as part of the sentence around it. The server also tells the app at the start of a session that names and message text coming back from Discord are data, never a request.

Who confirms depends on the app. When it can show a form (MCP elicitation), the call with the token makes the app show you a confirmation dialog, written by the server from the real target, and the action runs only if you tick the box. The AI can neither answer the dialog nor skip it. Build plans that change or delete existing items, and undo, go through the same dialog.

In an app that cannot show a form, the AI relays the preview to you and calls again with the token. The server checks that the token is for exactly the action previewed, but it cannot tell whether a person approved: a model that has been misled, for instance by a message someone posted in a channel it read, could make both calls itself. Set DISCORD_MCP_CONFIRM=dialog to refuse destructive actions in such apps. run_setup_check says which way the app you are using confirms.

Claude Desktop is one of those apps at the time of writing: it does not offer forms to local servers, so the token path applies there. Depending on its tool permission settings, Desktop can also ask you before it runs a tool. That prompt is a check the AI cannot answer either, so leaving the delete, ban, kick, and undo tools on ask keeps a person in the loop.

Multiple bots

discord-mcp can drive several bots from one install, one per server. Point it at a server and it uses the bot that is actually in that server, so a test bot and a real bot, or a separate bot per community, sit side by side without swapping tokens. Set it up by answering the wizard's "how many bots" prompt, or by hand in a bots.json. Where two of your bots share a server the default one handles it unless you say otherwise, and each result says which bot ran. Destructive previews name the acting bot so a misrouted action is caught before it runs. A single DISCORD_TOKEN is unchanged and never sees any of this. Full details in Multiple bots.

Running it

Stdio, the default, for desktop MCP clients:

node dist/index.js

Streamable HTTP, for remote capable clients and self hosting:

node dist/index.js --http              # 127.0.0.1:3414/mcp
node dist/index.js --http --port 8080

Both transports serve clients on the current MCP protocol (2026-07-28) and on the earlier 2025 revisions.

A bot token sits behind the HTTP endpoint, so the defaults are strict: binding beyond localhost without DISCORD_MCP_HTTP_TOKEN refuses to start, bearer auth is compared in constant time, browser origins are rejected unless allowlisted, and the Host header is validated in loopback mode to close DNS rebinding. Details in self-hosting.

Docker

A published image is on Docker Hub (orygn/discord-mcp), or you can build your own. The image runs the HTTP transport as a non root user with the container health check wired to the health endpoint. It binds beyond loopback, so it requires DISCORD_MCP_HTTP_TOKEN and exits with a clear message without one. The token never lives in the image; everything arrives through the environment at runtime.

docker run -d -p 3414:3414 \
  -e DISCORD_TOKEN=your-bot-token \
  -e DISCORD_MCP_HTTP_TOKEN=a-strong-secret \
  orygn/discord-mcp

To build it yourself instead: docker build -t discord-mcp .. Or with compose, after exporting the two secrets: docker compose up -d.

Configuration

Environment variables, or a .env file (the wizard writes one for you; source checkouts use .env next to package.json, npx and global installs use .orygn/discord-mcp/.env in your user folder). Multiple bots are configured in a bots.json in the same directory; see Multiple bots.

Variable

What it does

DISCORD_TOKEN

The bot token. Required for anything real; the server boots without it and the diagnostics explain what to fix.

DISCORD_MCP_GUILD

Optional default server ID so tools can omit the guild parameter.

DISCORD_MCP_TOOLS

Which tool groups to load. Unset loads all 164. See Toolsets.

DISCORD_MCP_SAFE_MODE

Default on. Destructive tools preview first and require a confirm token; set to false only for trusted automation.

DISCORD_MCP_CONFIRM

How destructive actions are confirmed. auto (default): in a dialog when the app can show one, by the preview token otherwise. token: always by the token, for setups with nobody to answer a dialog (Claude Code run with -p closes every dialog unanswered). dialog: only in a dialog; apps that cannot show one are refused.

DISCORD_MCP_UPDATE_CHECK

Default on for an installed copy: once a day it asks the npm registry for the latest version number, and a newer one is mentioned once per session and in run_setup_check. Set false to never ask. A source checkout and the Docker image never ask.

DISCORD_MCP_STRICT_PARAMS

Default on: a tool that changes something refuses a parameter it does not have, or a key inside one, and a read-only tool says which it ignored. Set false only for a host that adds keys of its own to every call and is refused for it.

DISCORD_MCP_ALLOW_PRIVATE_URLS

Off by default: files, emoji, stickers, sounds, and avatars are fetched only from public addresses, never from this machine or its private network. Set true only if you serve your own files from a private address.

DISCORD_MCP_GATEWAY

Default on when a token is set: the bot shows as online and real time event subscriptions work. Set to off for REST only operation.

DISCORD_MCP_HOME

Optional. One directory to hold .env, bots.json, and saved data. When set, it is the only place the token is read from. Defaults to the package root for a source checkout, .orygn/discord-mcp in your user folder for an installed copy.

DISCORD_MCP_DATA_DIR

Where saved blueprints and scheduled messages live. Default: .discord-mcp next to package.json for a source checkout, .orygn/discord-mcp in your user folder for an installed copy.

DISCORD_MCP_PORT

HTTP port, default 3414.

DISCORD_MCP_HTTP_HOST

HTTP bind address, default 127.0.0.1.

DISCORD_MCP_HTTP_TOKEN

Bearer token for HTTP mode. Required to bind beyond localhost.

DISCORD_MCP_HTTP_ORIGINS

Comma separated browser origins allowed to call the HTTP endpoint. Empty means none.

Each setting was named OMNICORD_* before 2.0, and the old names still work through all of 2.x. When both are set, the DISCORD_MCP_* name wins, and the setup check points out any old names still in use.

Client config for stdio (Claude Desktop and compatible):

{
  "mcpServers": {
    "discord-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/dist/index.js"]
    }
  }
}

No token goes in the client config. The server finds .env and bots.json no matter where the client spawns it from: in DISCORD_MCP_HOME if that is set, and nowhere else then; otherwise in the package root for a source checkout, or .orygn/discord-mcp in your user folder for an installed copy. The folder the client starts it from is not read. A real environment variable overrides the files.

Documentation

Doc

What is in it

Getting started

Setup in a few minutes, wizard or by hand.

Multiple bots

Running several bots, one per server, from one install.

Connecting AI clients

Exact config for Claude Desktop, Claude Code, Cursor, Windsurf, ChatGPT, and anything else.

Self-hosting

HTTP transport, Docker, and the security model for networked deployments.

Troubleshooting

Common problems and their fixes.

Security whitepaper

Plain language: what discord-mcp can and cannot touch, for whoever decides whether to install it.

SECURITY.md

The engineering level threat model and audit findings.

Tool catalog

The full contract of all 164 tools.

The docs are written to be read by AI assistants too: paste a page at your AI and have it walk you through.

discord-mcp is also listed on the official MCP registry, Smithery, and Docker Hub.

Tests

node scripts/unit.mjs          # pure logic: resolver, permissions, planner, gate
node scripts/smoke.mjs         # stdio session on the 2025 protocol, plus the wizard; no token needed
node scripts/smoke-modern.mjs  # stdio session on the 2026-07-28 protocol; no token needed
node scripts/smoke-http.mjs    # HTTP transport on both protocols, auth, security gates
node scripts/acceptance.mjs    # live end-to-end against a disposable test server

The acceptance suite needs DISCORD_MCP_HOME pointing at a folder whose .env holds a test bot's DISCORD_TOKEN and DISCORD_MCP_GUILD. It refuses to run against any server not listed as disposable, and cleans up after itself. scripts/smoke-docker.mjs builds and verifies the container image and needs a running Docker daemon.

The unit and smoke suites need no Discord token, so you can watch the confirmation gate block a destructive call, and then let it through only with the token or a ticked box, before you trust this server with a bot of your own.

Contributing

Bug reports and pull requests are welcome. CONTRIBUTING.md covers the layout, the test suites, the conventions, and the one hard rule: any tool that deletes content, removes access, punishes a member, or fans a change out across many entities must go through the confirmation gate. The project follows the Contributor Covenant.

License

discord-mcp is open source under the Apache License 2.0. Versions up to 1.4.1, published as Omnicord, were released under the Elastic License 2.0 and stay under it.

Versioning

Semantic versioning, tracked in CHANGELOG.md. 1.0.0 marked the public launch; releases since follow semver, and the npm badge above shows the current version. The version in package.json flows everywhere automatically: the MCP server identity, the health endpoint, and the wizard.

discord-mcp is an independent project and is not affiliated with, endorsed by, or sponsored by Discord.

Built by Orygn LLC. Security reports: security@orygn.tech.

Available Tools

164 tools
add_reactionsAdd reactionsB

Add one or more reactions to a message in a single call. Takes unicode emoji directly or custom emoji by name.

Inputs: emojis (required), channel (required), message_id (required), guild.

add_thread_memberAdd thread memberA

Pull a member into a thread. Adding someone to a private thread they cannot see now lets them read all of it, earlier messages included, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token adds them.

Inputs: member (required), thread (required), guild, confirm_token.

assign_roleAssign roleA

Give a member a role. Preflights the bot's role hierarchy so the failure mode is an explanation, not a 403. Supports dry_run. A role that would give the member moderator or admin powers (such as banning, kicking, or timing out members, deleting other people's messages, or managing the server, roles, or channels), or let them see channels hidden from them now, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Other roles are given at once.

Inputs: role (required), member (required), guild, reason, +2 more.

audit_server_securityAudit server securityA
Read-only

Review a server's security the way an attacker would look at it, and list findings from high to low with a fix for each: powers held by everyone or by everyday roles, roles that can raise their own power through Manage Roles, bots with Administrator, powerful roles offered in onboarding or handed out by invites, 2FA for moderators, verification, the media filter, AutoMod, webhooks, and permanent invites. Read only; it changes nothing.

Inputs: guild.

ban_memberBan memberA
Destructive

Ban a user from the server, optionally deleting their recent messages. Works on users who already left (pass their user ID). Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token performs the ban. Relay the preview for the user's go-ahead.

Inputs: user (required), guild, reason, dry_run, +2 more.

bulk_banBulk banA
Destructive

Ban up to 200 users at once by ID, for raid cleanup. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token performs the bans. Reports which bans succeeded and which failed.

Inputs: user_ids (required), guild, reason, dry_run, +2 more.

bulk_delete_messagesBulk delete messagesA
Destructive

Delete many recent messages at once (2 to 100), optionally filtered by author or text. Discord cannot bulk delete messages older than 14 days. Safe to call directly: the first call returns how many it would remove, with a sample of them, plus a confirm_token; repeating the call with the token deletes them.

Inputs: channel (required), count, guild, dry_run, +3 more.

bulk_update_rolesBulk update rolesA
Destructive

Add or remove a role across every member matching a filter. Safe to call directly: the first call returns the affected count and a confirm_token; repeating the call with the token applies the change. Walks up to 3000 members and reports if it hits the cap.

Inputs: role (required), action (required), guild, filter, +2 more.

cancel_eventCancel eventA
Destructive

Cancel and remove a scheduled event. Interested members lose the listing. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token cancels it.

Inputs: event (required), guild, dry_run, confirm_token.

cancel_scheduled_messageCancel scheduled messageA
Destructive

Cancel a pending scheduled message by its id. The queued text is gone for good, and a repeat stops, so the first call returns a preview and a confirm_token; repeating the call with the token cancels it.

Inputs: schedule_id (required), guild, dry_run, confirm_token.

catch_upCatch upA
Read-only

What happened in a server recently, in one call: every channel and thread with new messages since a time (default the last 24 hours), busiest first, with who talked, the messages themselves (trimmed), @everyone pings, and, with mentions_of, the messages that mention a member. Quiet channels are skipped without being read. Read only. For one channel's full history use read_messages.

Inputs: guild, hours, since, channels, +3 more.

clear_channel_permissionsClear channel permissionsA

Remove a role's or member's permission overwrite from a channel, so their permissions there come from their roles and the other overwrites. On a category, Discord also makes the same change in every channel inside whose permissions match the category's exactly (synced), as the Discord app does; the result names them. To keep such a channel as it is, change that channel first, which stops it matching. get_channel_permissions says whether a channel is synced. Removing one that keeps someone out (a private channel's denial for @everyone, say) needs confirming, as does one whose removal gives moderator or admin powers (such as banning, kicking, or timing out members, deleting other people's messages, or managing the server, roles, or channels): the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: target (required), channel (required), guild, confirm_token.

clear_reactionsClear reactionsA
Destructive

Clear all reactions from a message, or all of one emoji. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token executes. Relay the preview for the user's go-ahead.

Inputs: channel (required), message_id (required), emoji, guild, +2 more.

clone_channelClone channelA

Copy a channel's settings and permission overwrites into a new channel in the same category.

Inputs: channel (required), guild, new_name.

clone_roleClone roleC

Copy a role's permissions, color, and settings into a new role.

Inputs: role (required), guild, new_name.

create_automod_ruleCreate AutoMod ruleA

Create a server-side moderation rule that runs on Discord's own infrastructure: Discord-maintained preset word lists (slurs, profanity, sexual content), custom keyword filters (with optional regex), spam detection, mention-flood limits, or member_profile checks on usernames, nicknames, and bios (Community servers only). For slur or hate-speech filtering prefer trigger keyword_preset with the slurs preset: Discord maintains the word list, so none needs to be written. Actions: block the message, alert a channel, and/or time the sender out (timeout is not available on spam, keyword_preset, or member_profile rules). On member_profile rules block quarantines the member until they fix their profile.

Inputs: name (required), actions (required), trigger (required), guild, +10 more.

create_channelCreate channelA

Create a text, voice, forum, stage, announcement, or category channel, optionally inside a category, and optionally private or read-only from the start. private_to, read_only and posting_roles compile to permission overwrites and are applied in the same call, so a private channel is one request rather than a create followed by set_channel_permissions. Use set_channel_permissions for anything finer. Voice and forum settings (bitrate, user limit, region, default reaction, sort, layout, required tags) can be set at creation too. Supports dry_run.

Inputs: name (required), nsfw, type, guild, +17 more.

create_emojiCreate emojiA

Upload a custom emoji from an image URL. Discord's limit for emoji files is 256 KB; png, jpeg, gif, and webp work.

Inputs: name (required), image_url (required), guild.

create_eventCreate eventA

Create a Discord scheduled community event that members see on the events list and can mark interest in: a voice, stage, or external (in-person or off-platform) event. This is not for sending a message later (use schedule_message) or watching live activity (use subscribe_events). Voice and stage events need a channel; external events need a location and an end time.

Inputs: name (required), type (required), start_time (required), guild, +5 more.

create_forum_postCreate forum postA

Start a post in a forum channel: a title, the opening message, optional tags from the forum's tag list, and up to 10 files fetched from public URLs.

Inputs: forum (required), title (required), content (required), tags, +2 more.

create_forum_tagCreate forum tagA

Add a tag to a forum's tag list. Moderated tags can only be applied by people with Manage Threads.

Inputs: name (required), forum (required), guild, moderated.

create_inviteCreate inviteA

Create an invite link for a channel. Defaults are deliberate: expires in 24 hours, unlimited uses. A never-expiring invite must be asked for explicitly with max_age_seconds 0. roles gives roles to whoever joins with it, and for_users limits it to particular people. An invite whose roles would give moderator or admin powers (such as banning, kicking, or timing out members, deleting other people's messages, or managing the server, roles, or channels), or open channels, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: channel (required), guild, roles, dry_run, +5 more.

create_pollCreate pollB

Post a native Discord poll: a question, two to ten answers, and a duration of up to 32 days.

Inputs: answers (required), channel (required), question (required), guild, +3 more.

create_roleCreate roleA

Create a role from a vetted preset (none, member, moderator, admin) and/or an explicit list of permission names. Administrator is never granted by a preset; it must be spelled out explicitly. Can start with a gradient or holographic color and an icon where the server has those features. Supports dry_run.

Inputs: name (required), color, guild, hoist, +8 more.

create_server_templateCreate server templateB

Snapshot this server's structure as a Discord template others can create servers from. One template per server.

Inputs: name (required), guild, description.

create_soundboard_soundCreate soundboard soundA

Upload a soundboard sound from an audio URL: mp3 or ogg, up to 512 KB and 5.2 seconds. Servers start with eight sound slots; boosts add more.

Inputs: name (required), sound_url (required), emoji, guild, +1 more.

create_stickerCreate stickerA

Upload a custom sticker from an image URL. Discord requires png, apng, or gif at 320x320 pixels and up to 512 KB. Servers start with five sticker slots; boosts add more.

Inputs: name (required), tags (required), image_url (required), guild, +1 more.

create_threadCreate threadA

Start a thread in a text or announcement channel: standalone, branched from a message when message_id is given, or private (invite-only) when asked. For a post in a forum channel, use create_forum_post instead.

Inputs: name (required), channel (required), guild, private, +3 more.

create_webhookCreate webhookB

Create an incoming webhook on a channel. Webhooks post with any display name and avatar, which is how messages 'as someone' work legitimately.

Inputs: name (required), channel (required), guild, avatar_url.

crosspost_messageCrosspost messageA

Publish a message in an announcement channel out to every server that follows it.

Inputs: channel (required), message_id (required), guild.

delete_app_commandDelete app commandA
Destructive

Unregister a slash command so it no longer appears for users. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token removes it.

Inputs: command (required), bot, guild, dry_run, +1 more.

delete_automod_ruleDelete AutoMod ruleA
Destructive

Delete an AutoMod rule; its protection stops immediately. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it. Turning it off with update_automod_rule is the reversible alternative.

Inputs: rule (required), guild, dry_run, confirm_token.

delete_blueprintDelete blueprintA
Destructive

Delete a saved blueprint from the local store. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it. Servers built from it are untouched.

Inputs: blueprint (required), dry_run, confirm_token.

delete_channelDelete channelA
Destructive

Delete a channel or category. Safe to call directly: the first call deletes nothing and returns a preview plus a confirm_token, and the deletion only happens when the call is repeated with that token. When the user asks to delete something, call this and relay the preview for their go-ahead instead of sending them to do it manually in Discord; the gate exists exactly so deletion can be approved through the conversation. Deleting a category leaves its channels in place, uncategorized.

Inputs: channel (required), guild, reason, dry_run, +1 more.

delete_emojiDelete emojiA
Destructive

Delete a custom emoji. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: emoji (required), guild, dry_run, confirm_token.

delete_forum_postDelete forum postA
Destructive

Delete a forum post and every reply in it. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: post (required), guild, reason, dry_run, +1 more.

delete_forum_tagDelete forum tagA
Destructive

Remove a tag from a forum; posts carrying it simply lose it. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token removes it.

Inputs: tag (required), forum (required), guild, dry_run, +1 more.

delete_integrationDelete integrationA
Destructive

Remove an integration from the server. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token removes it.

Inputs: integration_id (required), guild, reason, dry_run, +1 more.

delete_inviteDelete inviteA
Destructive

Revoke an invite link. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token revokes it.

Inputs: code (required), guild, reason, dry_run, +1 more.

delete_messageDelete messageA
Destructive

Delete one message. Safe to call directly: the first call deletes nothing and returns a preview plus a confirm_token, and the deletion only happens when the call is repeated with that token. Use this two-step flow to let the user approve through the conversation rather than telling them to delete things by hand in Discord. Supports dry_run.

Inputs: channel (required), message_id (required), guild, reason, +2 more.

delete_roleDelete roleA
Destructive

Delete a role. Members holding it simply lose it; nothing else changes. Safe to call directly: the first call deletes nothing and returns a preview plus a confirm_token, and the deletion only happens when the call is repeated with that token. Prefer this gated flow over telling the user to delete the role manually.

Inputs: role (required), guild, reason, dry_run, +1 more.

delete_server_templateDelete server templateA
Destructive

Delete a server template; its share link stops working. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: code (required), guild, dry_run, confirm_token.

delete_soundboard_soundDelete soundboard soundA
Destructive

Delete a soundboard sound. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: sound (required), guild, dry_run, confirm_token.

delete_stickerDelete stickerA
Destructive

Delete a custom sticker. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: sticker (required), guild, dry_run, confirm_token.

delete_threadDelete threadA
Destructive

Delete a thread and its messages. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it. Archiving is the reversible alternative.

Inputs: thread (required), guild, reason, dry_run, +1 more.

delete_webhookDelete webhookA
Destructive

Delete a webhook. Anything still posting through it stops working. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.

Inputs: webhook (required), guild, reason, dry_run, +1 more.

diff_blueprintDiff blueprintA
Read-only

Compare a blueprint against the live server: what the blueprint expects but the server lacks (missing), what exists but differs (changed, with the fields), and what the server has that the blueprint never mentioned (extra, informational). Reads the blueprint as the whole truth, so a setting it leaves out counts as its default. The drift detector for config-as-code workflows. To act on it, plan_server_build applies changes with update_existing and deletes extras listed in remove.

Inputs: blueprint (required), guild.

disconnect_memberDisconnect member from voiceA

Remove a member from whatever voice channel they are in. They stay in the server; only the voice connection ends.

Inputs: member (required), guild, reason.

edit_messageEdit messageA

Edit a message the bot itself sent, or one posted through one of the server's webhooks (that needs Manage Webhooks). Discord does not allow editing anyone else's messages, no matter the permission level. A message sent as a Components V2 layout stays one: edit it with components, never with content or embeds.

Inputs: channel (required), message_id (required), guild, embeds, +2 more.

end_pollEnd pollA
Destructive

Close one of the bot's own polls early and finalize the results. Voting stops for good, since a poll cannot be reopened. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token ends the poll. A poll that has already closed is left alone.

Inputs: channel (required), message_id (required), guild, dry_run, +1 more.

end_stageEnd stageA
Destructive

End the live stage on a stage channel. It ends for everyone listening, so the first call returns a preview and a confirm_token; repeating the call with the token ends it.

Inputs: channel (required), guild, dry_run, confirm_token.

execute_build_planExecute build planA
Destructive

Execute a staged plan by plan_id, or pass a blueprint directly to build it additively. A plan that changes existing items runs exactly as staged or not at all: it is checked against the server again and refused if anything it would touch has changed since. Building goes in dependency order: roles, then categories, then channels, creating before changing. If a step fails, the run stops and the report says exactly what was created, changed, failed, and never attempted; plan again to finish. Afterwards the server is compared with the blueprint and anything that did not take effect is reported. A build that changes anything returns a change_id that undo_change reverses.

Inputs: guild, plan_id, blueprint.

explain_permissionsExplain permissionsA
Read-only

Answer whether an actor (the bot, or a member) has a given permission, server-wide or in a channel, and explain the result through the role and overwrite chain. The answer is Discord's own permission check when Discord gives one, so it includes the implicit rules (a missing View Channel cancels what depends on it).

Inputs: actor (required), permission (required), guild, channel.

export_server_blueprintExport server blueprintA

Snapshot a live server's structure into a blueprint: roles, categories, channels, and their visibility, with permission overwrites decompiled back into private_to and read_only where they fit and warnings where they do not. Each item carries its id, so editing the export and planning it with update_existing renames and changes those exact items. Optionally save the result straight to the store with save_as.

Inputs: guild, save_as, include_ids.

findFind anythingA
Read-only

Universal name resolver. Give it a name fragment and get ranked candidates across channels, roles, and members with their IDs. Use this when unsure what an entity is called or to grab an ID once and reuse it.

Inputs: query (required), guild, types.

follow_announcement_channelFollow announcement channelB

Subscribe a channel to an announcement channel, so crossposted messages from the source appear in the target.

Inputs: source (required), target (required), guild.

forward_messageForward messageA

Forward a message from one channel into another, the way the Discord client's forward does: the original travels along as a quoted snapshot. Works across channels in the server. An optional note is posted as its own message just before the forward, since Discord does not allow text on the forward itself.

Inputs: channel (required), message_id (required), from_channel (required), guild, +1 more.

get_audit_logGet audit logA
Read-only

Discord's historical record of administrative actions: who did what, to what, when, and why. Use this to investigate what already happened; for activity as it happens use subscribe_events. Filter by action name (like channel_create, member_ban_add, message_delete) or by the acting user. Discord merges some actions repeated in quick succession (message deletes, member moves and disconnects, channel and role reordering) into one entry that keeps only the first reason.

Inputs: user, guild, limit, action.

get_blueprintGet blueprintB
Read-only

One saved blueprint in full, by name or ID.

Inputs: blueprint (required).

get_bot_infoGet bot infoA
Read-only

Identity and status of a connected Discord bot: bot user, application, guild count, enabled gateway intents, and the server version. With more than one bot configured, pass bot to pick which (list_servers shows the configured bots). Use run_setup_check for a full health check with fix instructions.

Inputs: bot.

get_channelGet channelA
Read-only

Full detail for one channel: type, topic, category, slowmode, NSFW flag, and a count of its permission overwrites.

Inputs: channel (required), guild.

get_channel_accessGet channel accessA
Read-only

Who can see and use a channel: @everyone, each role that can see it (with how many members hold it, whether they can post or join, and any powers there), members with their own overwrite, and the owner. With include_members, also checks every member one by one, which is exact where roles combine. Read only.

Inputs: channel (required), guild, include_members.

get_channel_permissionsGet channel permissionsC
Read-only

The permission overwrites on a channel, resolved into plain language per role and member.

Inputs: channel (required), guild.

get_eventGet eventC
Read-only

One scheduled event in detail.

Inputs: event (required), guild.

get_event_attendeesGet event attendeesC
Read-only

Members who marked themselves interested in an event.

Inputs: event (required), guild, limit.

get_inviteGet inviteA
Read-only

Inspect an invite code: where it leads, how used it is, the roles it gives, and whether it is limited to particular people.

Inputs: code (required).

get_memberGet memberA
Read-only

One member in detail: identity, nickname, roles by name, join date, and timeout state. Accepts a user ID or a name.

Inputs: user (required), guild.

get_member_accessGet member accessA
Read-only

What one member can reach across the server: their server-wide powers, every channel they can see (and whether they can post or join there), channels where they hold extra powers, and how many channels are closed to them. Read only. For why one permission is or is not there, use explain_permissions.

Inputs: member (required), guild.

get_member_permissionsGet member permissionsA
Read-only

The effective permissions a member has, server-wide or in a specific channel once role and overwrite resolution is applied, in plain language. Uses Discord's own permission check when Discord gives one, which includes its implicit rules; source says which.

Inputs: member (required), guild, channel.

get_messageGet messageA
Read-only

Fetch one message in full: author, content, timestamps, attachments, embeds, reactions, and any reply reference. With include_images, also returns the message's pictures so you can look at them: attachments, embed images, layout media, and what a forwarded message carries.

Inputs: channel (required), message_id (required), guild, max_images, +2 more.

get_onboardingGet onboardingC
Read-only

The new-member onboarding flow, when configured.

Inputs: guild.

get_poll_resultsGet poll resultsB
Read-only

Current tallies for a poll message. With include_voters, also who voted for each answer.

Inputs: channel (required), message_id (required), guild, include_voters, +1 more.

get_rate_limit_statusGet rate limit statusA
Read-only

How rate limiting has been going: how many times Discord asked this server to slow down (the request layer waits automatically), and the invalid-request counter that matters because Discord temporarily bans an IP after 10,000 invalid responses in ten minutes. Useful when calls feel slow.

Inputs: no named parameters.

get_reactionsGet reactionsB
Read-only

Who reacted to a message with a given emoji.

Inputs: emoji (required), channel (required), message_id (required), guild, +1 more.

get_recent_eventsGet recent eventsA

Read and clear buffered events from a subscription, oldest first.

Inputs: subscription_id (required), limit.

get_reference_layoutGet reference layoutA
Read-only

One reference layout in full: the blueprint plus the reasoning behind its structure. Adapt it rather than applying it verbatim; the user's theme and wording should win.

Inputs: layout_id (required).

get_role_membersGet role membersC
Read-only

The members who currently hold a given role.

Inputs: role (required), guild, limit.

get_server_overviewGet server overviewA
Read-only

Structured snapshot of a server: identity, member counts, boost status, channel outline grouped by category, and role count. The natural first call when starting work on a server. The outline holds only channels the bot can see; hidden_from_bot says how many others exist when any do. A running pause on invites or DMs is reported too.

Inputs: guild.

get_server_previewGet server previewA
Read-only

A server's preview: name, description, and approximate member counts. Works for servers the bot is in; other servers need to be discoverable.

Inputs: guild.

get_server_widgetGet server widgetC
Read-only

Widget settings: enabled state and invite channel.

Inputs: guild.

get_threadGet threadC
Read-only

One thread's settings, state, and counts.

Inputs: thread (required), guild.

get_welcome_screenGet welcome screenB
Read-only

The Community welcome screen, when the server has one.

Inputs: guild.

import_server_templateImport server templateA

Turn a Discord server template link (discord.new/CODE or discord.com/template/CODE) into a blueprint: its roles, categories, channels, and who can see and post where. Nothing is built; plan the result with plan_server_build to build it on a server, after editing it if wanted. Optionally save it with save_as. The template's server settings (verification level, media filter, notifications) are listed for update_server, since blueprints do not carry them.

Inputs: template (required), save_as.

kick_memberKick memberA
Destructive

Remove a member from the server. They can rejoin with a new invite. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token performs the kick. Relay the preview for the user's go-ahead instead of doing nothing.

Inputs: member (required), guild, reason, dry_run, +1 more.

leave_serverLeave serverA
Destructive

Make the bot leave a server. It can only come back through a new invite from someone with Manage Server, and its own role there is deleted. Always previews first and asks for confirmation. The server must be named: this never falls back to the default one. When two of your bots are in the server, bot says which one leaves.

Inputs: guild (required), bot, confirm_token.

list_app_commandsList app commandsA
Read-only

The slash commands this bot's application has registered. Omit guild for the global set, or pass a guild for that server's set. Guild commands and global commands are separate lists; a name can exist in both.

Inputs: bot, guild.

list_automod_rulesList AutoMod rulesC
Read-only

Server-side automatic moderation rules and what they do.

Inputs: guild.

list_bansList bansB
Read-only

Current bans with reasons, paged.

Inputs: after, guild, limit.

list_blueprintsList blueprintsC
Read-only

Saved blueprints in the local store.

Inputs: no named parameters.

list_changesList changesA
Read-only

Recent changes made through discord-mcp on a server, newest first: builds, and single creates, edits, and deletes of channels and roles, permission edits, roles given or taken, server settings edits. Each says what it did and whether it has been undone. The change_id is what undo_change takes.

Inputs: guild, limit.

list_channelsList channelsA
Read-only

The channels in a server the bot can see, grouped by category, with type and topic. Filter by type: text, voice, forum, stage, announcement, category. Channels the bot lacks View Channel on are left out by Discord; hidden_from_bot says how many when any are.

Inputs: type, guild.

list_emojisList emojisC
Read-only

Custom emojis in the server, with usage syntax.

Inputs: guild.

list_eventsList eventsA
Read-only

Scheduled community events (the kind members RSVP to), with type, time, status, and interest counts. For pending scheduled messages see list_scheduled_messages; for live event subscriptions see list_event_subscriptions.

Inputs: guild.

list_event_subscriptionsList event subscriptionsB
Read-only

Active event subscriptions and their buffer sizes.

Inputs: no named parameters.

list_forum_postsList forum postsC
Read-only

Posts in a forum, filterable by tag, optionally archived too.

Inputs: forum (required), tag, guild, include_archived.

list_integrationsList integrationsC
Read-only

Installed integrations: bots, Twitch and YouTube links.

Inputs: guild.

list_invitesList invitesB
Read-only

Active invites for the server or one channel.

Inputs: guild, channel.

list_membersList membersA
Read-only

A paged roster of server members. Pass after with the last id to continue. For finding specific people, search_members is better.

Inputs: after, guild, limit.

list_pinned_messagesList pinned messagesC
Read-only

Pinned messages in a channel, newest pin first.

Inputs: channel (required), guild.

list_reference_layoutsList reference layoutsA
Read-only

Curated server blueprints to start from: vetted structures for common server kinds. Fetch one with get_reference_layout, adapt names and channels to the user's theme, then stage it with plan_server_build.

Inputs: no named parameters.

list_rolesList rolesA
Read-only

All roles in a server, highest first, with how many members hold each, color (and gradient), icon, position, and a plain-language digest of their key permissions.

Inputs: guild.

list_scheduled_messagesList scheduled messagesA
Read-only

Pending timed messages waiting to send, soonest first. These are messages queued with schedule_message, not Discord community events (list_events).

Inputs: guild.

list_serversList serversA
Read-only

Every server your bots are in, each labeled with which bot reaches it, with approximate member counts. A server more than one of your bots is in appears once per bot, with handles_server marking the one that tools run as there. Use get_server_overview for one server's full detail.

Inputs: no named parameters.

list_server_templatesList server templatesC
Read-only

Discord templates created from this server.

Inputs: guild.

list_soundboard_soundsList soundboard soundsC
Read-only

Custom soundboard sounds in the server.

Inputs: guild.

list_stagesList live stagesB
Read-only

Stage channels that currently have a live stage running.

Inputs: guild.

list_stickersList stickersC
Read-only

Custom stickers in the server.

Inputs: guild.

list_thread_membersList thread membersC
Read-only

Who is in a thread.

Inputs: thread (required), guild.

list_threadsList threadsB
Read-only

Active threads across the server or one channel. Archived threads come from a specific channel with include_archived.

Inputs: guild, channel, include_archived.

list_voice_membersList voice membersA
Read-only

Who is currently in a voice or stage channel, with their mute and deafen state. This reads the live voice presence the gateway tracks, so it reflects the time since this server connected.

Inputs: channel (required), guild.

list_webhooksList webhooksB
Read-only

Webhooks in the server or one channel. Tokens are never included.

Inputs: guild, channel.

lock_channelLock channelA

Lock a channel by denying everyone the ability to send messages and start threads. Roles and members with their own permission to post on the channel keep it, so moderators set up that way keep access; the result names them. Reverse with unlock_channel, which puts back exactly what the lock changed.

Inputs: channel (required), guild, reason.

pin_messagePin messageA

Pin a message in a channel. Needs the Pin Messages permission (split from Manage Messages in 2026). Channels hold at most 50 pins.

Inputs: channel (required), message_id (required), guild, reason.

plan_server_buildPlan server buildA
Read-only

Validate a blueprint against the live server and stage an ordered build plan. Checks Discord limits, name collisions, role references, feature requirements, and the bot's permissions, and reports every problem at once. Changes nothing on Discord. Use it for any multi-step structure, even a small one: the plan shows the user every step before anything happens. By default existing channels and roles with matching names are reused as they are. With update_existing, existing items are changed to match the blueprint too: renames (items carrying an id from export_server_blueprint), permissions, colors, topics, slowmode, category moves, and who can see or post. An item changes only the settings it lists; list one empty to clear it. To delete roles, categories, or channels, list them in remove; leaving something out of a blueprint never deletes it. Each change shows before and after, each deletion what it loses, with risks flagged. A plan that changes or deletes runs only by its plan_id, exactly as shown, or not at all.

Inputs: blueprint (required), guild, remove, update_existing.

prune_membersPrune membersA
Destructive

Remove members inactive for a number of days who hold no roles. Needs Kick Members and Manage Server, or Administrator where the owner has made pruning admin-only. Safe to call directly: the first call counts who would go using Discord's own preview and returns a confirm_token; repeating the call with the token prunes for real.

Inputs: days (required), guild, reason, dry_run, +1 more.

read_messagesRead messagesA
Read-only

Recent messages from a channel as a digest: author, time, content, attachments, reactions, and resolved reply references. Returns oldest first. Use next_before to page further back. To look at a message's pictures, use get_message with include_images.

Inputs: channel (required), guild, limit, before.

register_app_commandRegister app commandA

Register a slash command, or update it in place if the name is already taken. Pass a guild while iterating: guild commands appear immediately, while global commands can take up to an hour to show up everywhere and are rate limited per day. Subcommands and subcommand groups are not supported here.

Inputs: name (required), description (required), bot, guild, +1 more.

remove_reactionRemove reactionA

Remove a reaction: the bot's own by default, or another user's (which needs Manage Messages).

Inputs: emoji (required), channel (required), message_id (required), user, +1 more.

remove_roleRemove roleA

Take a role away from a member. Preflights the bot's role hierarchy so a failure is an explanation, not a 403. Usually done at once. A role can also hold someone back (one that hides channels from whoever has it, such as a quarantine role); taking that away lets them in, so it needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: role (required), member (required), guild, reason, +2 more.

remove_thread_memberRemove thread memberA

Remove a member from a thread. Needs Manage Threads.

Inputs: member (required), thread (required), guild.

remove_timeoutRemove timeoutA

Lift an active timeout from a member early. It puts someone a moderator silenced back in the conversation, so it needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. A member who is not timed out is left alone, with nothing to confirm.

Inputs: member (required), guild, reason, confirm_token.

reorder_channelsReorder channelsB

Move channels to new positions, and optionally into a different category, in one call.

Inputs: moves (required), guild.

reorder_rolesReorder rolesA

Move roles to new hierarchy positions in one call. Higher positions sit higher in the list and outrank lower ones. Moving a role that can ban, kick, time out, rename, or change roles above a role it was below lets its holders do that to the people with the other role, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: moves (required), guild, confirm_token.

reply_to_forum_postReply to forum postB

Add a reply inside a forum post: text, embeds, or both.

Inputs: post (required), guild, embeds, content.

run_setup_checkRun setup checkA
Read-only

End-to-end health check of the discord-mcp setup: token presence and validity, privileged gateway intent toggles, Discord's growth thresholds (App Verification by servers, intent review by users), default guild membership, whether this install runs from npm's temporary npx cache, how destructive actions get confirmed in this app, and leftovers from before the 2.0 rename. Every failed check comes with instructions for fixing it. With more than one bot configured, pass bot to check a specific one. Run this first when anything misbehaves.

Inputs: bot.

save_blueprintSave blueprintA

Save a blueprint to the local store for reuse: apply it to other servers with execute_build_plan or track drift with diff_blueprint. Names are unique.

Inputs: name (required), blueprint (required), description.

schedule_messageSchedule messageA

Post a text message to a channel at a later time, once or on a daily or weekly repeat. This sends an ordinary message; for a community event members can RSVP to, use create_event. This server sends it when the time comes. One limit worth knowing: delivery needs this server to be running at that moment, so always-on scheduling wants the hosted or Docker deployment rather than a laptop that sleeps. A message that came due during downtime is sent at the next start.

Inputs: channel (required), content (required), send_at (required), guild, +1 more.

search_membersSearch membersA
Read-only

Find specific members by a name fragment, or list those holding a given role. For the whole roster use list_members; for one member's full profile use get_member; to turn a fuzzy name into an id use find. Name search uses Discord's member search; role filtering walks the member list and reports if it hit the paging cap.

Inputs: role, guild, limit, query.

search_messagesSearch messagesA
Read-only

Search the server's message history through Discord's native search index. Covers every channel the bot can read, or one channel if you name it, and looks inside embeds and polls, not just plain text. Matching is whole-word full text, not substring, so search for words rather than fragments. Filter by author, by what a message carries (image, link, file, and so on), or by pinned state, and order by newest first or by relevance.

Inputs: has, sort, guild, limit, +5 more.

send_dmSend direct messageA

Send a direct message from the bot to a member who shares a server with it. Fails gracefully when the recipient has DMs closed. The message comes from the bot, never from a user account.

Inputs: user (required), content (required), guild.

send_messageSend messageA

Send a message to a channel, optionally as a reply, with embeds, or as a Components V2 layout of text, sections, image galleries, separators and link buttons inside colored containers, and with up to 10 files fetched from public URLs. Components replace content and embeds rather than joining them, and the choice is permanent for that message; in a layout, a file shows only where a gallery or thumbnail points at it as attachment://. For a private message to one person use send_dm; to post under a custom name and avatar use send_webhook_message; to send later use schedule_message. Mentions are suppressed by default; raise the mentions mode only deliberately. Supports dry_run.

Inputs: channel (required), files, guild, embeds, +6 more.

send_webhook_messageSend webhook messageA

Post through a webhook with an optional display name and avatar override, and up to 10 files fetched from public URLs. Mentions are suppressed.

Inputs: webhook (required), files, guild, embeds, +3 more.

set_bot_presenceSet bot presenceB

Change the bot's status dot and custom status text. Needs the gateway connection this server keeps by default.

Inputs: status (required), activity_text.

set_channel_permissionsSet channel permissionsA

Set a permission overwrite on a channel for one role or member: which permissions are explicitly allowed and which are denied. It replaces that role's or member's whole overwrite on the channel, so list every permission it should keep, not only the new one; get_channel_permissions shows the current one. Permission names like manage_messages or send_messages. On a category, Discord also makes the same change in every channel inside whose permissions match the category's exactly (synced), as the Discord app does; the result names them. To keep such a channel as it is, change that channel first, which stops it matching. get_channel_permissions says whether a channel is synced. A change that would let someone see a channel they cannot see now, or give them moderator or admin powers (such as banning, kicking, or timing out members, deleting other people's messages, or managing the server, roles, or channels) there, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: target (required), channel (required), deny, allow, +2 more.

set_incident_actionsPause invites and DMsA

Discord's raid-defense security actions for the whole server. Pause new invites, and pause DMs between members who are not friends, each for up to 24 hours, to lock the server down during a raid. Give a number of hours to pause, 0 to lift a pause, or omit a field to leave it unchanged. Called with neither field, it reports the current state, including any raid or DM spam Discord detected on its own. Pausing, or pausing for longer, happens at once. Lifting a pause that is running, or ending it sooner, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: dms, guild, invites, confirm_token.

set_voice_channel_statusSet voice channel statusA

Set the short status line shown on a voice channel, a note about what is happening in it right now, up to 500 characters. Pass an empty status to clear it. This is the live status, not the topic. Needs Set Voice Channel Status, Manage Channels, and Connect in that channel.

Inputs: status (required), channel (required), guild.

start_stageStart stageA

Open a live stage on a stage channel with a topic. Members can then be invited to speak.

Inputs: topic (required), channel (required), guild, notify.

subscribe_eventsSubscribe to eventsA

Watch one server live: start recording real-time activity as it happens (messages, joins and leaves, reactions, channel and role changes, bans, voice movement) into a buffer you then read with get_recent_events. Only the named server's events are recorded (the default server when none is named). Use this to observe what is going on now. It is not for scheduled community events (create_event) or timed messages (schedule_message). Available types: message_created, message_deleted, member_joined, member_left, reaction_added, reaction_removed, channel_created, channel_deleted, role_created, role_updated, role_deleted, ban_added, ban_removed, voice_state_changed.

Inputs: types (required), guild, channel, include_bots.

sync_server_templateSync server templateB

Update a template to match the server's current structure.

Inputs: code (required), guild.

timeout_memberTimeout memberA
Destructive

Time a member out so they cannot talk, react, or join voice, for up to 28 days. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token applies the timeout. Relay the preview for the user's go-ahead. The reason lands in the audit log.

Inputs: member (required), duration_minutes (required), guild, reason, +2 more.

unban_memberUnban memberA

Lift a ban so the user can rejoin with an invite. The first call changes nothing and returns a preview (who it is and why they were banned) and a confirm_token; repeating the call with the token lifts the ban.

Inputs: user_id (required), guild, reason, confirm_token.

undo_changeUndo changeA
Destructive

Undo changes made through discord-mcp, from their records: builds, and any single create, edit, or delete of a channel or role, permission edit, role given or taken, server settings edit. Use this rather than redoing things by hand: it has an exact copy of what was there. It deletes what a change created, puts back what it changed, and recreates what it deleted. A setting goes back only if it still holds the value the change set; anything changed since stays and is reported. Recreated items get new ids, and a deleted channel's messages cannot come back. Pass change_id for one change, since (a time) to undo every change made from then on, such as everything today, or change_ids for several; they are undone newest first. With none, the latest change not yet undone. The first call changes nothing and returns every step plus a confirm_token; repeat with the token to run it. If a step fails (a rate limit, say), calling it again finishes the rest.

Inputs: guild, since, dry_run, change_id, +2 more.

unlock_channelUnlock channelA

Reverse lock_channel: lift the denials the lock added and put back what it took off, leaving alone anything that was denied before the lock. A channel that was read-only before it was locked stays read-only. On a channel no lock is on record for, it would remove everyone's denial on sending, which may be there on purpose, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: channel (required), guild, reason, confirm_token.

unpin_messageUnpin messageB

Unpin a message. The message itself is untouched.

Inputs: channel (required), message_id (required), guild, reason.

unsubscribe_eventsUnsubscribe from eventsB

Stop recording and discard a subscription's buffer.

Inputs: subscription_id (required).

update_app_commandUpdate app commandA

Change a registered command's description or options. Anything not passed is left as it is. Replacing options replaces the whole list, so send every option you want to keep.

Inputs: command (required), bot, guild, options, +1 more.

update_automod_ruleUpdate AutoMod ruleA

Rename a rule, enable or disable it, or replace its keyword list. Turning a rule off, or a new list that leaves out keywords the rule has now, stops it catching what it caught, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Renaming, turning a rule on, and adding keywords happen at once.

Inputs: rule (required), name, guild, enabled, +2 more.

update_bot_profileUpdate bot profileA

Change how the bot looks. In one server (the default): its nickname, avatar, banner, and bio there, shown only in that server, so one bot can look different in each community. Everywhere (scope everywhere): its username, avatar, and banner, for every server it is in. Images come from public URLs; none removes a server-only one, so the global one shows again. A replaced avatar or banner is saved to the data folder first, since Discord does not keep it. Discord limits username changes to about two an hour.

Inputs: bio, bot, guild, scope, +5 more.

update_channelUpdate channelA

Edit a channel's name, topic, slowmode, NSFW flag, or category, a voice channel's bitrate, user limit, region, and video quality, how long its threads stay open, and a forum's default reaction, sort, layout, post slowmode, and whether posts need a tag. Only passed fields change. Pass category "none" to move a channel out of its category. Supports dry_run.

Inputs: channel (required), name, nsfw, guild, +14 more.

update_emojiUpdate emojiC

Rename a custom emoji.

Inputs: name (required), emoji (required), guild.

update_eventUpdate eventA

Edit a scheduled event's details, or move it through its lifecycle: status start makes it live, status end completes it. An ended event cannot be started again, so ending one needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Everything else happens at once.

Inputs: event (required), name, guild, status, +5 more.

update_forum_postUpdate forum postA

Edit a post's title or tags, pin or unpin it within the forum, lock or unlock replies, or archive it.

Inputs: post (required), tags, guild, title, +3 more.

update_forum_tagUpdate forum tagB

Rename a forum tag or change its moderated flag.

Inputs: tag (required), forum (required), name, guild, +1 more.

update_memberUpdate memberA

Edit a member's nickname or voice state. Voice changes (server mute, server deafen, move to another voice channel) only apply while the member is connected to voice. Role changes go through assign_role and remove_role. Moving someone into a voice channel they cannot join themselves lets them hear it, and lifting a server mute or deafen undoes what a moderator did, so those need confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Everything else, muting and deafening included, happens at once.

Inputs: member (required), guild, reason, nickname, +4 more.

update_onboardingUpdate onboardingA

Configure the new-member onboarding flow on a Community server: prompts with options that grant channels and roles, the default channels every member sees, and the enabled state. Discord's app asks for at least seven default channels when configuring this by hand; the API has been observed to accept fewer. Members pick these options themselves, so offering a role that gives moderator or admin powers, or opens channels hidden from everyone, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token saves it.

Inputs: mode, guild, enabled, prompts, +2 more.

update_roleUpdate roleA

Edit a role's name, color (solid, gradient, or holographic), icon, hoist, mentionable flag, or permissions. Passing preset and/or permissions replaces the role's permission set with the named bundle plus listed names. Only passed fields change. Supports dry_run. A permission change that would give the role moderator or admin powers (such as banning, kicking, or timing out members, deleting other people's messages, or managing the server, roles, or channels), or let it see channels it cannot see now, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.

Inputs: role (required), name, color, guild, +10 more.

update_serverUpdate serverA

Edit server settings: name, description, icon, banner, invite background, AFK behavior, system and rules channels, verification level, explicit media filter, and default notifications. Images come from public URLs. Only passed fields change. Descriptions need a Community server; the banner and invite background need boosts. A lower verification level, a weaker media filter, or turning Community off lowers the server's protection, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Raising them, and every other setting, happens at once.

Inputs: name, guild, dry_run, icon_url, +14 more.

update_server_widgetUpdate server widgetA

Enable or disable the widget, or point its invite channel. An enabled widget shows the server's name, who is online, and its voice channels to anyone on the web, and with an invite channel it lets anyone join. So turning it on, or pointing it at an invite channel while it is on, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Turning it off or clearing the channel happens at once.

Inputs: guild, channel, enabled, confirm_token.

update_soundboard_soundUpdate soundboard soundC

Rename a soundboard sound or change its volume.

Inputs: sound (required), name, guild, volume.

update_stageUpdate stageC

Change the topic of a live stage.

Inputs: topic (required), channel (required), guild.

update_stickerUpdate stickerC

Rename a sticker or change its description and tags.

Inputs: sticker (required), name, tags, guild, +1 more.

update_threadUpdate threadB

Rename a thread, archive or unarchive it, lock or unlock it, or change its slowmode and auto-archive window.

Inputs: thread (required), name, guild, locked, +3 more.

update_webhookUpdate webhookC

Rename a webhook, change its avatar, or move it to another channel.

Inputs: webhook (required), name, guild, channel, +1 more.

update_welcome_screenUpdate welcome screenC

Edit the Community welcome screen: the description and up to five channel cards.

Inputs: guild, enabled, channels, description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 164 tools

    Disambiguation2/5

    The 164-tool surface contains many overlapping areas: member lookup is split across get_member, search_members, list_members, and find; message reading across read_messages, get_message, search_messages, and catch_up; and permission inspection across get_member_permissions, get_channel_permissions, explain_permissions, get_channel_access, get_member_access, and audit_server_security. The descriptions are detailed and often explain when to prefer another tool, but the sheer number of adjacent tools makes selection error-prone.

    Naming Consistency4/5

    Names are overwhelmingly consistent snake_case verb_noun patterns such as create_channel, update_role, delete_webhook, and list_events. A few outliers like find and catch_up are less structurally explicit, but the overall convention is predictable.

    Tool Count1/5

    With 164 tools, this is far beyond a well-scoped MCP toolset and creates a very large surface for an agent to navigate. Even for a broad domain like Discord server management, the count is extreme and likely to overwhelm tool selection.

    Completeness5/5

    Coverage is exceptionally broad: channels, roles, members, messages, threads, forums, webhooks, emojis, stickers, soundboard, events, AutoMod, invites, permissions, templates, blueprints, audit logs, and onboarding all have lifecycle operations. There are no obvious CRUD gaps for the stated Discord management purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Provides comprehensive administrative control over Discord communities through 128 operations covering moderation, messaging, and channel management. It enables AI assistants to manage server roles, events, and automations via the Model Context Protocol.
      3
      36
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Control your Discord server with AI. Lets you manage channels, roles, members, messages, and more through natural language.
      190 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables managing a Discord server using natural language through AI clients like Claude, with 139 admin tools across 20 categories for roles, channels, members, messages, threads, moderation, and more.
      196 npm
      44
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to manage a Discord server, including creating channels, categories, roles, setting permissions, and assigning roles through natural language commands.
      -