DiscordMCP
Allows an AI assistant to inspect and manage a Discord server, including organizing channels and roles, performing moderation tasks, and generating plans for larger changes before applying them.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DiscordMCP
What This Is
DiscordMCP is a helper for looking after a Discord server. It lets an AI assistant check your server, help organize channels and roles, and handle a few moderation tasks. For bigger changes, it can show you a plan before applying it.
The bot does not have an AI model of its own. Your MCP client talks to it and decides what to ask it to do.
Related MCP server: discord-admin-mcp
Want your AI assistant to help with setup?
You don't have to figure out every setup step yourself. If you're using an AI coding or desktop assistant that can work with local files and applications, you can ask it:
“Set up DiscordMCP for me and walk me through anything that requires my input.”
Your assistant can help install dependencies, build the project, configure the MCP connection, and verify that it is working.
When Discord requires you to create a bot or provide a bot token, follow the assistant's instructions and enter the token into the .env file yourself. Never paste your bot token into a public chat, repository, or source file.
The assistant should also help you choose the Discord permissions you actually want to grant rather than automatically giving the bot more access than necessary.
For users who prefer manual setup, the steps below provide the complete process.
How to Set Up
Create a bot in the Discord Developer Portal and invite it to your server. Give it the permissions needed for the jobs you want it to do, and put its role above any roles it needs to manage. Enable Server Members Intent if you want to list members.
Install Node.js, then run
npm ciandnpm run buildin this folder.Copy
.env.exampleto.env. Add your bot token asDISCORD_BOT_TOKEN. Keep this file private.Add this as a local MCP server in your AI client:
node --env-file=.env dist/main.js --stdio. Run it from this folder so it can find.envand its data directory.
If you want to use the local HTTP service instead, set a random CONTROL_API_TOKEN of at least 24 characters in .env and run node --env-file=.env dist/main.js. It listens on your computer at 127.0.0.1:8787 by default.
AI Disclaimer
AI assistants can make mistakes. Read plans carefully before applying changes, especially when removing channels, roles, or members. Give the bot only the permissions you are comfortable with, and never share your bot token or .env file.
MIT License
DiscordMCP is available under the MIT License. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
- Discortics - Discord BotDeprecatedcom.discortics
Set up and manage your Discord server from MCP: channels, roles, verification, tickets and security.
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for Discord that enables AI assistants to interact with Discord servers, channels, and messages via the Discord API.6MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to manage Discord servers, including roles, channels, members, messages, and moderation, via natural language commands.1MIT
- AlicenseBqualityCmaintenanceA local MCP server that lets AI clients control a Discord bot via Discord's REST API, offering messaging, administration, and moderation tools. Includes safety features such as guild scoping, allowlists, and opt-in write permissions.20MIT
- AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants provision Discord servers (guilds, categories, channels, roles, permissions) from declarative blueprints via the Discord REST API, with idempotent diff-based planning and no deletions.15MIT