Discord MCP Server
Discord channel messaging and message history access for AI assistants.
Data last scanned today · Reviewed yesterday
Overview
This server integrates Discord with your AI model, allowing it to send messages to channels and retrieve recent message history. It includes support for both channel names and IDs, as well as automatic discovery of servers where the bot resides.
Our verdict
This tool carries a high risk level with a security score of 0/100, primarily due to the lack of any authentication method, meaning anyone with access to the configuration file can control the bot. Additionally, the project is community-maintained rather than official, has not been editorially reviewed, and lacks a software license, raising concerns about its long-term reliability and legal usage terms. Users should exercise extreme caution or avoid this server in professional environments.
- Supports fetching message history with configurable limits
- Handles both channel names and IDs for convenience
- Limited supply-chain footprint with only 4 direct dependencies
- No authentication mechanism implemented
- No software license provided for the source code
- Project has not been updated in over 540 days
Setup
{
"mcpServers": {
"discordmcp": {
"args": [
"-y",
"discord-mcp-server"
],
"command": "npx"
}
}
}Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.
- No read-only mode — running this grants full read/write access.
- No built-in authentication — anyone with access to this config can invoke every tool it exposes.
Tools
| Tool | Description | Risk |
|---|---|---|
| send-message | Sends a message to a specified Discord channel. | medium |
| read-messages | Reads recent messages from a specified Discord channel. | low |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| ChatGPT | ||||
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf |
Frequently asked questions
›What are the prerequisite Node.js requirements?
You must have Node.js version 16.x or higher installed to run this server.
›What permissions does the Discord bot need?
The bot must be invited to your server with the Read Messages/View Channels, Send Messages, and Read Message History permissions enabled.
›How do I specify a target channel?
You can identify channels using either their name, such as 'general', or their specific channel ID.
›Is the server name required when sending or reading messages?
The server parameter is optional, but it is required if your bot is joined to multiple Discord servers simultaneously.
›What is the limit for reading messages?
The read-messages tool fetches a default of 50 messages, with a configurable limit up to a maximum of 100 messages.
›How are security and user approval handled?
All message-sending operations require explicit user approval, and the server limits access only to channels the bot has been granted permission to view.
Alternatives
Badge
Maintain this server? Add the live badge to your README.