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.
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.
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.3.0 · 43 operations · FastMCP 3.2 · Comms lane · Releases
Contents
Related MCP server: Discord MCP Server
Features
43 Discord operations in one portmanteau tool -- messaging, moderation, roles, webhooks, audit log, channel management (create/update/move, pins, threads), RAG
Fleet web dashboard -- servers catalog with global selection, channel tree, decoded audit log, servers, channels, messages, agentic chat, LanceDB search (ports 10756 / 10757)
Agentic workflow -- describe a goal; server uses sampling + tools (SEP-1577); model auto-resolves to an installed Ollama model
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 servers, then send "Fleet check-in OK" to channel
#generalin the first server.
Moderation assist
Show recent audit log entries for server
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 | |
Discord vs Slack, Reddit, Telegram, Teams | |
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
Server limit: Unverified bots can join 10 servers max. To raise the cap, verify your bot in Developer Portal → your application → Settings → Bot → Verification (requires description, screenshots, privacy policy). Once verified, the bot can join up to 100 servers.
How server owners add the bot: Send them the invite URL. They open it, select their server, choose which permissions to grant (or keep the defaults from the URL), and Authorise. The bot appears in their member list with a BOT tag.
What the bot can do depends on the permissions each server owner granted. The invite URL above requests Administrator (
permissions=8), which gives full access. But the server owner can reduce permissions during authorisation. With full Admin the bot can read/search/post messages, moderate, manage channels/roles/webhooks, and view audit logs. With limited permissions it can only do what was allowed. The permissions are per-server, so the bot may be admin in one server and read-only in another.
AI & LLM Policy on Discord
Discord allows bots to use LLMs for moderation, search, summaries, and community tools. Using discord-mcp (reading accessible messages, RAG search, LLM-generated responses in your own servers) is within Discord's permitted use.
Allowed:
Bots that use LLMs to process, summarize, search, or respond to messages
Auto-moderation, content review, and audit-log analysis via LLMs
RAG (vector search) over your own channel history
Agentic workflows that call tools and generate replies
Not allowed (can get your bot suspended):
Scraping user messages for external AI training data -- Discord prohibits crawling for model training
Impersonating users with AI-generated content mimicking real people
Spamming with LLM-generated flood messages (our rate limits prevent this)
Selling access to Discord data through AI services
Bottom line: LLM as a tool to serve your community = fine. Discord as a free training data source = not fine. discord-mcp is designed for the former -- all operations are scoped to channels the bot can see, with rate limits that prevent abuse.
Rate Limits & Anti-Spam
The server enforces two layers of rate limiting to prevent abuse and Discord API bans.
Server-Side Anti-Spam (configurable)
Limit | Default | Env Var |
Messages per minute (global) | 10 |
|
Messages per channel per minute | 3 |
|
Min interval between messages | 5s |
|
Channels created per minute | 5 |
|
Invites created per minute | 5 |
|
Max message length | 2000 |
|
These limits are checked before the request reaches Discord. If you hit one, the API returns a 429 with a message telling you which limit and how to override it.
Discord API Rate Limits (automatic retry)
Discord itself enforces per-route rate limits (HTTP 429 with retry_after). The server automatically retries up to 5 times with exponential backoff, respecting Discord's Retry-After header. If all retries are exhausted, a structured error is returned.
Fleet Crossconnects (Companions)
discord-mcp works completely standalone. You can optionally connect it with companion servers in the sandraschi fleet to unlock extended features:
Companion Server | Feature Unlocked | Status | Setup |
inbound-thread-triage, draft-approval-pipeline | Optional | ||
voice-tts-alerts, task-completion-readout | Optional | ||
fritz-bot-operator, voice-bus-bridge | Optional |
Self-Contained Companions: Fleet companions operate independently. Installing companions does not trigger transitive dependency chains.
Repository: github.com/sandraschi/discord-mcp
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
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
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
Build Discord communities with AI: roles, channels, modules, automations and reviewed announcements.
Let AI agents read your Discord community's analytics, members and tickets, and save drafts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Discord through the REST API and real-time events, supporting message management, user info, channel operations, and more with security controls.16 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.19 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to read messages, discover channels, send messages, and monitor Discord communities using the Discord HTTP API.-
- AlicenseNot gradedqualityBmaintenanceExposes the full Discord API to LLM agents so they can send and manage rich messages, channels, threads, members, roles, moderation, AutoMod, webhooks, and interactive components. Acts as a drop-in replacement for the legacy Java/Spring implementation, keeping all 75 original tools while adding embeds, polls, files, server configuration, and restart-safe role menus.66 npmMIT