Discord Server Creator MCP
Provides tools for managing Discord servers, including creating and configuring guilds, channels, roles, members, messages, emojis, stickers, webhooks, and templates, as well as applying declarative blueprints for one-shot server setup.
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 Server Creator MCPcreate a new support server from the default blueprint"
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 Server Creator MCP
A Model Context Protocol (MCP) server that gives AI agents full control over Discord server creation and configuration. Exposes 36 tools covering guild lifecycle, channels, roles, members, content, messages, templates, and a declarative blueprint engine.
Runtime: Bun 1.1+
Transport: stdio (local process)
Status: 183 tests passing — see
specs.md§14 for phase breakdown
Quick Start
Prerequisites
Bun 1.1+
1. Install
git clone <repo> dc-server-creator
cd dc-server-creator
bun install2. Create a Discord Bot
New Application → name it (e.g. "Server Creator")
Bot tab → Add Bot
Under Privileged Gateway Intents, enable Server Members Intent (required for member tools)
Copy the bot token
Invite the bot to a test guild via the OAuth2 URL Generator:
Scopes:
botPermissions:
Administrator(for testing) or select specific permissions
3. Register with your MCP Client
opencode — add to your opencode.json (project-level or ~/.config/opencode/opencode.json):
{
"mcp": {
"discord-server-creator": {
"type": "local",
"command": ["bun", "run", "/absolute/path/to/dc-server-creator/src/index.ts"],
"environment": {}
}
}
}Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"discord-server-creator": {
"command": "bun",
"args": ["run", "/absolute/path/to/dc-server-creator/src/index.ts"]
}
}
}Replace
/absolute/path/to/with the actual path frompwd(orcdon Windows).
Claude Code (plugin) — install as a plugin with automatic skill loading:
# Add the marketplace (one-time)
/plugin marketplace add ZepioCs/dc-server-creator-mcp
# Install the plugin
/plugin install dc-server-creator@dc-server-creator-mcpThe plugin installs a skill (dc-server-creator) that teaches Claude Code when and how to use all 36 tools. After installation, Claude automatically activates the skill when you describe Discord server tasks.
You still need to configure the bot token via configure_bot({ action: "setup", token }) — see step 4.
4. First Run
Start your MCP client (opencode / Claude Desktop)
The AI agent (or you) calls:
configure_bot({ action: "setup", token: "Bot <your-token>" })Server responds with the bot's identity and ready status
Try:
list_guilds({})to see all guilds the bot is in.
5. One-Shot Server Creation
Apply a ready-made blueprint — no per-channel/role calls needed:
apply_server_blueprint({
blueprint: { /* see examples/blueprints/ */ },
dryRun: true // validate first without making changes
})See examples/blueprints/ for pre-built server templates (gaming community, dev team, support server, community default).
Related MCP server: Discord MCP Server
Scripts
bun start # run the MCP server (stdio)
bun run typecheck # TypeScript type-check
bun run lint # Biome lint
bun test # run all tests (183+)
bun test --coverage # run with coverage reportTool Catalog
Group | Tools | Count |
Auth |
| 2 |
Guild |
| 5 |
Channel |
| 7 |
Role |
| 5 |
Member |
| 5 |
Messages |
| 4 |
Content |
| 4 |
Template |
| 2 |
Blueprint |
| 1 |
Log |
| 1 |
Total | 36 |
See specs.md §5 for full input/output schemas.
Error Handling
Every error returns a structured JSON payload with:
{
"error": "DISCORD_FORBIDDEN",
"message": "Bot lacks MANAGE_CHANNELS permission",
"hint": "The bot lacks the required permission. Check the bot's role permissions in the server.",
"retryable": false,
"traceId": "abc-123"
}The hint field explains the likely cause and how to fix it. See specs.md §7 for the full error hierarchy.
Blueprint Engine
The apply_server_blueprint tool accepts a declarative JSON blueprint to create an entire server in one call — including roles, categories, channels, permissions, emoji, stickers, webhooks, and onboarding messages.
{
"guild": { "name": "My Server", "verificationLevel": 1 },
"roles": [{ "name": "Admin", "permissions": ["ADMINISTRATOR"] }],
"categories": [{ "name": "General", "channels": [{ "name": "chat", "type": "text" }] }],
"messages": [{ "channelName": "chat", "content": "Welcome!" }]
}dryRun: validates without making API calls
continueOnError: keep going after failures
rollbackOnError: undo completed steps on failure
Execution order: guild → @everyone → roles → categories → children → standalone channels → guild settings → emoji → stickers → webhooks → messages.
See specs.md §6 for the full BlueprintSpec schema and execution order.
Project Layout
src/ # TypeScript source
├── index.ts # Entry point
├── server.ts # MCP server + tool registration
├── discord/ # Discord client, errors, mappings
├── engine/ # Blueprint engine (plan, apply, validate)
├── schemas/ # Zod schemas for all tools
├── tools/ # Tool handlers (one file per group)
└── utils/ # Logger, action log, env, retry
tests/ # Test suite
├── unit/ # Unit tests
└── integration/ # Integration tests (schema validation, etc.)
examples/ # User-facing examples
└── blueprints/ # Pre-built server blueprintsImplementation Status
Phase | Status | What |
1 — Foundation | ✅ | Project scaffold, Discord client, auth, basic guild tools |
2 — Configuration | ✅ | All channel/role/member tools, full guild CRUD |
3 — Content + Templates | ✅ | Emoji, sticker, webhook, template tools |
4 — Blueprint Engine | ✅ | Blueprint schema, validation, plan, apply with rollback, messages |
5 — Polish | 🔧 | Error audit (done), perf test (done), docs (done), coverage, mock tests |
See specs.md §14 for full details.
This server cannot be installed
Maintenance
Latest Blog Posts
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/ZepioCs/dc-server-creator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server