discord-mcp

MCP server for Discord bots to manage channels, messages and members.

Local

Install

See the repository for setup

What it does

This is a Model Context Protocol server that exposes the Discord API to MCP-capable AI clients, built on the JDA Java library. It lets an assistant act through a Discord bot identity: reading and sending channel messages, handling private messages, creating and editing text, voice and stage channels and categories, managing roles, webhooks, invites, permission overwrites and scheduled events, and performing moderation actions such as kick, ban, timeout and nickname changes. It is aimed at people building Discord automation or AI-driven workflows who already run a bot and can supply its token.

Deployment is through Docker (an image and a compose file are provided) or a locally built JAR with Maven. Two transports are supported: a streamable HTTP profile listening at /mcp on port 8085, and a legacy stdio mode that starts a process or container per client session. Configuration is done with DISCORD_TOKEN and an optional DISCORD_GUILD_ID that supplies a default server for tools taking a guildId. Setup examples cover Claude Code, Claude Desktop, Cursor, Codex CLI, OpenClaw and n8n MCP client nodes.

Limitations: a Discord bot token is mandatory; local HTTP endpoints are only reachable locally, so remote connectors need a public HTTPS tunnel or proxy. Some searches scan recent history rather than indexing the whole server.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
615
Last push
Oct 23, 2026
License
MIT
Archived
No

Other Discord MCP servers

Compare servers
  • Turn docs, repos, and media into AI-ready knowledge assets and skills.

    • Confluence
    • Discord
    • GitHub
    Updated
  • AI-powered daily news radar that collects, filters, and summarizes feeds into briefings

    • Apify
    • Discord
    • GitHub
    Updated
  • Run AI agent teams locally or offline, with MCP support for your own clients.

    • Discord
    • Ollama
    • Slack
    Updated
  • Search your files and connected tools with cited answers

    • Discord
    • GitHub
    • Obsidian
    Updated
  • Use your logged-in browser session to let AI call real web APIs via MCP.

    • AWS
    • Azure DevOps
    • Bitbucket
    Updated
  • Self-hosted uptime, SSL, DNS and Docker monitoring with status pages and an MCP server.

    • Discord
    • Docker
    • PagerDuty
    Updated

FAQ

What license does discord-mcp use?
MIT
Does discord-mcp run locally or remotely?
It runs locally.
Is discord-mcp an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/discord-mcp-12"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options