SuperAPIAI Directory

discord-management-mcp

github.com · AI developer platforms

Discord Management MCP is a locally running Model Context Protocol (MCP) server for securely inspecting, backing up, and managing Discord servers (guilds). It runs over stdio, keeps the bot token and backup files on the operator's machine, and sets up confirmation, backup, and restore protections before every mutating operation. The server provides 54 tools covering server inventory, audit, roles, channels, server settings, backups, and restore plans. It works with any MCP client that supports local stdio servers, including Claude Desktop, Claude Code, Cursor, VS Code, Codex, Windsurf, and Cline. The project is independently developed and is not affiliated with, endorsed by, sponsored by, or approved by Discord Inc.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Discord Management MCP is a locally running Model Context Protocol (MCP) server designed to provide secure-by-default management capabilities for Discord servers (guilds). It runs over stdio, keeps the bot token and backup files on the operator's machine, and sets up confirmation, backup, and restore protections before every mutating operation. The server provides 54 tools covering server inventory, audit, roles, channels, server settings, backups, and restore plans.

Purpose: for inspecting, backing up, and managing Discord servers, supporting any MCP client compatible with local stdio servers, such as Claude Desktop, Claude Code, Cursor, VS Code, Codex, Windsurf, and Cline.

Key capabilities:

  • Provides 54 tools covering server inventory, audit, roles, channels, server settings, backups, and restore plans.
  • Read-only tools require no confirmation; mutating tools require confirm: true and a non-empty audit reason, and execute serially through a shared queue.
  • Backups are created as atomically written JSON snapshots, stripping sensitive information such as invite codes and webhook tokens, and recording channel coverage.
  • Supports backup diff comparison and restore plan generation, with plans including a planHash and NOT_RESTORED warnings.
  • Restore application can verify expectedPlanHash, creates a pre-restore backup, and conservatively applies supported role and channel fields.
  • High-risk operations require a same-server backup or explicit allowWithoutBackup: true confirmation; emergency incident operations (discord_set_incident_actions) are exempt.

Usage:

  • Install via the npm package discord-management-mcp and run with a single command.
  • Register the command, arguments, and DISCORD_TOKEN environment variable in the MCP client configuration.
  • Requires Node.js 24 or later, and a Discord application with a bot token.
  • The bot must be invited to the target server and granted the required permissions.
  • Configuration is read from the process environment, then from .env.local in the working directory.

Use cases: Discord server administrators need to securely inspect, back up, andchange server settings, roles, channels, etc., and it is especially suitable for operations that require auditing and recovery safeguards.

Limitations:

  • Discord cannot restore original IDs after deletion and recreation, message or audit log history, exact invite codes, webhook tokens, or all community and discovery settings; the server reports these limitations.
  • Message content tools require both ENABLE_MESSAGE_CONTENT=true and the message content intent in the Discord Developer Portal.
  • As of 2026-11-16, Discord omits channels the bot cannot view, and backups record an incomplete coverage warning.
  • Privileged intent usage is reviewed at 10,000 users and must be reapplied for annually.
  • The project is independently developed and is not affiliated with Discord Inc.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools