Skip to main content
Glama

discord-mcp

📖 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.

Enable your AI assistants to seamlessly interact with Discord. Manage channels, send messages, and retrieve server information effortlessly. Enhance your Discord experience with powerful automation capabilities.

🔬 Installation

NOTE: Docker installation is required. Full instructions can be found on docker.com.

{ "mcpServers": { "mcp-server": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN>", "-e", "DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID>", "saseq/discord-mcp:latest" ] } } }
Clone the repository
git clone https://github.com/SaseQ/discord-mcp
Build the project

NOTE: Maven installation is required to use the mvn command. Full instructions can be found here.

cd discord-mcp mvn clean package # The jar file will be available in the /target directory
Configure AI client

Many code editors and other AI clients use a configuration file to manage MCP servers.

The Discord MPC server can be configured by adding the following to your configuration file.

NOTE: You will need to create a Discord Bot token to use this server. Instructions on how to create a Discord Bot token can be found here.

{ "mcpServers": { "discord-mcp": { "command": "java", "args": [ "-jar", "/absolute/path/to/discord-mcp-0.0.1-SNAPSHOT.jar" ], "env": { "DISCORD_TOKEN": "YOUR_DISCORD_BOT_TOKEN", "DISCORD_GUILD_ID": "OPTIONAL_DEFAULT_SERVER_ID" } } } }

The DISCORD_GUILD_ID environment variable is optional. When provided, it sets a default Discord server ID so any tool that accepts a guildId parameter can omit it.

Install Discord MCP Server automatically via Smithery:

npx -y @smithery/cli@latest install @SaseQ/discord-mcp --client <CLIENT_NAME> --key <YOUR_SMITHERY_KEY>

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.

{ "mcpServers": { "mcp-server": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN>", "-e", "DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID>", "saseq/discord-mcp:latest" ] } } }

Run this command. See Claude Code MCP docs for more info.

claude mcp add mcp-server -- docker run --rm -i -e DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN> -e DISCORD_GUILD_ID=<OPTIONAL_DEFAULT_SERVER_ID> saseq/discord-mcp:latest

🛠️ Available Tools

Server Information
User Management
Message Management
Channel Management
Category Management
Webhook Management

If DISCORD_GUILD_ID is set, the guildId parameter becomes optional for all tools above.

A more detailed examples can be found in the Wiki.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.

  1. 🔬 Installation
    1. Clone the repository
    2. Build the project
    3. Configure AI client
  2. 🔧 GitMCP
    1. ⚓ Smithery
      1. 🛠️ Available Tools
        1. Server Information
        2. Message Management
        3. Channel Management
        4. Category Management
        5. Webhook Management

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Provides Discord integration capabilities to MCP clients like Claude Desktop.
        Last updated -
        15
        118
        Python
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
        Last updated -
        47
        5
        TypeScript
        • Apple
      • A
        security
        A
        license
        A
        quality
        Model Context Protocol server that enables Claude Desktop (or any MCP client) to fetch web content and process images appropriately.
        Last updated -
        1
        23
        MIT License
        • Apple
      • A
        security
        F
        license
        A
        quality
        An MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.
        Last updated -
        19
        35
        JavaScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaseQ/discord-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server