discord-admin-mcp
Provides tools for managing Discord servers, including channels, roles, members, messages, and moderation actions.
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-admin-mcpAssign the Moderator role to @TechSupport"
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 Admin MCP
A Model Context Protocol (MCP) server that empowers your AI assistants with full administrative control over your Discord server. It acts as a bridge between LLMs (like Claude) and the Discord API, allowing you to manage roles, channels, members, messages, and security configurations autonomously or via natural language commands.
✨ Features
Server Insights: Instantly retrieve server stats, member counts, and general configuration data.
Channel Management: Create, delete, edit, clone, and reorganize text and voice channels, including categories.
Role Administration: Create, assign, remove, and manage roles dynamically. Set precise permissions and hoist settings.
Moderation Tools: Kick, ban, timeout, server mute, server deafen, and fetch detailed member info.
Advanced Automation: Easily extensible to add permanent event listeners (e.g., AFK channel auto-muting, welcome messages).
Secure by Default: Connects safely via standard MCP
stdiotransport.
Related MCP server: @striderlabs/mcp-discord
🛠️ Requirements
Node.js (v18+)
A Discord Account
A Discord Developer Application
📥 Installation
Clone the repository and install the dependencies:
git clone https://github.com/YOUR_GITHUB_USERNAME/discord-admin-mcp.git
cd discord-admin-mcp
npm install⚙️ Configuration
Before running the server, you must provide it with your Discord Bot Token and Server (Guild) ID.
1. Create a Discord Application
Go to the Discord Developer Portal.
Click New Application and give it a name (e.g., "MCP Admin").
2. Create the Bot & Get the Token
In your application, navigate to the Bot tab on the left menu.
Under Privileged Gateway Intents, enable ALL intents (Presence, Server Members, Message Content).
Click Reset Token and copy the new Bot Token.
3. Get the Application & Guild IDs
Navigate to the OAuth2 > General tab to copy your Client ID (Application ID).
To get your Guild ID (Server ID), open Discord, go to Advanced Settings, enable Developer Mode, then right-click your Server icon and select Copy Server ID.
4. Setup .env
Rename the provided .env.example file to .env and paste your copied values:
DISCORD_TOKEN=your_bot_token_here
GUILD_ID=your_server_id_here
CLIENT_ID=your_client_id_here5. Invite the Bot to Your Server
Generate an invite link by replacing YOUR_CLIENT_ID in the following URL with your actual Client ID:
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&integration_type=0&scope=bot
(This link requests Administrator permissions to ensure the bot can fully manage the server).
🚀 Usage
Once configured, build and start the server:
npm run build
npm startThe server will connect to Discord and start listening for MCP requests on stdio!
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with Discord platforms, providing functionalities like sending messages, managing channels, creating forum posts, and handling webhooks.Last updated219201MIT
- Alicense-qualityDmaintenanceAn MCP server for Discord that enables AI assistants to interact with Discord servers, channels, and messages via the Discord API.Last updated19MIT
- Alicense-qualityCmaintenanceA Dockerized MCP server that enables Discord integration, offering tools for role management, messaging, moderation, and server administration via natural language.Last updated1MIT
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with the Discord platform, providing features like message sending, channel management, forum operations, reactions, and webhook management.Last updated22920MIT
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/kfus/discord-admin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server