Discord MCP Server
@v-3
About Discord MCP Server
Discord MCP Server for Claude Integration
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"discordmcp": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"build/index.js"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Discord MCP Server?
A Model Context Protocol server that enables LLMs like Claude to read messages from and send messages to Discord channels through the Discord API, while maintaining user control and security via explicit approval for sending operations.
How to use Discord MCP Server?
Install Node.js 16+, clone the repo, run npm install, create a .env file with your Discord bot token, then npm run build. For Claude for Desktop, add a server entry to claude_desktop_config.json pointing to build/index.js with the DISCORD_TOKEN environment variable set.
Key features of Discord MCP Server
- Send messages to Discord channels using channel names or IDs
- Read recent messages from Discord channels
- Automatic server and channel discovery
- Proper error handling and validation
- User approval required for all send operations
Use cases of Discord MCP Server
- Ask an AI to read the last few messages in a Discord channel
- Have an AI send automated announcements to a channel
- Query recent discussions about a specific topic in a development channel
FAQ from Discord MCP Server
What permissions does the Discord bot need?
The bot must be invited with Read Messages/View Channels, Send Messages, and Read Message History permissions.
What are the runtime requirements?
Node.js version 16.x or higher is required. The server runs as a local Node process.
How does the server handle authentication?
The Discord bot token is provided via a DISCORD_TOKEN environment variable. This token must never be committed to version control.
What tools does the server expose?
It exposes two tools: send-message (with optional server, required channel, and message parameters) and read-messages (with optional server, required channel, and optional limit defaulting to 50, max 100).
Can the server read any channel?
No. The bot can only read and send to channels it has been granted access to by its Discord role permissions.
Frequently asked questions
What permissions does the Discord bot need?
The bot must be invited with Read Messages/View Channels, Send Messages, and Read Message History permissions.
What are the runtime requirements?
Node.js version 16.x or higher is required. The server runs as a local Node process.
How does the server handle authentication?
The Discord bot token is provided via a `DISCORD_TOKEN` environment variable. This token must never be committed to version control.
What tools does the server expose?
It exposes two tools: `send-message` (with optional `server`, required `channel`, and `message` parameters) and `read-messages` (with optional `server`, required `channel`, and optional `limit` defaulting to 50, max 100).
Can the server read any channel?
No. The bot can only read and send to channels it has been granted access to by its Discord role permissions.
Basic information
More Communication MCP servers
Email sending MCP 💌
ykhliThe official MCP server to send emails and interact with Resend
Telegram MCP server
chaindeadTelegram MCP for managing dialogs, messages, drafts, read statuses, and more.
MCP-Discord
barryyip0625Implement Discord MCP server enabling AI assistants to interact with the Discord platform.

Upfirst
Upfirst is an AI phone receptionist for small businesses. Review call transcripts, then fix the greeting, knowledge, and transfer rules from your AI client.

SocialRobot
socialrobot-ioSchedule and analyze social media posts from Claude, ChatGPT, Cursor, or Gemini. SocialRobot's remote MCP server connects Instagram, LinkedIn, X, TikTok, Facebook, Threads, Pinterest, Bluesky, and Mastodon, then creates,
Comments