discord-mcp
Enables AI clients to manage Discord servers, including channels, messages, roles, members, permissions, threads, invites, events, webhooks, and emoji, through natural language commands.
README
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 | list_servers, get_server_info |
| Channels | list_channels, create_channel, edit_channel, delete_channel |
| Messages | send_message, send_embed, read_messages, edit_message, delete_message |
| Roles | list_roles, create_role, delete_role, assign_role, remove_role |
| Members | list_members, get_member, kick_member, ban_member, timeout_member |
| Channel permissions | list_channel_permissions, set_channel_permission, remove_channel_permission |
| Threads | create_thread, list_threads, archive_thread, unarchive_thread |
| Invites | create_invite, list_invites, delete_invite |
| Scheduled events | create_event, list_events, delete_event |
| Webhooks | create_webhook, list_webhooks, delete_webhook, send_webhook_message |
| Emoji & stickers | list_emojis, create_emoji, delete_emoji, list_stickers |
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 build
Then 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.js
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.