Discord MCP Server
Provides tools for interacting with Discord, including sending and managing messages, reading channel history, managing guilds and channels, creating threads, managing pinned messages, and adding or removing reactions.
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 MCP Serversend a message to #general saying we'll start the standup in 10 minutes"
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 MCP Server ๐ค๐ฌ
A lightweight, zero-external-dependency Model Context Protocol (MCP) server for interacting with Discord through AI assistants like Google Antigravity, Claude Desktop, Cursor, and other MCP-compliant clients.
โจ Features
๐ฌ Messages: Read recent chat history, send messages, reply to threads/messages, edit and delete messages.
๐ข Servers & Guilds: List servers the bot belongs to, inspect member lists, roles, and guild details.
๐ Channels & Categories: Inspect channels, channel topics, and message metadata.
๐งต Threads: Create and participate in channel threads.
๐ Pins: Read, add, and remove pinned messages.
๐ Reactions: Add and remove reactions with unicode and custom emojis.
๐ Zero External Dependencies: Built entirely with Python's standard library (
urllib,json).
Related MCP server: poke_discord
๐ ๏ธ Tool Reference
Tool | Description |
| Get profile information and status of the authenticated bot user. |
| List all Discord servers (guilds) the bot is a member of. |
| Get details of a guild (members, roles, channels, emojis). |
| List all channels in a guild. |
| Get details of a specific channel or thread. |
| Retrieve recent messages from a channel (supports |
| Retrieve a single message by channel ID and message ID. |
| Send text messages, replies ( |
| Edit messages sent by the bot. |
| Delete a message in a channel. |
| Add emoji reactions to messages. |
| Remove bot reactions from messages. |
| List members of a guild. |
| List all pinned messages in a channel. |
| Pin a message in a channel. |
| Unpin a message in a channel. |
| Create a new thread in a channel or from an existing message. |
๐ Quickstart & Configuration
1. Prerequisites
Python 3.10+
A Discord Bot Token (obtain one from the Discord Developer Portal).
Ensure your bot has appropriate permissions (e.g. Read Messages/View Channels, Send Messages, Read Message History, Add Reactions, etc.).
2. Installation & Running
Clone the repository:
git clone https://github.com/swaritsoni6-lgtm/discord-mcp-server.git
cd discord-mcp-serverSet your token and run:
export DISCORD_BOT_TOKEN="your-bot-token-here"
python3 server.pyโ๏ธ Client Configurations
Antigravity / Gemini CLI (~/.gemini/config/mcp_config.json)
{
"mcpServers": {
"discord": {
"command": "python3",
"args": ["/path/to/discord-mcp-server/server.py"],
"env": {
"DISCORD_BOT_TOKEN": "your-bot-token-here"
}
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"discord": {
"command": "python3",
"args": ["/path/to/discord-mcp-server/server.py"],
"env": {
"DISCORD_BOT_TOKEN": "your-bot-token-here"
}
}
}
}๐ License
Maintenance
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
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Discord servers through a bot, supporting channel management, messaging, forum operations, reactions, and webhooks.221,062MIT
- FlicenseNot gradedqualityBmaintenanceEnables interaction with Discord through natural language, including reading and sending messages, managing servers, and user actions.
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Discord through the REST API and real-time events, supporting message management, user info, channel operations, and more with security controls.131MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.322MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Voice and chat for AI agents โ Discord, Teams, Meet, Slack, Zoom, Telegram, WhatsApp, NC Talk, SIP
Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/swaritsoni6-lgtm/discord-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server