Discord MCP

v1.0.0β€’Communicationβ€’stable

πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - Lightweight multi-guild Discord MCP server with 60+ tools for messages, channels, rol

aiclaudediscorddiscord-botjava
Share:
315
Stars
0
Downloads
0
Weekly
0/5

What is Discord MCP?

Discord MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - lightweight multi-guild discord mcp server with 60+ tools for messages, channels, rol

πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - Lightweight multi-guild Discord MCP server with 60+ tools for messages, channels, rol

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • discord_send_message
  • discord_edit_message
  • discord_delete_message
  • discord_add_reaction
  • discord_remove_reaction

Use Cases

Discord integration
Chat and notifications
SaseQ

Maintainer

LicenseMIT License
Languagejava
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y discord

Manual Installation

npx -y discord

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Discord MCP

Discord MCP is a lightweight multi-guild Discord integration that exposes over 60 tools for managing messages, channels, roles, webhooks, voice channels, moderation, and server events through the Model Context Protocol. Built as a Spring Boot Java application, it connects to the Discord API using a bot token and surfaces comprehensive guild management capabilities to any MCP-compatible AI client. Developers and community managers use it to automate Discord workflows, send notifications, moderate servers, and orchestrate multi-guild operations directly from their AI assistant.

Prerequisites

  • Docker Desktop installed (recommended deployment method) or a JVM runtime for manual setup
  • A Discord bot token β€” create a bot at https://discord.com/developers/applications and copy its token
  • The bot must be invited to your Discord server(s) with appropriate permissions (Send Messages, Manage Channels, Manage Roles, etc.)
  • An MCP-compatible client such as Claude Desktop, Cursor, or n8n
  • The bot's Guild ID (Server ID) for default server targeting (optional but recommended)
1

Create a Discord bot and obtain a token

Navigate to https://discord.com/developers/applications, create a new application, add a Bot, and copy the token. Under OAuth2 scopes, select 'bot' and grant the permissions your use case requires. Use the generated URL to invite the bot to your server.

2

Start the server with Docker

Run the official Docker image, passing your Discord bot token and optionally your guild ID. The server will start on port 8085 and expose the MCP endpoint at /mcp.

docker run -d -i --name discord-mcp --restart unless-stopped \
  -p 8085:8085 \
  -e SPRING_PROFILES_ACTIVE=http \
  -e DISCORD_TOKEN=your_bot_token_here \
  -e DISCORD_GUILD_ID=your_guild_id_here \
  saseq/discord-mcp:latest
3

Verify the server is running

Check that the MCP endpoint is accessible by making a simple HTTP request to the server.

curl http://localhost:8085/mcp
4

Add the server to your MCP client

For Claude Desktop, add the discord-mcp entry to your claude_desktop_config.json. The server uses HTTP transport, so no command/args are needed β€” just the URL.

{
  "mcpServers": {
    "discord-mcp": {
      "url": "http://localhost:8085/mcp"
    }
  }
}
5

Add via Claude Code CLI (alternative)

If you use Claude Code, register the server with a single command instead of editing config files manually.

claude mcp add discord-mcp --transport http http://localhost:8085/mcp
6

Test by sending a message

With the server registered, ask your AI assistant to send a test message to a Discord channel. The assistant will invoke the send_message tool with the channel ID and content.

Discord MCP Examples

Client configuration

Claude Desktop HTTP configuration for the Discord MCP server running locally.

{
  "mcpServers": {
    "discord-mcp": {
      "url": "http://localhost:8085/mcp"
    }
  }
}

Prompts to try

Example prompts for Discord automation tasks once the server is connected.

- "Send a message to channel #announcements saying 'Deployment complete!'"
- "List all channels in my Discord server"
- "Create a new role called 'Beta Tester' with a blue color"
- "Kick the user named 'spammer123' from the server"
- "Create a webhook for channel #alerts and send a test message through it"
- "List all members who have been banned from the server"

Troubleshooting Discord MCP

Bot actions fail with '403 Missing Permissions'

The bot's role in your Discord server must have the required permissions for each action. Go to Server Settings > Roles, find the bot's role, and enable permissions like Manage Channels, Manage Roles, Kick Members, or Ban Members as needed. The bot role must also be ranked higher than the roles it manages.

Docker container starts but MCP endpoint returns 404

Ensure SPRING_PROFILES_ACTIVE is set to 'http' in the Docker run command. Without this environment variable the HTTP transport is not activated and the /mcp endpoint will not exist.

DISCORD_TOKEN environment variable is rejected

Make sure you are using the bot token, not the client secret or application ID. In the Discord Developer Portal go to your application > Bot > Reset Token to generate a fresh token. Tokens are single-use and cannot be recovered after initial display.

Frequently Asked Questions about Discord MCP

What is Discord MCP?

Discord MCP is a Model Context Protocol (MCP) server that πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - lightweight multi-guild discord mcp server with 60+ tools for messages, channels, rol It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Discord MCP?

Install via npm with the command: npx -y discord. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Discord MCP?

Discord MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Discord MCP free to use?

Yes, Discord MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "discord": { "command": "npx", "args": ["-y", "discord"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide β†’

Ready to use Discord MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides