📖 Description
A Model Context Protocol (MCP) server for the Discord API using (JDA), designed to integrate Discord bots with MCP-compatible applications such as Claude, ChatGPT etc. It allows AI assistants to interact with Discord by managing channels, sending messages, and retrieving server information. Ideal for building powerful Discord automation and AI-driven workflows.
🔬 Installation
► 🐳 Docker Installation (Recommended)
[!NOTE] Docker installation is required. Full instructions can be found on docker.com.
1) Set local env variables
export DISCORD_TOKEN="YOUR_DISCORD_BOT_TOKEN"
export DISCORD_GUILD_ID="OPTIONAL_DEFAULT_SERVER_ID"
export SPRING_PROFILES_ACTIVE=http[!IMPORTANT] Instructions for creating a Discord bot and retrieving its token can be found here.
[!TIP] The
DISCORD_GUILD_IDenv variable is optional.When provided, it sets a default Discord server ID so any tool that accepts a
guildIdparameter can omit it.
2) Run the Docker container
docker run -d -i \
--name discord-mcp \
--restart unless-stopped \
-p 8085:8085 \
-e SPRING_PROFILES_ACTIVE \
-e DISCORD_TOKEN \
-e DISCORD_GUILD_ID \
saseq/discord-mcp:latest





