Back to Browse

Discord MCP Server

by DasRed
CommunicationLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Read Discord servers, channels and direct messages of your account, optionally send messages.

About

Read Discord servers, channels and direct messages of your account, optionally send messages.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (4 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (9/9 approved); 3 highly-trusted packages.

12 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Email of the Discord account, not needed with DISCORD_MCP_DISCORD_TOKENOptional

Environment variable: DISCORD_MCP_DISCORD_EMAIL

Password of the Discord accountRequired

Environment variable: DISCORD_MCP_DISCORD_PASSWORD

Base32 secret of the authenticator app for two-factor authenticationRequired

Environment variable: DISCORD_MCP_DISCORD_TOTP_SECRET

Session token, skips the browser loginRequired

Environment variable: DISCORD_MCP_DISCORD_TOKEN

Only expose read-only tools, false adds send_messageOptional

Environment variable: DISCORD_MCP_READ_ONLY

If set, the MCP endpoint requires Authorization: Bearer <token>Required

Environment variable: DISCORD_MCP_AUTH_TOKEN

Log levelOptional

Environment variable: DISCORD_MCP_SERVER_LOG_LEVEL

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

discord-mcp

Streamable HTTP MCP server for Discord, shipped as a Docker image. It lets Claude list your servers, channels and direct messages, read messages and – if enabled – send messages as your Discord account. A headless Chromium is only used to log in; all data is fetched through the Discord HTTP API.

The tool set follows elyxlz/discord-mcp; this is an independent Node.js/TypeScript implementation.

Documentation: https://www.marco-starker.de/en/projects/discord-mcp/docs

[!WARNING] Automating a user account ("self-bot") is against the Discord Terms of Service and can get the account suspended. Use it at your own risk.

Quick start

docker run -d --name mcp-discord \
  -p 3000:3000 \
  -v discord-mcp-data:/var/www/data \
  -e DISCORD_MCP_DISCORD_EMAIL=me@example.com \
  -e DISCORD_MCP_DISCORD_PASSWORD=your-password \
  ghcr.io/dasred/discord-mcp:1

The MCP endpoint is http://localhost:3000/mcp. Never expose it to the internet without TLS and access control.

Local development

Requires Node.js 26 and npm 11.

npm ci
npx playwright install chromium
cp .env.example .env
npm run dev
npm test
npm run build

Releases are created by semantic-release from Conventional Commits on main.

License

MIT

Reviews

No reviews yet

Be the first to review this server!