discord-mcp
Provides tools for managing Discord servers, channels, categories, messages, users/DMs, roles, webhooks, active threads, pins, and channel permissions via the Discord API.
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.
@taeraekim/discord-mcp
A Model Context Protocol (MCP) server for the Discord API using discord.js v14. Provides 37 tools for managing Discord servers, channels, messages, users, roles, and more — all accessible from MCP-compatible clients like Claude Desktop, Claude Code, and Cursor.
Quick Start
claude mcp add discord-mcp \
-e DISCORD_TOKEN=your_token \
-e DISCORD_GUILD_ID=your_guild_id \
-- npx -y @taeraekim/discord-mcpOn Windows, prefix with
cmd /c:-- cmd /c npx -y @taeraekim/discord-mcp
Related MCP server: Discord MCP Server
Installation
Claude Code
# macOS / Linux
claude mcp add discord-mcp -e DISCORD_TOKEN=your_token -e DISCORD_GUILD_ID=your_guild_id -- npx -y @taeraekim/discord-mcp
# Windows
claude mcp add discord-mcp -e DISCORD_TOKEN=your_token -e DISCORD_GUILD_ID=your_guild_id -- cmd /c npx -y @taeraekim/discord-mcpVerify with claude mcp list.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "@taeraekim/discord-mcp"],
"env": {
"DISCORD_TOKEN": "your_token",
"DISCORD_GUILD_ID": "your_guild_id"
}
}
}
}On Windows, use
"command": "cmd"with"args": ["/c", "npx", "-y", "@taeraekim/discord-mcp"].
Cursor
Add to ~/.cursor/mcp.json or .cursor/mcp.json in your project:
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y", "@taeraekim/discord-mcp"],
"env": {
"DISCORD_TOKEN": "your_token",
"DISCORD_GUILD_ID": "your_guild_id"
}
}
}
}Docker
docker run --rm -i \
-e DISCORD_TOKEN=your_token \
-e DISCORD_GUILD_ID=your_guild_id \
taerae/discord-mcp:latestFrom Source
git clone https://github.com/TaeRaeKim/discord-mcp.git
cd discord-mcp
npm install
cp .env.example .env # edit .env with your token
npm run build
npm startEnvironment Variables
Variable | Required | Description |
| Yes | Discord bot token |
| No | Default guild ID. When set, |
Tools
Server Info (1)
Tool | Description |
| Get detailed server information |
Messages (6)
Tool | Description |
| Send a message to a text channel |
| Edit an existing message |
| Delete a message |
| Read message history from a channel |
| Add an emoji reaction to a message |
| Remove the bot's emoji reaction |
Users & DM (5)
Tool | Description |
| Find a user's ID by username |
| Send a DM to a user |
| Edit a DM sent by the bot |
| Delete a DM sent by the bot |
| Read DM history with a user |
Channels (4)
Tool | Description |
| Create a new channel (text, voice, announcement, stage, or forum) |
| Delete a channel |
| Find a channel by name |
| List all channels in the server |
Categories (4)
Tool | Description |
| Create a new category |
| Delete a category |
| Find a category by name |
| List channels in a category |
Webhooks (4)
Tool | Description |
| Create a webhook on a channel |
| Delete a webhook |
| List webhooks on a channel |
| Send a message via webhook |
Threads (1)
Tool | Description |
| List active threads in the server |
Roles (6)
Tool | Description |
| List all roles in the server |
| Create a new role |
| Edit an existing role |
| Delete a role |
| Assign a role to a user |
| Remove a role from a user |
Pins (3)
Tool | Description |
| Pin a message in a text channel |
| Unpin a message in a text channel |
| List all pinned messages in a channel |
Permissions (3)
Tool | Description |
| Set permission overwrite for a role or member on a channel |
| Remove a permission overwrite from a channel |
| Get all permission overwrites for a channel |
Documentation
Setup Guide — Bot creation, environment setup, and detailed configuration
Tools Reference — Full parameter reference for all 37 tools
License
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
- Discortics - Discord BotDeprecatedcom.discortics
Set up and manage your Discord server from MCP: channels, roles, verification, tickets and security.
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables comprehensive Discord bot management and server operations through MCP, including channel management, message handling, member moderation, role management, and voice operations. Provides secure Discord API integration with built-in permission controls and audit logging capabilities.1919MIT
- FlicenseNot gradedqualityDmaintenanceProvides 33 tools for managing Discord servers, including channel and role administration, member moderation, and complex multi-step administrative workflows. It features built-in rate limiting and uses direct Discord REST API calls for efficient server operations.2-
- AlicenseAqualityDmaintenanceAn MCP server providing 26 tools for Discord API interactions, enabling message management, moderation, channel operations, and server inspection through Claude Code, Paperclip agents, or other MCP-compatible clients.26MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes Discord API as tools, enabling users to manage servers, channels, messages, and roles through natural language.-