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.
Click on "Deploy 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., "@DiscordMCPlist all channels and roles in my server"
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.
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: @striderlabs/mcp-discord
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLets any MCP-compatible AI client interact with Discord — send messages, manage channels, create webhooks, assign roles, and more.38 npm2MIT
- AlicenseAqualityDmaintenanceAn MCP server for Discord that enables AI assistants to interact with Discord servers, channels, and messages via the Discord API.615 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to manage Discord servers, including roles, channels, members, messages, and moderation, via natural language commands.1MIT
- AlicenseBqualityBmaintenanceA 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