Discord Mcp
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
Discord MCP is a Model Context Protocol (MCP) server designed for seamless integration of Discord bots with MCP-compatible applications like Claude Desktop.
To use Discord MCP, clone the repository from GitHub, build the project using Maven, and configure it with your Discord bot token. You can also install it automatically via Smithery.
- Integration with Discord API (JDA) for bot functionality - Message management tools for sending messages to channels and users - Easy setup and configuration for developers
- Creating interactive Discord bots that utilize AI capabilities.
- Managing messages and interactions within Discord channels.
- Integrating with applications like Claude Desktop for enhanced functionality.
Add to your AI client
Use these steps to connect Discord Mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"discord-mcp-saseq": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"discord-mcp-saseq": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"discord-mcp-saseq": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"discord-mcp-saseq": {
"type": "stdio",
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"discord-mcp-saseq": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"discord-mcp-saseq": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID",
"DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN"
}
}
}
}FAQ
What is the purpose of Discord MCP?
It allows developers to create Discord bots that can interact with MCP-compatible applications.
How do I get a Discord bot token?
You can obtain a Discord bot token by visiting the Discord Developer Portal.
Is there documentation available?
Yes, detailed examples and documentation can be found in the project's Wiki on GitHub.