Skip to main content
Glama
kfus

discord-admin-mcp

by kfus

Discord Admin MCP

A Model Context Protocol (MCP) server that empowers your AI assistants with full administrative control over your Discord server. It acts as a bridge between LLMs (like Claude) and the Discord API, allowing you to manage roles, channels, members, messages, and security configurations autonomously or via natural language commands.

✨ Features

  • Server Insights: Instantly retrieve server stats, member counts, and general configuration data.

  • Channel Management: Create, delete, edit, clone, and reorganize text and voice channels, including categories.

  • Role Administration: Create, assign, remove, and manage roles dynamically. Set precise permissions and hoist settings.

  • Moderation Tools: Kick, ban, timeout, server mute, server deafen, and fetch detailed member info.

  • Advanced Automation: Easily extensible to add permanent event listeners (e.g., AFK channel auto-muting, welcome messages).

  • Secure by Default: Connects safely via standard MCP stdio transport.

Related MCP server: @striderlabs/mcp-discord

🛠️ Requirements

  • Node.js (v18+)

  • A Discord Account

  • A Discord Developer Application

📥 Installation

Clone the repository and install the dependencies:

git clone https://github.com/YOUR_GITHUB_USERNAME/discord-admin-mcp.git
cd discord-admin-mcp
npm install

⚙️ Configuration

Before running the server, you must provide it with your Discord Bot Token and Server (Guild) ID.

1. Create a Discord Application

  1. Go to the Discord Developer Portal.

  2. Click New Application and give it a name (e.g., "MCP Admin").

2. Create the Bot & Get the Token

  1. In your application, navigate to the Bot tab on the left menu.

  2. Under Privileged Gateway Intents, enable ALL intents (Presence, Server Members, Message Content).

  3. Click Reset Token and copy the new Bot Token.

3. Get the Application & Guild IDs

  1. Navigate to the OAuth2 > General tab to copy your Client ID (Application ID).

  2. To get your Guild ID (Server ID), open Discord, go to Advanced Settings, enable Developer Mode, then right-click your Server icon and select Copy Server ID.

4. Setup .env

Rename the provided .env.example file to .env and paste your copied values:

DISCORD_TOKEN=your_bot_token_here
GUILD_ID=your_server_id_here
CLIENT_ID=your_client_id_here

5. Invite the Bot to Your Server

Generate an invite link by replacing YOUR_CLIENT_ID in the following URL with your actual Client ID: https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&integration_type=0&scope=bot (This link requests Administrator permissions to ensure the bot can fully manage the server).

🚀 Usage

Once configured, build and start the server:

npm run build
npm start

The server will connect to Discord and start listening for MCP requests on stdio!

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    B
    quality
    D
    maintenance
    A 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.
    Last updated
    21
    920
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A Dockerized MCP server that enables Discord integration, offering tools for role management, messaging, moderation, and server administration via natural language.
    Last updated
    1
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A 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.
    Last updated
    22
    920
    MIT

View all related MCP servers

Related MCP Connectors

  • An MCP server that integrates with Discord to provide AI-powered features.

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • MCP server for Gainium — manage trading bots, deals, and balances via AI assistants

View all MCP Connectors

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/kfus/discord-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server