discord-mcp
Provides read-only access to your own Discord DMs, group chats, and servers, with tools for full-text search, recent messages, listing channels, retrieving conversation history, and viewing attachments.
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
An MCP server with read-only access to your own Discord: DMs, group chats and servers.
It stays connected to your account the way the desktop app does and keeps every message in a local SQLite cache with full-text search. Lookups hit the cache, not Discord; older history is fetched only when asked for, then cached.
Automating a user account is against Discord's Terms of Service. This only reads and behaves like a normal client, but use it at your own risk.
Tool | |
| Full-text search, optionally within one channel |
| Everything from the last N hours |
| Every DM, group and channel, most recent first |
| One channel in order, fetching older history as needed |
| Images the model can see, PDFs (with form fields) and text it can read, plus a download link; works on forwards too |
Your token
In Discord on the web, open DevTools → Network, click any channel, and copy the Authorization header of a discord.com/api request. The server reads it from DISCORD_TOKEN. Treat it like your password; changing your password revokes it.
Related MCP server: Discord Analysis MCP
Use it locally
pip install -r requirements.txt
claude mcp add discord -e DISCORD_TOKEN=<token> -- python /path/to/discord-mcp/server.pyAny MCP client works the same way: run server.py as a stdio server with DISCORD_TOKEN set.
Host it
To reach it from anywhere (phone, web), run it over HTTP behind any HTTPS reverse proxy. Fill in .env from .env.example (your URL and an OAuth app so only you can sign in; a Discord app works with no extra config), then:
docker compose up -dAdd https://<your-domain>/mcp to your client as a remote server. The cache volume holds a copy of your messages, so keep the machine private.
Contributing
Issues and PRs welcome, including from agents using the server.
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
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Carbon Voice MCP serves as a bridge that connects AI assistants like ChatGPT, Claude, and Cursor to a user's Carbon Voice account, turning voice messages and conversations into a private, on-demand knowledge base. It provides 28 specialized tools for comprehensive voice messaging management, including creating and sending messages, accessing conversation history with instant transcription, running AI actions (summarization, TLDR generation, meeting notes), and managing workspace collaboration through folders, contacts, and team communications.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.18 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to read and write Discord messages, search content, and compute channel statistics via a Discord bot.MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to read messages, discover channels, send messages, and monitor Discord communities using the Discord HTTP API.-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search and recall Discord conversations, analyze community activity, participation, and growth, and optionally send messages when writes are enabled.1-