Discord MCP Server
Provides tools for interacting with Discord via a bot, including sending, editing, deleting, and replying to messages; managing channels; retrieving server, member, and role information; and performing moderation actions such as kicking, banning, unbanning, and timing out members.
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 MCP Server
A Model Context Protocol (MCP) server that exposes Discord bot capabilities to Claude.
Installation
npm install -g @buzzicra/discord-mcpOr use directly with npx:
npx @buzzicra/discord-mcpRelated MCP server: discord-mcp
Features
26 tools covering messaging, channels, servers, members, roles, and moderation
Full Discord.js v14 integration
TypeScript with strict typing
Prerequisites
Node.js 18+
Discord Bot Token - Create a bot at Discord Developer Portal
Bot Permissions
Your Discord bot needs these permissions:
Read Messages/View Channels
Send Messages
Manage Messages
Add Reactions
Manage Channels (for channel operations)
Kick Members
Ban Members
Moderate Members (for timeouts)
Manage Roles
Required Intents
Enable these Privileged Gateway Intents in the Discord Developer Portal:
Server Members Intent
Message Content Intent
Installation
# Clone or navigate to the directory
cd discord_mcp
# Install dependencies
npm install
# Build
npm run buildConfiguration
Environment Variable
Set DISCORD_BOT_TOKEN in your environment:
export DISCORD_BOT_TOKEN="your-bot-token"Claude Code MCP Config
Add to your ~/.claude.json or project's .mcp.json:
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["/path/to/discord_mcp/dist/index.js"],
"env": {
"DISCORD_BOT_TOKEN": "your-bot-token"
}
}
}
}Available Tools
Messaging (6 tools)
Tool | Description |
| Send a message to a channel |
| Get recent messages from a channel |
| Edit an existing message |
| Delete a message |
| Add reaction to a message |
| Reply to a specific message |
Channels (5 tools)
Tool | Description |
| List all channels in a server |
| Get channel details |
| Create a new channel |
| Delete a channel |
| Update channel settings |
Server (3 tools)
Tool | Description |
| Get server details |
| List all servers the bot is in |
| Get server statistics |
Members (4 tools)
Tool | Description |
| List server members |
| Get member details |
| Search members by username |
| Get roles for a member |
Roles (4 tools)
Tool | Description |
| List all server roles |
| Add role to member |
| Remove role from member |
| Create a new role |
Moderation (4 tools)
Tool | Description |
| Kick a member from server |
| Ban a member from server |
| Unban a user |
| Timeout a member |
Usage Examples
Once configured, you can use natural language with Claude:
"List all the servers my Discord bot is in"
"Send a message to channel 123456789 saying 'Hello!'"
"Get the last 10 messages from channel 123456789"
"Create a new text channel called 'announcements' in server 987654321"
"Timeout user 111222333 for 10 minutes"
Development
# Watch mode for development
npm run dev
# Type checking
npm run typecheckTroubleshooting
"DISCORD_BOT_TOKEN environment variable is required"
Make sure you've set the token in your MCP config or environment.
"Missing Access" errors
Check that your bot has the required permissions and intents enabled.
Bot not responding to channel operations
Ensure the bot has access to the specific channel and server.
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
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
- Discortics - Discord BotDeprecatedcom.discortics
Set up and manage your Discord server from MCP: channels, roles, verification, tickets and security.
Publish and schedule Discord server posts from your AI assistant.
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Discord through the Model Context Protocol, providing access to all Discord features like channels, messages, threads, reactions, and roles. Supports secure Discord bot operations with rate limiting, caching, and comprehensive API coverage for OpenAI, LangChain, and other MCP clients.MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to manage Discord servers through the Discord API, supporting server info, messaging, channel management, webhooks, and user interactions.11 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to interact with Discord servers, including sending messages, reading channels, managing threads, and adding reactions via natural language commands.MIT
- AlicenseAqualityCmaintenanceEnables Claude or any MCP client to operate a Discord bot through 35 tools, covering reading channels, searching history, posting and replying, managing channels, threads and roles, moderating members, and reading the audit log. It runs locally as a stateless subprocess, making plain HTTPS calls to Discord's REST API with no gateway connection.35MIT