loading…
Search for a command to run...
loading…
Enables interaction with Discord using personal user tokens instead of bot applications, allowing for seamless message management and server exploration. It pro
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.
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.
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.
Your token is stored encrypted in the Discord app's local storage. You can find it by:
Authorization header~/Library/Application Support/discord/Local Storage/leveldb/)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
git clone https://github.com/olivier-motium/discord-user-mcp.git
cd discord-user-mcp
npm install
npm run build
| 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 |
| 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 |
| Tool | Description |
|---|---|
discord_edit_message |
Edit your own message |
discord_delete_message |
Delete your own message |
discord_user_info |
User profile with server roles |
| 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 |
[2024-01-15 14:32] alice: content. IDs always inline for tool chaining.fetch against Discord API v10. Zero runtime deps beyond MCP SDK.retry_after + jitter, up to 3 attempts.YYYY-MM-DD converted to snowflakes), and all Discord search filters.MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"discord-user-mcp": {
"command": "npx",
"args": []
}
}
}