A Model Context Protocol (MCP) server for Discord integration - enables AI models to interact with Discord through secure authentication, message management, and content moderation.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"discord-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A blazingly fast, robust and extensible Model Context Protocol (MCP) server for Discord, written in Go. This project enables advanced automation, moderation, and integration with Discord servers via a standardized JSON-RPC 2.0 interface. It is designed for use with Claude Desktop and other MCP-compatible clients.
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.
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
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
MCP server for Kaseya Autotask PSA — 39 tools for companies, tickets, projects, time entries, and more
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
MCP Security Weekly
Get CVE alerts and security updates for Discord Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A blazingly fast, robust and extensible Model Context Protocol (MCP) server for Discord, written in Go. This project enables advanced automation, moderation, and integration with Discord servers via a standardized JSON-RPC 2.0 interface. It is designed for use with Claude Desktop and other MCP-compatible clients.
See docs/setup.md for a detailed step-by-step guide, including Discord bot creation, permissions, and environment setup.
# Clone repository
git clone https://github.com/yourusername/discord-mcp-server.git
cd discord-mcp-server
# Install dependencies
make deps
# Build the server
make build
# Copy and edit config
cp configs/config.yaml.example configs/config.yaml
# Or edit configs/config.yaml directly
# Run the server
./bin/discord-mcp-server -config configs/config.yaml
configs/config.yaml (YAML, supports env vars).env file or system env varsconfigs/claude_desktop_config.json for integrationExample config:
server:
name: "discord-mcp-server"
version: "1.0.0"
environment: "production"
discord:
bot_token: "${DISCORD_BOT_TOKEN}"
guild_id: "${DISCORD_GUILD_ID}"
auth:
jwt_secret: "${JWT_SECRET}"
api_keys:
- "${API_KEY_1}"
enable_audit: true
logging:
level: "info"
format: "json"
file_path: "logs/server.log"
mcp:
protocol_version: "2024-11-05"
transport: "stdio"
debug: false
The server runs as a background process and communicates via stdio (for Claude Desktop) or can be extended for other transports.
send_message: Send a message to a Discord channelget_messages: Retrieve message historyget_channel_info: Get channel metadatasearch_messages: Search messages with filters (content, user, time)moderate_content: Delete messages, kick/ban usersSee the MCP tool schemas in internal/mcp/handlers.go for details.
# Run all tests
make test
# Run with coverage
make test-coverage
# Coverage report: coverage.html
logging.level: debug in config