Discord User
FreeNot checkedEnables interaction with Discord using personal user tokens instead of bot applications, allowing for seamless message management and server exploration. It pro
About
Enables interaction with Discord using personal user tokens instead of bot applications, allowing for seamless message management and server exploration. It provides tools for reading history, sending messages, and searching across channels and DMs directly through MCP-compatible clients.
README
Discord MCP server using user tokens. No bot setup, no Developer Portal, no intents — just your token and go.
Built for Claude Code and any MCP-compatible client.
Why user tokens?
Every other Discord MCP server requires creating a bot application, configuring intents, and inviting the bot to your server. This one uses your existing Discord session — the same access you already have in the app.
Trade-off: Using user tokens for automation is against Discord's ToS. This is a personal tool for your own account on your own machine. Use responsibly.
Setup
1. Get your Discord token
Your token is stored encrypted in the Discord app's local storage. You can find it by:
- Opening Discord in a browser → DevTools → Network tab → any request →
Authorizationheader - Or extracting it from the desktop app's LevelDB storage (macOS:
~/Library/Application Support/discord/Local Storage/leveldb/)
2. Add to Claude Code
claude mcp add discord -e DISCORD_TOKEN=your-token-here -- node /path/to/discord-user-mcp/dist/index.js
With a default server:
claude mcp add discord \
-e DISCORD_TOKEN=your-token-here \
-e DISCORD_DEFAULT_GUILD=your-server-id \
-- node /path/to/discord-user-mcp/dist/index.js
3. Build from source
git clone https://github.com/olivier-motium/discord-user-mcp.git
cd discord-user-mcp
npm install
npm run build
Tools (14)
Core
| Tool | Description |
|---|---|
discord_list_guilds |
List servers you're in |
discord_list_channels |
List channels grouped by category |
discord_read_messages |
Read channel history with pagination |
discord_send_message |
Send a message, optionally as a reply |
discord_search |
Search messages by content, author, channel, date, attachment type |
Essential
| Tool | Description |
|---|---|
discord_list_dms |
List DM conversations |
discord_send_dm |
Send a DM (by user ID or channel ID) |
discord_react |
Add emoji reaction to a message |
discord_pinned_messages |
Get pinned messages from a channel |
discord_list_threads |
List active threads in a server |
discord_guild_info |
Server details, roles, features |
Additional
| Tool | Description |
|---|---|
discord_edit_message |
Edit your own message |
discord_delete_message |
Delete your own message |
discord_user_info |
User profile with server roles |
Configuration
| Environment Variable | Required | Description |
|---|---|---|
DISCORD_TOKEN |
Yes | Your Discord user token |
DISCORD_DEFAULT_GUILD |
No | Default server ID — tools that need a guild will use this when not specified |
Design choices
- Plain text output — no raw JSON. Messages formatted as
[2024-01-15 14:32] alice: content. IDs always inline for tool chaining. - No discord.js — raw
fetchagainst Discord API v10. Zero runtime deps beyond MCP SDK. - Rate limit handling — automatic retry with
retry_after+ jitter, up to 3 attempts. - Search is the star — accepts usernames (resolved to IDs internally), date strings (
YYYY-MM-DDconverted to snowflakes), and all Discord search filters. - Conservative defaults — 25 messages per read, not 100. Keeps output manageable for AI.
License
MIT
Installing Discord User
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/olivier-motium/discord-user-mcpFAQ
Is Discord User MCP free?
Yes, Discord User MCP is free — one-click install via Unyly at no cost.
Does Discord User need an API key?
No, Discord User runs without API keys or environment variables.
Is Discord User hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Discord User in Claude Desktop, Claude Code or Cursor?
Open Discord User on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Discord User with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
