๐ Description
A Model Context Protocol (MCP) server for the Discord API (JDA), allowing seamless integration of Discord Bot with MCP-compatible applications like Claude Desktop.
๐ฌ Installation
Clone the repository
git clone https://github.com/SaseQ/discord-mcp
Build the project
cd discord-mcp
mvn clean package
Configure Claude Desktop
{
"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 get a discord bot token, visit the Discord Developer Portal
โ Smithery
Install Discord MCP Server automatically via Smithery:
npx -y @smithery/cli@latest install @SaseQ/discord-mcp --client claude
๐ ๏ธ Available Tools
Server Information
get_server_info
: Get detailed discord server information
Message Management
send_message
: Send a message to a specific channelread_message
: Read recent message history from a specific channelsend_private_message
: Send a private message to a specific userread_private_message
: Read recent message history from a specific user
Channel Management
find_text_channel
: Find a text channel (name or link) using an ID or name
A more detailed examples can be found in the Wiki.