Discord MCP
Provides comprehensive tools for interacting with Discord, including managing guilds, channels, and members, sending and fetching messages, and performing RAG (Retrieval-Augmented Generation) ingest and queries on server content.
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 MCPsummarize the recent discussions in the general channel"
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
Connect your Discord bot to MCP clients — list servers, send messages, moderate members, search message history with RAG, and run agentic workflows from Cursor or Claude Desktop.
v0.2.0 · 36 operations · FastMCP 3.2 · Comms lane · Releases
Contents
Related MCP server: Discord Notifications MCP Server
Features
36 Discord operations in one portmanteau tool — messaging, moderation, roles, webhooks, audit log, RAG
Fleet web dashboard — guilds, channels, messages, agentic chat, LanceDB search (ports 10756 / 10757)
Agentic workflow — describe a goal; server uses sampling + tools (SEP-1577)
Dual transport — stdio for IDE hosts, streamable HTTP at
/mcpfor remote clientsBuilt-in safety — anti-spam rate limits, Discord 429 auto-retry, bind localhost only
Bundled skills & prompts — moderation playbook, RAG workflow, ops guides
Quick start
git clone https://github.com/sandraschi/discord-mcp
cd discord-mcp
.\start.ps1Copy
.env.example→.envand setDISCORD_TOKEN(bot setup)Open dashboard http://127.0.0.1:10757 · API http://127.0.0.1:10756
Other install paths (just, Cursor, Claude Desktop, no-git): INSTALL.md
What you can do
List servers and post a message
List my Discord guilds, then send "Fleet check-in OK" to channel
#generalin the first server.
Moderation assist
Show recent audit log entries for guild
123456789and summarize ban/kick events from the last 24 hours.
Search ingested history
Ingest the last 50 messages from
#dev, then answer: what did we decide about the CI workflow?
Ports
Service | Port | URL |
Backend (REST + MCP | 10756 | |
Web dashboard | 10757 |
Documentation
Doc | Contents |
All install methods, prerequisites, verify steps | |
Bot token, env vars, sampling, rate limits | |
MCP tools, operations, prompts, skills | |
Dashboard pages and REST API overview | |
Cursor / Claude Desktop MCP wiring | |
Architecture, transports, Discord 429 behavior | |
Local dev, lint, test, CI | |
Common errors and fixes | |
Release notes |
Fleet central mirror: mcp-central-docs/projects/discord-mcp
Requirements
Windows (primary; fleet dev target) or macOS/Linux with Python 3.12+
uv for Python deps · Node 20+ for the webapp
Discord bot token — free at Discord Developer Portal
Optional: Ollama for local agentic sampling when the MCP host has no LLM
Repository: github.com/sandraschi/discord-mcp
This server cannot be installed
Maintenance
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/sandraschi/discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server