DiscordMCP
Provides tools for interacting with Discord via a user token, enabling reading channels, sending messages, editing/deleting messages, managing reactions, DMs, server/channel listing, user info, search, and status changes.
Click on "Deploy 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., "@DiscordMCPRead the last 20 messages in channel 123456789"
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.
DiscordMCP
MCP-сервер, который даёт Claude и другим ИИ доступ к твоему Discord: читать каналы, писать сообщения, работать с личками, реакциями и т.д. Работает через user-токен (self-bot) с помощью discord.js-selfbot-v13.
⚠️ Осторожно. Использование self-bot нарушает Discord ToS. Discord может забанить аккаунт. Используй на свой страх и риск, лучше на второстепенном аккаунте. Никому не показывай свой токен — он даёт полный контроль над аккаунтом.
Что умеет
Инструмент | Что делает |
| показывает залогиненный аккаунт |
| список всех серверов |
| инфа о сервере |
| текстовые каналы сервера |
| читает последние N сообщений в канале |
| отправляет сообщение (можно как reply) |
| редактирует своё сообщение |
| удаляет сообщение |
| список открытых личек и групп |
| открывает личку с юзером по ID |
| инфа о юзере |
| ищет подстроку в последних сообщениях канала |
| ставит реакцию |
| меняет статус (online/idle/dnd/invisible) |
Related MCP server: Discord MCP Server
Установка
git clone https://github.com/Ernest1101/DiscordMCP.git
cd DiscordMCP
npm install
npm run buildПолучение user-токена
Открой Discord в браузере.
F12 → вкладка Network.
Обнови страницу, найди любой запрос к
discord.com/api/....В заголовках запроса скопируй значение
authorization— это и есть твой токен.
Никогда не публикуй этот токен и не давай его никому.
Настройка
Скопируй .env.example в .env и вставь токен:
DISCORD_TOKEN=твой_токен_сюдаПодключение к Claude Desktop
Открой конфиг Claude Desktop:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Добавь в mcpServers:
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["C:\\путь\\к\\DiscordMCP\\dist\\index.js"],
"env": {
"DISCORD_TOKEN": "твой_токен_сюда"
}
}
}
}Перезапусти Claude Desktop. В списке инструментов появится discord.
Подключение к Claude Code
claude mcp add discord -- node C:\путь\к\DiscordMCP\dist\index.jsТокен подхватится из .env в папке проекта, либо задай его через --env DISCORD_TOKEN=....
Подключение к другим ИИ (Cursor, Cline, любой MCP-клиент)
Сервер общается по stdio через стандарт MCP. Любой клиент, поддерживающий MCP, запускает его так же:
command: node
args: ["dist/index.js"]
env: DISCORD_TOKEN=...Разработка
npm run dev # tsc в watch-режиме
npm start # запуск собранной версииПримеры промптов для Claude
«Покажи список серверов»
«Прочитай последние 20 сообщений в канале 123456789»
«Отправь "привет" в канал 123456789»
«Найди в канале 123456789 все упоминания слова "deploy"»
«Открой личку с юзером 987654321 и отправь ему "тест"»
Лицензия
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and c
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
Messaging tools for AI agents: send messages, manage chats, groups and channels.
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Discord servers through a bot, supporting channel management, messaging, forum operations, reactions, and webhooks.22431 npmMIT
- 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.9 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Discord servers, including listing servers/channels, sending messages, and managing reaction-based opt-in campaigns.MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Discord through the REST API, supporting message reading and sending, channel and guild management, threads, pins, and reactions.17MIT