limitless-reign-mcp
Provides tools for managing Discord servers, including channels, messages, members, roles, emojis, webhooks, automod, events, and commands, allowing AI agents to interact with Discord through a bot.
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., "@limitless-reign-mcpCreate a welcome channel and set up auto-moderation"
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.
limitless-reign-mcp
Discord MCP Server SDK - Connect AI to Discord with 100+ Tools
Why limitless-reign-mcp?
"Let AI manage your Discord server"
Turn your Discord.js bot into an MCP (Model Context Protocol) server in 5 minutes. Then connect Claude, ChatGPT, or any AI to control it with natural language.
You: "Create a welcome channel and set up auto-moderation"
AI: ✓ Created #welcome channel
✓ Added welcome message embed
✓ Created automod rule for spam
✓ Created automod rule for bad wordsNo complex setup. No manual API calls. Just AI + Discord.
Related MCP server: Discord Bridge MCP Server
Features
Feature | Description |
116 Discord Tools | Full Discord.js v14 API - channels, messages, members, roles, emojis, webhooks, automod, events, commands |
Works with Any AI | Claude Desktop, ChatGPT, Cursor, Windsurf, GPT Actions, any MCP client |
Multiple Transports | HTTP, SSE, JSON-RPC - connect however you want |
5 Minute Setup | npm install → configure → connect AI → done |
Access Control | Built-in per-user guild permissions |
Framework Support | Express, Next.js, or any Node.js server |
TypeScript | Full type definitions included |
Open Source | MIT License - use it however you want |
Quick Start
1. Install
npm install limitless-reign-mcp discord.js2. Create MCP Server
import { Client, GatewayIntentBits } from 'discord.js'
import { createMCPServer, expressMiddleware } from 'limitless-reign-mcp'
import express from 'express'
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers]
})
const mcp = createMCPServer({
client,
validateAccess: async (apiKey, guildId) => {
// Your auth logic - check if API key is valid
if (apiKey === 'my-secret-key') {
return { valid: true, userId: 'user123' }
}
return { valid: false, error: 'Invalid API key' }
}
})
const app = express()
app.use(express.json())
app.use('/mcp', expressMiddleware(mcp))
client.login(process.env.DISCORD_TOKEN)
app.listen(3000, () => console.log('MCP Server ready at http://localhost:3000/mcp'))3. Connect AI
Claude Desktop - Edit claude_desktop_config.json:
{
"mcpServers": {
"discord": {
"url": "http://localhost:3000/mcp",
"headers": { "Authorization": "Bearer my-secret-key" }
}
}
}ChatGPT - Use the SSE endpoint:
http://localhost:3000/mcp/sse?api_key=my-secret-keyThat's it! Now ask AI to manage your Discord server.
What Can AI Do?
With 116 tools, AI can do almost anything on Discord:
Messages & Content
"Send an announcement to #general"
"Create a poll asking what game to play"
"Delete the last 50 messages in #spam"
"Pin the rules message"Server Management
"Create a gaming category with voice channels"
"Set up roles for moderators and members"
"Configure auto-moderation for spam"
"Create a welcome message with embed"Member Management
"List all members with the Admin role"
"Timeout user123 for 10 minutes"
"Give the VIP role to active members"
"Kick inactive bots"Advanced
"Set up a ticket system with buttons"
"Create slash commands for the server"
"Schedule an event for Friday"
"Execute custom API call to Discord"Connecting AI Clients
Claude Desktop / Claude Code
Edit config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonMac:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"discord": {
"url": "https://your-server.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}ChatGPT Web (Plugin)
Settings → Security → Enable Developer Mode
Go to chatgpt.com/plugins
Click + → Add plugin
URL:
https://your-server.com/mcp/sse?api_key=YOUR_KEY
ChatGPT Desktop
Settings → Integrations → Add MCP Server:
Type:
Streamable HTTPURL:
https://your-server.com/mcpHeader:
Authorization: Bearer YOUR_KEY
Cursor / Windsurf
Settings → Features → MCP → Add Server:
URL:
https://your-server.com/mcpAuth Header:
Authorization: Bearer YOUR_KEY
GPT Actions (Custom GPT)
Get schema:
GET https://your-server.com/mcp?format=openapiCreate GPT → Configure → Actions → Paste schema
Set Bearer auth with your API key
Configuration
const mcp = createMCPServer({
// Required: Your Discord.js client
client: discordClient,
// Required: Validate API keys and guild access
validateAccess: async (apiKey, guildId) => {
const user = await db.findUser(apiKey)
if (!user) return { valid: false, error: 'Invalid key' }
if (guildId && !user.canAccess(guildId)) {
return { valid: false, error: 'No access to this server' }
}
return { valid: true, userId: user.id }
},
// Optional: Return guilds user can access (for discord_list_guilds)
getAllowedGuilds: async (apiKey) => {
const user = await db.findUser(apiKey)
return user.guilds.map(g => ({
id: g.id,
name: g.name,
icon: g.iconURL
}))
},
// Optional: Log all tool calls
onToolCall: (tool, args, result, apiKey) => {
console.log(`${tool}: ${result.success ? 'OK' : 'FAIL'}`)
},
// Optional: Customize server info
serverName: 'My Discord AI',
serverVersion: '1.0.0'
})Complete Tool Reference
API Access (1 tool)
Tool | Description |
| List servers you have access to |
Bot Status (5 tools)
Tool | Description |
| Bot info, guilds count, uptime |
| Connection status, latency |
| Set online/idle/dnd/invisible |
| Set playing/streaming/listening status |
| Disconnect bot |
Guild Management (16 tools)
Tool | Description |
| List your accessible servers |
| Full server info |
| Edit server settings |
| List all channels |
| List all roles |
| List custom emojis |
| List stickers |
| List invites |
| List webhooks |
| List bans |
| Get audit log |
| Get vanity URL |
| Leave server |
| Apply server template |
Channel Operations (7 tools)
Tool | Description |
| Create text/voice/category/forum/stage |
| Edit channel settings |
| Delete channel |
| Clone with settings |
| Set permissions |
| Create invite |
Thread Management (5 tools)
Tool | Description |
| Create thread |
| Create forum post |
| Edit thread |
| Delete thread |
| List active threads |
Message Operations (14 tools)
Tool | Description |
| Send message with embeds/buttons |
| Send rich embed |
| Send Components V2 |
| Edit message |
| Delete message |
| Bulk delete (2-100) |
| Fetch messages |
| Pin message |
| Unpin message |
| Add reaction |
| Remove reaction |
| Create poll |
Member Management (16 tools)
Tool | Description |
| Get member info |
| Search by username |
| List members |
| Kick member |
| Ban member |
| Unban user |
| Timeout (mute) |
| Remove timeout |
| Add role |
| Remove role |
| Set nickname |
| Move to voice channel |
| Disconnect from voice |
| Server mute |
| Server deafen |
Role Management (4 tools)
Tool | Description |
| Create role |
| Edit role |
| Delete role |
| List permission names |
Emoji & Stickers (6 tools)
Tool | Description |
| Create emoji |
| Delete emoji |
| Create sticker |
| Delete sticker |
| Search emoji.gg |
| Add from emoji.gg |
Webhooks (3 tools)
Tool | Description |
| Create webhook |
| Delete webhook |
| Send via webhook |
Auto Moderation (3 tools)
Tool | Description |
| List rules |
| Create rule |
| Delete rule |
Scheduled Events (3 tools)
Tool | Description |
| Create event |
| List events |
| Delete event |
Slash Commands (6 tools)
Tool | Description |
| Create global command |
| Create guild command |
| Delete global command |
| Delete guild command |
| List global commands |
| List guild commands |
Interactions (4 tools)
Tool | Description |
| Handle button clicks |
| Handle select menus |
| Remove handler |
| List handlers |
Raw API (1 tool)
Tool | Description |
| Direct Discord API call |
Database (7 tools) - Requires handlers
Tool | Description |
| Get action logs |
| Get config |
| Set config |
| Database stats |
| Create task |
| List tasks |
| Cancel task |
Framework Examples
Express
import express from 'express'
import { createMCPServer, expressMiddleware } from 'limitless-reign-mcp'
const app = express()
app.use(express.json())
app.use('/mcp', expressMiddleware(mcp))
app.listen(3000)Next.js App Router
// app/api/mcp/route.ts
import { createMCPServer, nextjsHandlers } from 'limitless-reign-mcp'
const mcp = createMCPServer({ client, validateAccess })
export const { GET, POST, OPTIONS } = nextjsHandlers(mcp)
// app/api/mcp/sse/route.ts
import { nextjsSSEHandlers } from 'limitless-reign-mcp'
export const { GET, POST, OPTIONS } = nextjsSSEHandlers(mcp)Use Cases
AI Discord Moderation - Let AI handle spam, raids, and rule violations
Server Setup Automation - "Set up my gaming server with channels and roles"
Community Management - AI-powered welcomes, announcements, events
Developer Tools - Create bots, test APIs, automate tasks
Support Systems - AI ticket handling with Discord integration
Related Projects
Limitless Reign - Full SaaS platform using this SDK
MCP Protocol - The protocol specification
discord.js - The Discord library we build on
Contributing
Contributions welcome! See CONTRIBUTING.md.
git clone https://github.com/AayushChouhan/limitless-reign-mcp.git
cd limitless-reign-mcp
npm install
npm run devLicense
MIT License - see LICENSE
Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Keywords: discord mcp, discord ai, discord bot ai, claude discord, chatgpt discord, discord model context protocol, ai discord server, discord automation, discord.js mcp, discord api ai, limitless reign
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
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with Discord platforms, providing functionalities like sending messages, managing channels, creating forum posts, and handling webhooks.219051MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It allows users to send messages, read channel history, and manage reactions directly from their local environment.6223MIT
- Alicense-qualityDmaintenanceAn MCP server for Discord that enables AI assistants to interact with Discord servers, channels, and messages via the Discord API.7MIT
- AlicenseBqualityDmaintenanceA Discord MCP server that enables AI assistants to interact with the Discord platform, providing features like message sending, channel management, forum operations, reactions, and webhook management.22905MIT
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
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/aayushchouhan24/limitless-reign-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server