discord-mcp
MCP server for Discord bots to manage channels, messages and members.
Install
See the repository for setupWhat 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 serversFAQ
- 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.
Embed a listing badge
<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>
Comments
No comments yet.