Discord Cloud MCP
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
Related MCP server: Remote MCP Server on Cloudflare
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 prompted
# STRONGLY RECOMMENDED — access key gating /mcp + /sse (see SECURITY.md).
# Without it, anyone with your worker URL can drive your bot.
npx wrangler secret put MCP_KEY
# Then send it on MCP requests: Authorization: Bearer <MCP_KEY> (or ?k=<MCP_KEY>)4. 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceA Discord Model Context Protocol server that enables AI assistants to interact with Discord, providing functionality for sending messages, managing channels, handling forum posts, and working with reactions.22905101MIT
- -license-quality-maintenanceA Model Context Protocol server implementation that runs on Cloudflare Workers with OAuth authentication support, allowing users to connect MCP clients like Claude Desktop or the MCP Inspector to utilize remote AI tools.
- Alicense-qualityDmaintenanceEnables interaction with Discord through the Model Context Protocol, providing access to all Discord features like channels, messages, threads, reactions, and roles. Supports secure Discord bot operations with rate limiting, caching, and comprehensive API coverage for OpenAI, LangChain, and other MCP clients.MIT
- Alicense-qualityDmaintenanceA remote MCP server deployed on Cloudflare Workers that provides AI agents with authenticated, permission-aware access to Discord servers. It enables agents to read, search, and post messages while maintaining secure Role-Based Access Control via OAuth2.16MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amarisaster/Discord-Cloud-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server