discord-blueprint-mcp
Enables management of Discord servers through a bot: server settings, channels and categories, forums and threads, roles, members, messages and embeds, polls, events, AutoMod, onboarding, welcome screen, emojis, invites, webhooks, audit log, moderation, and declarative blueprint-based server creation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
discord-blueprint-mcp
A general-purpose Discord MCP server. Let Claude (or any MCP client) manage your Discord server through your own bot — and build whole servers from blueprints: declarative JSON files you can preview, apply, re-apply, export and share.
Claude ⇄ discord-blueprint-mcp ⇄ your Discord bot (token) ⇄ your Discord server(s)74 tools: server settings, channels & categories, forums & threads, roles, members, messages & embeds, polls, events, AutoMod, onboarding, welcome screen, emojis, invites, webhooks, audit log, moderation — plus a raw
discord_apiescape hatch.Blueprints: describe roles, channels, permissions, onboarding questions, AutoMod rules and pinned messages once;
plan_blueprintshows a diff,apply_blueprintmakes it so. Idempotent and never deletes unless you ask.Multi-server: one bot, many servers — every tool takes an optional
server.Safe by default: destructive tools need
confirm=true, optional read-only mode and server allowlist, every change logged to a channel of your choice.
1. Create your bot (once, ~3 minutes)
Open https://discord.com/developers/applications → New Application.
Bot → Reset Token → copy the token. Treat it like a password.
Same page → Privileged Gateway Intents: turn on Server Members Intent and Message Content Intent.
OAuth2 → URL Generator: scopes
bot+applications.commands, permissionAdministrator→ open the URL → add the bot to your server.Discord → Server Settings → Roles: drag the bot's role to the top. A bot can only manage roles below its own.
Related MCP server: Discord MCP
2. Connect it to Claude
Claude Desktop – one click
Download discord-blueprint-mcp.mcpb from the releases, double-click it, paste your bot token. Done.
Claude Code
claude mcp add discord --scope user -e DISCORD_TOKEN=YOUR_TOKEN -- npx -y discord-blueprint-mcpAny MCP client (Claude Desktop config, Cursor, VS Code, …)
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "discord-blueprint-mcp"],
"env": { "DISCORD_TOKEN": "YOUR_TOKEN", "DISCORD_GUILD_ID": "optional default server ID" }
}
}
}From source
git clone https://github.com/TobiiXTooks/discord-blueprint-mcp.git && cd discord-blueprint-mcp
npm install && npm run build
claude mcp add discord --scope user -e DISCORD_TOKEN=YOUR_TOKEN -- node /path/to/discord-blueprint-mcp/dist/index.jsThen just ask: "Show me my Discord server", "Create a poll in #general", "Build me a server for my study group".
Configuration
Variable | Default | Meaning |
| – (required) | Your bot token |
| – | Default server when a tool gets no |
| all | Comma-separated server IDs this MCP may touch |
|
| Only register tools that read |
|
| Remove the raw |
|
| Your blueprints and small per-server state (log channel, IDs of blueprint messages) |
|
| Where your own blueprints live |
For local development a .env file in the working directory or project folder is read too (see .env.example).
Blueprints
A blueprint describes a whole server. Everything is referenced by name, so one blueprint works on any server.
{
"name": "my-server",
"roles": [
{ "name": "Admin", "color": "#E74C3C", "hoist": true, "permissions": ["Administrator"] },
{ "name": "Member", "permissions": [] }
],
"categories": [
{
"name": "💬 Chat",
"permissions": { "@everyone": { "deny": ["ViewChannel"] }, "Member": { "allow": ["ViewChannel", "SendMessages"] } },
"channels": [{ "name": "general", "topic": "Say hi" }, { "name": "Lounge", "type": "voice" }]
}
],
"messages": [{ "key": "hello", "channel": "general", "content": "Welcome! Read #rules first.", "pin": true }]
}Sections: settings, roles (highest first), channels, categories (channels without permissions sync with their category), community, onboarding (questions → roles/channels), welcome_screen, automod, messages (posted once, edited on re-apply), log_channel, manual_steps (to-dos the bot API can't do). Full reference: blueprints/blueprint.schema.json — or ask Claude to call blueprint_format.
Workflow
"Build me a server for X" → Claude asks a few questions and writes a blueprint (
save_blueprint).plan_blueprint→ a preview of every change. Nothing happens yet.apply_blueprint→ done. Re-apply any time after editing the blueprint; only differences are changed.export_blueprintturns any existing server into a blueprint: backups, copies, or a starting point.
prune=true (+ confirm=true) additionally deletes roles and channels that are not in the blueprint.
Bundled examples: gaming-community, study-group, clash-clan-de (Clash of Clans clan, German).
Tools
Group | Tools |
Server |
|
Channels |
|
Roles |
|
Members |
|
Moderation |
|
Messages |
|
Community |
|
Events, emojis, invites, webhooks |
|
Blueprints |
|
Anything else |
|
Run node dist/index.js --list-tools to see each tool with its kind (read / write / destructive).
What Discord doesn't let bots do
Add other bots. A human must click Authorize.
bot_invite_linkbuilds the link with the right permissions; afterwards the MCP can give that bot roles and channel access.Use other bots' slash commands. Configure other bots via their own commands or web dashboard.
Rules screening & Server Guide are not in the bot API — set them in Server Settings → Onboarding. Blueprints list them under
manual_steps.Delete the server, transfer ownership, boosts/billing.
Things that should run 24/7 without Claude (welcome flows, role picking) are best done with Discord's built-in onboarding, welcome screen and AutoMod — which this MCP sets up for you.
Security
The token lives only in your MCP client config or
.env— never in the repository. Anyone with the token controls the bot.Destructive tools (delete, kick, ban, purge, prune) return a preview unless called with
confirm=true.Use
DISCORD_READONLYandDISCORD_ALLOWED_GUILDSto limit what the MCP can do.set_log_channel(orlog_channelin a blueprint) records every change in a channel.
Development
npm install
npm run build # generates blueprints/blueprint.schema.json and compiles to dist/
npm test # planner + blueprint tests (no Discord connection needed)
npm run dev # run from source with tsx
npm run pack:mcpb # build the Claude Desktop extension (discord-blueprint-mcp.mcpb)Publishing: npm publish (runs build + tests), then attach the .mcpb file to a GitHub release.
Roadmap: optional Streamable-HTTP transport so the server can run on a VPS and be added as a remote connector.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage a Discord server from Claude, ChatGPT or any MCP client. Sign in with Discord, no bot token.
- Discortics - Discord BotDeprecatedcom.discortics
Set up and manage your Discord server from MCP: channels, roles, verification, tickets and security.
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Build and change Discord bots by describing them: slash commands, events, embeds, modals and data.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants provision Discord servers (guilds, categories, channels, roles, permissions) from declarative blueprints via the Discord REST API, with idempotent diff-based planning and no deletions.15MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude, Cursor, or Codex to build and manage Discord servers end to end — creating channels, roles, permission overwrites, threads, webhooks, events, and messages, plus whole-server blueprints applied idempotently. Includes guard rails like read-only and safe modes, per-server allowlists, and permission explanations.MIT
- AlicenseAqualityBmaintenanceEnables natural-language administration of a whole Discord server from any MCP-compatible client: messages, channels, roles, permissions, moderation, AutoMod, emoji and stickers, server settings, and Unicode name styling. Includes a resumable server architect that turns a described structure into an ordered, idempotent plan, with preview-before-apply gating, permission preflight, and an audit trail for safety.177MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to manage Discord servers, channels, roles, permissions, messages, threads, webhooks, moderation, and declarative server blueprints through MCP tools over local stdio.MIT