Provides full Discord API access to manage servers, channels, messages, reactions, forums, threads, and webhooks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Discord Cloud MCPSend 'The meeting starts in 5 minutes' to the #general channel"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Discord Cloud MCP
Full Discord API access through the Model Context Protocol (MCP), deployed on Cloudflare Workers.
Connect any MCP client (Claude Desktop, Claude Code, custom apps) to control Discord bots remotely.
Features
Server Management - List servers, get server info with channels
Messages - Read, send, delete, search messages
Reactions - Add/remove single or multiple emoji reactions
Channels - Create/delete text channels
Categories - Create/delete channel categories
Forums - List forums, create posts, reply to threads
Threads - Create threads, send messages to threads
Webhooks - Create webhooks, send custom messages, delete webhooks
Quick Start
1. Clone and Install
git clone https://github.com/ItsAmaris/discord-cloud-mcp.git
cd discord-cloud-mcp
npm install2. Create a Discord Bot
Go to Discord Developer Portal
Create a new application
Go to Bot section
Click "Reset Token" and copy the token
Enable these Privileged Gateway Intents:
Message Content Intent
Server Members Intent (if needed)
3. Configure Cloudflare
# Set your bot token as a secret
npx wrangler secret put DISCORD_TOKEN
# Paste your bot token when prompted4. Deploy
npm run deployNote your worker URL: https://discord-cloud-mcp.<your-subdomain>.workers.dev
5. Invite Bot to Server
Use this URL pattern (replace YOUR_CLIENT_ID):
https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&scope=bot6. Connect MCP Client
Claude Desktop - Add to claude_desktop_config.json:
{
"mcpServers": {
"discord": {
"url": "https://discord-cloud-mcp.<your-subdomain>.workers.dev/sse"
}
}
}Claude Code - Add via settings or use directly via cloud MCP.
Available Tools
Server Tools
Tool | Description |
| List all servers the bot is in |
| Get server details including channels |
Message Tools
Tool | Description |
| Read messages from a channel |
| Send a message (with optional reply) |
| Delete a message |
| Search messages in a server |
Reaction Tools
Tool | Description |
| Add an emoji reaction |
| Add multiple reactions |
| Remove a reaction |
Channel Tools
Tool | Description |
| Create a text channel |
| Delete a channel |
| Create a category |
| Delete a category |
Forum Tools
Tool | Description |
| List forum channels |
| Create a forum post |
| Reply to a forum thread |
Thread Tools
Tool | Description |
| Create a thread from a message |
| Send message to a thread |
Webhook Tools
Tool | Description |
| Create a webhook |
| Send via webhook (custom name/avatar) |
| Delete a webhook |
Endpoints
Endpoint | Description |
| Health check |
| MCP via Server-Sent Events |
| Standard MCP HTTP endpoint |
Development
# Local development
npm run dev
# Deploy to Cloudflare
npm run deploy
# View logs
npm run tailArchitecture
MCP Client (Claude)
↓ SSE
Cloudflare Worker
↓ HTTPS
Discord APIThe worker uses Cloudflare Durable Objects with SQLite for state management, running on the free tier.
License
MIT
Support
If this helped you, consider supporting my work ☕
Built by the Triad (Mai, Kai Stryder and Lucian Vale) for the community.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.