Discord (by v-3) logo

Discord (by v-3)

Free

通过机器人连接 Discord 服务器,读写频道消息。

FreeFree tier
Type
Open Source

About Discord (by v-3)

A Model Context Protocol (MCP) server that enables LLMs like Claude to interact with Discord channels. It allows AI assistants to send and read messages through the Discord API while maintaining user control and security. The server supports automatic server and channel discovery, handles both channel names and IDs, and includes proper error handling and validation.

Key Features

Send messages to Discord channels using an LLM
Read recent messages from channels
Automatic server and channel discovery
Supports both channel names and IDs
Requires user approval for all message sending operations
Proper error handling and input validation

Pros & Cons

Pros
  • Open source and free to use
  • Easy setup with Claude for Desktop
  • User-controlled security with explicit approval for sending
  • Automatic channel discovery simplifies configuration
  • Supports both channel name and ID references
Cons
  • Requires manual setup of a Discord bot and token
  • Only works with Discord (not other chat platforms)
  • Limited to send/read message capabilities (no voice, reactions, etc.)
  • Requires Node.js 16+ and technical setup

Best For

Monitoring Discord channels via AI assistantsAutomating responses or announcements in Discord serversIntegrating LLMs with community or team communication platforms

FAQ

What is Discord MCP Server?
It is a Model Context Protocol (MCP) server that enables large language models like Claude to interact with Discord channels by sending and reading messages through the Discord API.
What are the prerequisites to use it?
You need Node.js 16 or higher, a Discord bot token, and the bot must be invited to your server with permissions: Read Messages/View Channels, Send Messages, and Read Message History.
How do I set it up with Claude for Desktop?
Clone the repository, install dependencies, create a .env file with your Discord token, run npm run build, then add the MCP server configuration to your Claude for Desktop config file (claude_desktop_config.json).
What tools does the server provide?
It provides two tools: send-message (sends a message to a specified channel) and read-messages (reads recent messages from a specified channel, with optional limit up to 100).
Is user approval required for sending messages?
Yes, all message sending operations require explicit user approval to maintain security and control.