The Discord MCP Server is a Model Context Protocol (MCP) server designed to integrate the Discord API (JDA) with MCP-compatible applications like Claude Desktop. This server enables seamless interaction between Discord and Claude Desktop, allowing users to manage messages, channels, and server information programmatically.
git clone https://github.com/SaseQ/discord-mcp
cd discord-mcp
mvn clean package
Add the following configuration to your Claude Desktop setup:
{
"mcpServers": {
"discord-mcp": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}
To obtain a Discord bot token, visit the Discord Developer Portal.
Install the Discord MCP Server automatically via Smithery:
npx -y @smithery/cli@latest install @SaseQ/discord-mcp --client claude
get_server_info
: Retrieve detailed information about a Discord server.send_message
: Send a message to a specific channel.read_message
: Read recent message history from a specific channel.send_private_message
: Send a private message to a specific user.read_private_message
: Read recent message history from a specific user.find_text_channel
: Locate a text channel by its ID or name.For more detailed examples, visit the Wiki.
This project is a Model Context Protocol (MCP) server tailored for Discord integration with MCP-compatible applications like Claude Desktop. It supports various tools for managing Discord servers, channels, and messages programmatically.