/ Verzeichnis / Playground / discord-mcp
● Community SaseQ ⚡ Sofort

discord-mcp

von SaseQ · SaseQ/discord-mcp

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.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

discord-mcp-2.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "discord-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/SaseQ/discord-mcp"
      ]
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "discord-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/SaseQ/discord-mcp"
      ]
    }
  }
}

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "discord-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/SaseQ/discord-mcp"
      ]
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "discord-mcp-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/SaseQ/discord-mcp"
      ]
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "discord-mcp-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/SaseQ/discord-mcp"
      ]
    }
  ]
}

Continue nutzt ein Array von Serverobjekten statt einer Map.

~/.config/zed/settings.json
{
  "context_servers": {
    "discord-mcp-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/SaseQ/discord-mcp"
        ]
      }
    }
  }
}

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 min beginner

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
  1. 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
  2. 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 min intermediate

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
  1. 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
  2. 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
  3. 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

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

discord-mcp-2 + github

Post GitHub PR notifications to a Discord channel automatically

Check for new merged PRs in our repo since yesterday and post a summary to #dev-updates on Discord.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
send_message channel_id: str, content: str Send a message to a Discord channel 1 Discord API call
read_messages channel_id: str, limit?: int Read message history from a channel 1 Discord API call
create_text_channel name: str, category_id?: str Create a new text channel 1 Discord API call
kick_member user_id: str, reason?: str Kick a member from the server 1 Discord API call
create_scheduled_event name, start_time, channel_id, description? Schedule a server event 1 Discord API call
create_role name: str, color?: str, permissions?: int Create a new role on the server 1 Discord API call

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
Discord bot rate limits apply (varies by endpoint, typically 5-50 req/s)
Tokens pro Aufruf
200–800 tokens per tool call
Kosten in €
Free — Discord bot API is free
Tipp
Batch read operations when possible. Use server_id env var to restrict to one server.

Sicherheit

Rechte, Secrets, Reichweite

Minimale Scopes: Bot token with required permissions
Credential-Speicherung: Bot token in environment variable. Never commit bot tokens to repos.
Datenabfluss: All calls go to Discord API (discord.com)
Niemals gewähren: Administrator permission to the bot unless absolutely necessary

Fehlerbehebung

Häufige Fehler und Lösungen

403 Missing Permissions

The bot lacks the required permission for this action. Check the bot's role permissions in Server Settings → Roles.

Prüfen: Review the bot's role permissions in Discord server settings
Unknown Channel / 404

The channel ID is incorrect or the bot doesn't have access to that channel. Verify the channel exists and the bot can see it.

Prüfen: List channels with channels_list tool first
Docker container can't connect

Ensure the DISCORD_TOKEN environment variable is set correctly in your docker-compose.yml or docker run command.

Prüfen: docker logs <container-name>

Alternativen

discord-mcp vs. andere

AlternativeWann stattdessenKompromiss
slack-mcp-serverYour team uses Slack instead of DiscordDifferent platform, similar feature coverage

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen