Discord Mcp
@SaseQ
A MCP server for the Discord integration. Enable your AI assistants to seamlessly interact with Discord. Enhance your Discord experience with powerful automation capabilities.
Overview
What is Discord MCP?
Discord MCP is a Model Context Protocol server for the Discord API built with Java Discord API (JDA). It integrates Discord bots with MCP-compatible applications such as Claude and ChatGPT, enabling AI assistants to manage channels, send messages, and retrieve server information.
How to use Discord MCP?
Run the server via Docker (recommended) or by building the Java JAR manually. Set the DISCORD_TOKEN environment variable (required) and optionally DISCORD_GUILD_ID. Default MCP endpoint is http://localhost:8085/mcp. Connect your MCP client (e.g., Claude, Cursor, n8n) to that URL.
Key features of Discord MCP
- Manage Discord channels, categories, and their settings
- Send, edit, delete, and read messages with attachments
- Assign, edit, and remove roles on a server
- Perform moderation actions: kick, ban, timeout, nickname
- Create and manage webhooks and send webhook messages
- Support for voice and stage channel creation
- Read private messages and manage user DMs
- Get server info, banned users, and channel details
Use cases of Discord MCP
- Automate Discord moderation and user management via AI
- Build AI-powered chat bots that read and send Discord messages
- Integrate Discord server administration into LLM-based workflows
- Create and configure channels, categories, and roles programmatically
- Enable AI assistants to manage webhooks and private messages
FAQ from Discord MCP
What environment variables are required?
DISCORD_TOKEN is required. DISCORD_GUILD_ID is optional and sets a default server ID.
How do I install Discord MCP?
Docker installation is recommended. Run docker run -d -i --name discord-mcp ... saseq/discord-mcp:latest. Manual Java build is also available using Maven.
What transport protocols does Discord MCP support?
It supports HTTP (singleton mode, recommended) and legacy stdio mode.
Which AI applications can I connect to Discord MCP?
It works with any MCP-compatible application such as Claude, ChatGPT, Cursor, n8n, OpenClaw, and Codex CLI.
What is the default server endpoint?
The default MCP endpoint is http://localhost:8085/mcp (HTTP profile). Health check is available at /actuator/health.