Discord▌

by aj-geddes
Integrates with Discord API for advanced server management—messaging, moderation, roles, events & more via 46+ tools. Re
Integrates with Discord's API to provide server management capabilities including messaging, moderation, role management, event scheduling, and community administration through 46+ specialized tools with robust error handling and deployment support.
best for
- / Discord server administrators
- / Community managers automating moderation
- / Developers building Discord bots
- / Teams managing large Discord communities
capabilities
- / Manage Discord channels and roles
- / Handle messages and bulk operations
- / Control voice channels and permissions
- / Schedule events and automate workflows
- / Execute moderation actions
- / Configure webhooks and bots
what it does
Provides complete Discord API integration with 80+ tools for server automation, moderation, and management through bot or user authentication modes.
about
Discord is a community-built MCP server published by aj-geddes that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrates with Discord API for advanced server management—messaging, moderation, roles, events & more via 46+ tools. Re It is categorized under communication, developer tools.
how to install
You can install Discord in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Discord is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
Discord Agent MCP
AI-Powered Discord Server Management - A production-ready Model Context Protocol (MCP) server with 71 tools for comprehensive Discord automation through Claude AI.
Documentation
- Getting Started Guide
- 71 Tools Reference
- Interactive Prompts
- Deployment Guide
- API Reference
- Troubleshooting
What Is This?
Discord Agent MCP bridges Claude AI with Discord, letting you manage your server through natural language. Instead of clicking through Discord's interface or writing code, just tell Claude what you want:
"Create a gaming community server with voice channels for different games,
a welcome channel, and moderator roles"
Claude handles the rest using the 71 Discord management tools provided by this MCP server.
Features
71 Discord Tools
| Category | Tools | Description |
|---|---|---|
| Messaging | 10 | Send, edit, delete, react, pin messages |
| Channels | 10 | Create, modify, delete channels and permissions |
| Threads | 3 | Create and manage forum threads |
| Server | 7 | Settings, webhooks, invites, audit logs |
| Members | 3 | Info, listings, nicknames |
| Roles | 7 | Create, assign, modify roles |
| Moderation | 6 | Kick, ban, timeout, manage bans |
| Emojis | 4 | Custom emoji management |
| Stickers | 4 | Custom sticker management |
| Events | 6 | Scheduled events |
| Auto-Mod | 5 | Automatic moderation rules |
| Commands | 6 | Slash command management |
Production Ready
- Persistent Connection: Robust Discord.js client with automatic reconnection
- Type Safe: Full TypeScript with Zod validation
- Comprehensive Errors: Detailed error messages with resolution guidance
- Structured Logging: JSON logging with configurable levels
- Flexible Deployment: Local, Docker, or Kubernetes
Claude Code Integration
First-class support for Anthropic's Claude Code CLI:
claude mcp add --transport http discord-agent http://localhost:3000/mcp
Quick Start
1. Prerequisites
- Node.js 20.0.0+
- A Discord bot token (Create one here)
2. Install
git clone https://github.com/aj-geddes/discord-agent-mcp.git
cd discord-agent-mcp
npm install
3. Configure
cp .env.example .env
# Edit .env and add your DISCORD_TOKEN
4. Run
npm run build
npm start
# Server runs at http://localhost:3000/mcp
5. Connect to Claude Code
claude mcp add --transport http discord-agent http://localhost:3000/mcp
Deployment Options
Docker
docker build -t discord-mcp-server:latest .
docker run -d -p 3000:3000 -e DISCORD_TOKEN=your_token discord-mcp-server:latest
Docker Compose
version: '3.8'
services:
discord-mcp:
build: .
ports:
- "3000:3000"
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
restart: unless-stopped
Kubernetes
kubectl apply -f k8s/
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
DISCORD_TOKEN | Yes | - | Discord bot token |
TRANSPORT_MODE | No | http | http or stdio |
HTTP_PORT | No | 3000 | Server port |
LOG_LEVEL | No | info | debug, info, warn, error |
Example Usage
Once connected, use natural language in Claude Code:
Server Setup:
"Set up a gaming community with channels for Minecraft, Valorant, and general chat"
Moderation:
"Timeout user 123456789 for 1 hour for spam"
Events:
"Create a voice event called 'Game Night' for Saturday at 8 PM"
Automation:
"Set up auto-moderation to block spam and timeout repeat offenders"
Security
- Never commit tokens - Use
.envfiles (gitignored) - Rotate tokens - Regenerate periodically
- Least privilege - Only grant necessary permissions
- Audit logs - Monitor bot actions
Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Test with a development Discord server
- Submit a pull request
See CONTRIBUTING.md for guidelines.
Resources
- Documentation: aj-geddes.github.io/discord-agent-mcp
- MCP Protocol: modelcontextprotocol.io
- Discord API: discord.com/developers
- Issues: GitHub Issues
License
MIT License - See LICENSE for details.
<p align="center"> <strong>Discord Agent MCP</strong> - AI-Powered Discord Server Management <br> Built with TypeScript, Discord.js, and the Model Context Protocol </p>
FAQ
- What is the Discord MCP server?
- Discord is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Discord?
- This profile displays 35 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.
Ratings
4.6★★★★★35 reviews- ★★★★★Chen Yang· Dec 12, 2024
According to our notes, Discord benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Chen Wang· Dec 8, 2024
Useful MCP listing: Discord is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Dhruvi Jain· Dec 4, 2024
We wired Discord into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Naina Nasser· Dec 4, 2024
Discord has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Chen Chen· Nov 27, 2024
Discord reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Oshnikdeep· Nov 23, 2024
Strong directory entry: Discord surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Ren Mensah· Nov 3, 2024
I recommend Discord for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Neel Ramirez· Oct 22, 2024
We evaluated Discord against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Neel Sanchez· Oct 18, 2024
We wired Discord into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Ganesh Mohane· Oct 14, 2024
Useful MCP listing: Discord is the kind of server we cite when onboarding engineers to host + tool permissions.
showing 1-10 of 35