Discord Mod
БесплатноНе проверенEnables Discord server moderation actions including kick, ban, timeout, role management, channel operations, audit logs, and member management through MCP tools
Описание
Enables Discord server moderation actions including kick, ban, timeout, role management, channel operations, audit logs, and member management through MCP tools.
README
A lightweight Model Context Protocol server for Discord server moderation. Built with discord.js v14 and TypeScript.
Focused on what matters: kick, ban, timeout, roles, channels, audit logs, and member management. No bloat.
Setup
1. Create a Discord Bot
- Go to Discord Developer Portal
- Create a new application → Bot
- Under Privileged Gateway Intents, enable:
- Server Members Intent
- Message Content Intent
- Copy the bot token
2. Install
git clone https://github.com/YOUR_USERNAME/mcp-discord-mod.git
cd mcp-discord-mod
npm install
npm run build
3. Configure
Set your bot token as an environment variable:
export DISCORD_TOKEN="your_bot_token_here"
Or create a .env file:
DISCORD_TOKEN=your_bot_token_here
4. Add to your MCP client
Add to your MCP config (e.g. opencode.json, claude_desktop_config.json, etc.):
{
"discord-mod": {
"type": "local",
"command": ["node", "/path/to/mcp-discord-mod/build/index.js"],
"env": {
"DISCORD_TOKEN": "your_bot_token_here"
}
}
}
Tools
| Tool | Description |
|---|---|
discord_mod_login |
Login to Discord (auto-logins if DISCORD_TOKEN is set) |
discord_mod_kick_member |
Kick a member from a server |
discord_mod_ban_member |
Ban a member (optionally delete recent messages) |
discord_mod_unban_member |
Unban a user |
discord_mod_timeout_member |
Timeout (mute) a member for a duration |
discord_mod_warn_member |
Send a warning DM to a member |
discord_mod_list_bans |
List all banned users |
discord_mod_set_nickname |
Set or clear a member's nickname |
discord_mod_list_roles |
List all roles in a server |
discord_mod_create_role |
Create a new role |
discord_mod_edit_role |
Edit role properties |
discord_mod_delete_role |
Delete a role |
discord_mod_assign_role |
Assign a role to a member |
discord_mod_remove_role |
Remove a role from a member |
discord_mod_create_category |
Create a channel category |
discord_mod_create_channel |
Create a text or voice channel |
discord_mod_delete_channel |
Delete a channel |
discord_mod_edit_channel |
Edit channel name, topic, slowmode |
discord_mod_set_permissions |
Set role/user permissions on a channel |
discord_mod_remove_permissions |
Remove permission overrides |
discord_mod_list_members |
List server members |
discord_mod_get_member |
Get detailed member info |
discord_mod_list_servers |
List all bot servers |
discord_mod_get_server_info |
Get server details and channels |
discord_mod_get_audit_log |
View the server audit log |
discord_mod_send_dm |
Send a direct message to a user |
discord_mod_purge_messages |
Bulk delete messages with filters |
discord_mod_bulk_delete_messages |
Delete up to 100 messages by ID |
discord_mod_pin_message |
Pin a message |
discord_mod_unpin_message |
Unpin a message |
Bot Permissions
Your bot needs these permissions in the server:
- Kick Members
- Ban Members
- Moderate Members (for timeouts)
- Manage Roles
- Manage Channels
- View Audit Log
- Send Messages
- Read Message History
- Manage Messages (for purge)
License
MIT
Установка Discord Mod
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/berkal749/mcp-discord-modFAQ
Discord Mod MCP бесплатный?
Да, Discord Mod MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Discord Mod?
Нет, Discord Mod работает без API-ключей и переменных окружения.
Discord Mod — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Discord Mod в Claude Desktop, Claude Code или Cursor?
Открой Discord Mod на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Gmail
Read, send and search emails from Claude
автор: GoogleSlack
Send, search and summarize Slack messages
автор: 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)
Compare Discord Mod with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории communication
