Discord MCP logo

Discord MCP

by saseq

Connects MCP-compatible clients to Discord for server information and user or member lookups.

Install Discord MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for saseq/discord-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

saseq/discord-mcp connects the Discord API to MCP-compatible applications through a JDA-based integration. It exposes tools for retrieving server details and looking up Discord users or guild members. Run it in Docker or as a built Java application, using HTTP or legacy stdio transport. Reach for it when an AI workflow needs structured access to Discord server data.

Use cases

  • Retrieve Discord server information from an AI client
  • Look up a user's Discord ID for mentions
  • Find a guild member by Discord user ID
  • Connect Discord lookups to an n8n workflow

Key features

  • Discord API access through JDA
  • HTTP MCP endpoint on port 8085
  • Legacy stdio transport
  • Server information retrieval
  • Discord user and guild member lookups
  • Optional default guild configuration

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

15/17 checks healthy over the last 84d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars582Stargazers on the source repository.
Last commit10d agoMost recent push to the default branch.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Discord MCP works

What saseq/discord-mcp MCP server does

saseq/discord-mcp exposes selected Discord API operations through the Model Context Protocol. It uses JDA, the Java Discord API library, to connect an MCP client to a Discord bot and its guild data. The documented capabilities cover server information and user or member lookup, including retrieving a Discord user ID for mention formatting.

The project is intended for MCP-compatible applications and automation workflows that need to query Discord from an AI-assisted interface. A Discord bot token is required, and the bot must be configured for the Discord environment it will access.

How it works

The recommended deployment runs as a Docker container with the HTTP profile enabled. MCP clients connect to http://localhost:8085/mcp, while the application also exposes an Actuator health endpoint at http://localhost:8085/actuator/health.

A legacy stdio mode is available through a Docker process started by the client. In that arrangement, each client session starts the configured container command. The HTTP setup instead runs one long-lived server that multiple clients or workflows can reach through its MCP endpoint.

The server can also be built with Maven and launched from the resulting JAR. Claude Code, Codex CLI, Cursor, Claude Desktop, and n8n connection examples are included, along with configuration guidance for streamable HTTP clients such as OpenClaw.

Setup and configuration

Docker is the recommended installation method. Set DISCORD_TOKEN to the bot token before starting the container. Set SPRING_PROFILES_ACTIVE=http to run the HTTP transport. DISCORD_GUILD_ID is optional; when set, it supplies a default guild ID for tools that accept a guildId parameter.

A typical container publishes port 8085 and passes the environment variables into the image:

server.ts
export DISCORD_TOKEN="YOUR_DISCORD_BOT_TOKEN"
export DISCORD_GUILD_ID="OPTIONAL_DEFAULT_SERVER_ID"
export SPRING_PROFILES_ACTIVE=http

docker run -d -i \
  --name discord-mcp \
  -p 8085:8085 \
  -e SPRING_PROFILES_ACTIVE \
  -e DISCORD_TOKEN \
  -e DISCORD_GUILD_ID \
  saseq/discord-mcp:latest

Docker Compose can build and start the service from a cloned repository. Manual installation requires Maven, followed by starting the packaged JAR with the Discord token and HTTP profile environment variables.

Tools and capabilities

  • get_server_info retrieves detailed information about a Discord server.
  • get_user_id_by_name looks up a Discord user's ID by username within a guild, supporting mention syntax such as <@id>.
  • get_member_by_id retrieves a Discord guild member using an ID.

The optional default guild ID can reduce the need to pass guildId separately when a tool supports that parameter.

Limitations and notes

The HTTP endpoint at localhost is reachable only from the local machine. Remote clients, including Claude Desktop remote connectors, need a publicly reachable HTTPS endpoint through a tunnel or reverse proxy. If n8n runs inside Docker, its localhost refers to the n8n container rather than the host; use a reachable Docker service name or host address instead.

Keep the Discord bot token in the runtime environment and pass it to the container or Java process. The stdio configuration starts a separate process or container per client session, while HTTP mode uses a shared long-running server.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Discord MCP

saseq/discord-mcp is an MCP server that connects MCP-compatible AI applications to the Discord API through JDA. Its documented tools retrieve Discord server information, look up a user's ID by username in a guild, and retrieve a guild member by ID. It runs through HTTP or legacy stdio transport.

Install it with Docker, Docker Compose, or a Maven-built JAR. Set `DISCORD_TOKEN`, enable the HTTP profile with `SPRING_PROFILES_ACTIVE=http`, and optionally set `DISCORD_GUILD_ID`. The default MCP endpoint is `http://localhost:8085/mcp`.

Yes, saseq/discord-mcp works with Cursor through its MCP settings. Add `http://localhost:8085/mcp` as an MCP server in Cursor's global `mcp.json` or in a project-level `.cursor/mcp.json` file.

Connect it to Claude Desktop either with a Docker-based stdio configuration or through the desktop application's remote connector settings. Remote connectors require a publicly reachable HTTPS MCP endpoint; `localhost` is available only from the local machine.

Set the `DISCORD_GUILD_ID` environment variable to the default Discord server ID. Tools that accept a `guildId` parameter can then omit it when using that configured default.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDiscord MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/saseq-discord-mcp?style=directory)](https://allmcps.com/mcp/saseq-discord-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/saseq-discord-mcp"><img src="https://allmcps.com/api/badge/saseq-discord-mcp?style=directory" alt="Discord MCP on AllMCPs" /></a>