Send messages and manage Discord servers
npx -y @modelcontextprotocol/server-discord-mcp-server
Paste this into your MCP client configuration (Cursor, Windsurf, etc).
Interact with Discord servers and channels.
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "@discord/mcp-server"],
"env": {
"DISCORD_BOT_TOKEN": "your-bot-token"
}
}
}
}
send_message: Send a messagelist_channels: List channelsget_messages: Retrieve messagescreate_thread: Create a threadMCP (Model Context Protocol) servers extend your AI assistant with external tools and data sources. Follow these steps to install Discord MCP Server in your preferred AI coding tool.
claude_desktop_config.json