Full Discord server management from AI — messages, channels, roles, moderation, events, webhooks, and voice channels.
discord-mcp is a Java-based MCP server built on JDA (Java Discord API) that gives AI assistants full control over Discord servers. It exposes 44+ tools covering messaging, channel management, role administration, moderation (kick/ban/timeout), voice channels, scheduled events, webhooks, and emoji management. Supports Docker deployment with both HTTP and stdio transport.
In context_servers hinzufügen. Zed lädt beim Speichern neu.
claude mcp add discord-mcp-2 -- TODO 'See README: https://github.com/SaseQ/discord-mcp'
Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.
Anwendungsfälle
Praxisnahe Nutzung: discord-mcp
How to automate Discord server moderation with discord-mcp
👤 Discord server moderators and community managers⏱ ~10 minbeginner
Wann einsetzen: You want to perform bulk moderation actions or set up automated responses.
Voraussetzungen
Discord bot token — Create a bot at discord.com/developers and invite it to your server with appropriate permissions
Ablauf
Review recent activity
Show me the last 50 messages in #general. Flag any that contain spam links or rule violations.✓ Kopiert
→ Message list with flagged items highlighted
Take moderation action
Delete the flagged messages and timeout the users who posted them for 24 hours.✓ Kopiert
→ Confirmation of deletions and timeouts applied
Ergebnis: Spam cleaned up and violators timed out in one operation.
Fallstricke
Bot lacks required permissions — Ensure the bot role has Manage Messages, Moderate Members, and other needed permissions
Set up event channels and scheduled events for your community
👤 Community organizers running Discord-based events⏱ ~15 minintermediate
Wann einsetzen: You need to create channels, roles, and scheduled events for a community meetup or tournament.
Voraussetzungen
Discord bot with Manage Channels and Manage Events permissions — Set up via discord.com/developers
Ablauf
Create event infrastructure
Create a new category called 'Game Night March 2025' with text channels #announcements, #general-chat, and #voice-lobby. Also create a voice channel.✓ Kopiert
→ Channels created with confirmations
Schedule the event
Create a scheduled event for 'Game Night' this Saturday at 8pm EST in the voice-lobby channel. Description: 'Weekly game night! Join us for Among Us and Jackbox.'✓ Kopiert
→ Scheduled event created with link
Create a role for participants
Create a 'Game Night Crew' role with a green color and assign it to @user1, @user2, and @user3.✓ Kopiert
→ Role created and assigned
Ergebnis: Complete event setup with channels, scheduled event, and participant roles.
Fallstricke
Channel permission overwrites are complex — Set permissions at the category level and let channels inherit them