discord-mcp
The discord-mcp server enables AI clients to fully manage Discord servers through the Model Context Protocol (MCP), covering the following areas:
Server Management: List servers, get detailed server info, edit settings (name, icon, verification level, AFK channel, etc.), and view the audit log.
Channel Management: List, create, edit, and delete channels (text, voice, category, announcement, stage, forum); organize under categories.
Message Management: Send, read, edit, and delete messages; pin/unpin messages; add/remove reactions; list users who reacted; send via webhooks.
Role Management: List, create (with color, permissions, hoist, mentionable options), edit, and delete roles; assign/remove roles from members.
Member Management: List members, get member info, kick, ban, unban, timeout, list bans, move between voice channels, and server mute/deafen members.
Channel Permissions: List permission overwrites; set (allow/deny/reset) permissions for roles or members; remove overwrites entirely.
Thread Management: Create threads (from a message or standalone), list active/archived threads, and archive/unarchive threads.
Invite Management: Create invite links (with custom expiry/usage limits), list active invites, and delete/revoke invites.
Scheduled Events: Create (voice, stage, or external), list, and delete scheduled guild events.
Webhook Management: Create, list, and delete webhooks; send messages via webhook with custom username/avatar.
Emoji & Stickers: List, create, and delete custom emojis; list custom stickers.
Provides tools for managing Discord servers, including channels, messages, roles, members, permissions, threads, invites, events, webhooks, and emojis/stickers.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@discord-mcpcreate a text channel called dev-updates under the Engineering category"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
discord-mcp
An MCP server for managing Discord servers through any MCP-compatible AI client. Once connected, you just describe what you want:
You: create a channel called
dev-chatunder the Engineering category
You: make a role called Moderator that can kick and ban, then give it to @alex
You: post "deploy is live 🚀" in #announcements
You: make #staff-only private — hide it from @everyone but let the Staff role in
Your AI client talks to this server over MCP, which translates requests into real Discord API calls via discord.js.
What it can do
Area | Tools |
Servers |
|
Channels |
|
Messages |
|
Roles |
|
Members |
|
Channel permissions |
|
Threads |
|
Invites |
|
Scheduled events |
|
Webhooks |
|
Emoji & stickers |
|
Related MCP server: Discord MCP Server
Setup
1. Create the Discord bot
Go to the Discord Developer Portal → New Application, give it a name, Create.
Open the Bot tab → Reset Token → Copy. This is your
DISCORD_TOKEN.(Optional) To list members or read message text, scroll to Privileged Gateway Intents and enable Server Members Intent and Message Content Intent. You'll also set
DISCORD_PRIVILEGED_INTENTS=truelater. Skip this if you only need to create channels/roles and send messages.
2. Invite the bot to your server
In the Developer Portal → OAuth2 → URL Generator.
Under Scopes, check
bot.Under Bot Permissions, pick what you want it to do. For full management the simplest choice is Administrator.
Open the generated URL, choose your server, Authorize.
Important — role hierarchy: in Server Settings → Roles, drag the bot's role above the roles/members you want it to manage.
3. Install and build
Requires Node.js 18+ (20+ recommended).
git clone https://github.com/grooving6/discord-mcp.git
cd discord-mcp
npm install
npm run buildThen create your .env from the template and fill in the token:
4. Connect it to your MCP client
Option A — project config (recommended). This repo includes a .mcp.json.
Run your MCP client from this directory and it picks it up automatically.
Option B — global registration (Claude Code example). Use an absolute path to make the server available in any session:
claude mcp add discord -- node /absolute/path/to/discord-mcp/dist/index.jsMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/grooving6/discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server