Discord MCP Server for Claude Integration
MCPpedia last refreshed this data
Discordmcp is an MCP server that discord MCP Server for Claude Integration. It exposes 2 tools over stdio, requires no API key, and scores 62/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"discord": {
"env": {
"DISCORD_TOKEN": "your_discord_bot_token_here"
},
"args": [
"path/to/discordmcp/build/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that enables LLMs to interact with Discord channels, allowing them to send and read messages through Discord's API. Using this server, LLMs like Claude can directly interact with Discord channels while maintaining user control and security.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in communication
Official TypeScript library for the Telnyx API
AI email marketing MCP: newsletters, drip campaigns, email automation, transactional emails+CRM sync
Open-source SMS gateway. Turn your Android phone into an SMS API: send and receive SMS from your apps over REST and webhooks. Self-hostable, with a free hosted plan.
X/Twitter automation MCP: scrape, post, schedule, analyze, engage. No API key required.
MCP Security Weekly
Get CVE alerts and security updates for Discordmcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that enables LLMs to interact with Discord channels, allowing them to send and read messages through Discord's API. Using this server, LLMs like Claude can directly interact with Discord channels while maintaining user control and security.
git clone https://github.com/yourusername/discordmcp.git
cd discordmcp
npm install
.env file in the root directory with your Discord bot token:DISCORD_TOKEN=your_discord_bot_token_here
npm run build
Open your Claude for Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the Discord MCP server configuration:
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["path/to/discordmcp/build/index.js"],
"env": {
"DISCORD_TOKEN": "your_discord_bot_token_here"
}
}
}
}
Sends a message to a specified Discord channel.
Parameters:
server (optional): Server name or ID (required if bot is in multiple servers)channel: Channel name (e.g., "general") or IDmessage: Message content to sendExample:
{
"channel": "general",
"message": "Hello from MCP!"
}
Reads recent messages from a specified Discord channel.
Parameters:
server (optional): Server name or ID (required if bot is in multiple servers)channel: Channel name (e.g., "general") or IDlimit (optional): Number of messages to fetch (default: 50, max: 100)Example:
{
"channel": "general",
"limit": 10
}
npm install --save-dev typescript @types/node
npm run dev
You can test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
Here are some example interactions you can try with Claude after setting up the Discord MCP server:
Claude will use the appropriate tools to interact with Discord while asking for your approval before sending any messages.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions: