MCP Discord Bot Server
Provides tools for automating Discord through a self-hosted Discord Agent Proxy, enabling AI agents to view account details, list guilds and channels, create text channels, manage members, send/edit/delete/read/search messages, add reactions, pin messages, and manage direct messages.
Click on "Deploy 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., "@MCP Discord Bot Server send a message to #general saying the deploy is complete"
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.
MCP Discord Bot Server
Inspect a Discord application bot and the servers it has joined from a local MCP client.
Connect a Discord application bot
Create a bot in the Discord Developer Portal and install it in the server you want to inspect. Supply the application's bot token to the local MCP process through DISCORDBOT_TOKEN. These tools use the Discord REST API with bot authentication and require no privileged gateway intents.
Configure the MCP client to run the following command over stdio. For example, with uv installed and DISCORDBOT_TOKEN set in the client's environment:
{
"mcpServers": {
"discord-bot": {
"command": "uvx",
"args": ["mcp-discord-bot", "--bot-account"]
}
}
}Call discord_whoami for the bot's ID and username. discord_list_guilds returns up to 200 server IDs and names. Pass the last ID as after to read another page.
Related MCP server: Discord MCP Server
Existing proxy installations
Running mcp-discord-bot without --bot-account preserves the separate Discord Agent Proxy interface. That client uses the instance URL DISCORD_BOT_BASE_URL and its own proxy access token DISCORD_BOT_TOKEN. The application bot mode uses only DISCORDBOT_TOKEN and connects directly to Discord. Discord prohibits automation of personal accounts.
Documentation
License
MIT
Available Tools
15 toolsdiscord_add_reactionA
Add an emoji reaction to a Discord message.
Args:
channel_id: The ID of the channel containing the message.
message_id: The ID of the message to react to.
emoji: The emoji to react with (Unicode or Discord custom emoji format).
Returns:
JSON confirmation of the reaction being added.
Inputs: emoji (required), channel_id (required), message_id (required). Returns: result
discord_create_dmA
Open a direct message (DM) channel with a Discord user.
Creates or retrieves the DM channel with the specified user.
Args:
recipient_id: The Discord user ID to open a DM with.
Returns:
JSON object with the DM channel ID, which can be used with other tools.
Inputs: recipient_id (required). Returns: result
discord_create_text_channelC
Create a new text channel in a Discord guild (server).
Args:
guild_id: The ID of the Discord guild.
name: The name for the new text channel.
Returns:
JSON object with the created channel details.
Inputs: name (required), guild_id (required). Returns: result
discord_delete_messageC
Delete a message from a Discord channel.
Args:
channel_id: The ID of the channel containing the message.
message_id: The ID of the message to delete.
Returns:
JSON confirmation of deletion or error details.
Inputs: channel_id (required), message_id (required). Returns: result
discord_edit_messageA
Edit a message previously sent by the proxied Discord account.
Only messages sent by the proxied account can be edited.
Args:
channel_id: The ID of the channel containing the message.
message_id: The ID of the message to edit.
content: The new text content for the message.
Returns:
JSON object with the updated message details.
Inputs: content (required), channel_id (required), message_id (required). Returns: result
discord_get_usage_guideA
Get a comprehensive guide for using the Discord Bot tools.
Provides detailed information on how to use the Discord Bot MCP tools
effectively, including available tools, parameters, and examples.
Returns:
Complete usage guide for Discord Bot tools.
Inputs: no named parameters. Returns: result
discord_list_channelsA
List all channels in a Discord guild (server).
Returns a list of all channels with their IDs, names, and types.
Args:
guild_id: The ID of the Discord guild. Use discord_list_guilds to find guild IDs.
Returns:
JSON array of channel objects.
Inputs: guild_id (required). Returns: result
discord_list_guildsA
List all Discord servers (guilds) the proxied account has joined.
Returns a list of all guilds with their IDs and names.
Returns:
JSON array of guild objects with id and name.
Inputs: no named parameters. Returns: result
discord_list_membersC
List members of a Discord guild (server).
Args:
guild_id: The ID of the Discord guild.
limit: Maximum number of members to return (default: 100).
Returns:
JSON array of member objects.
Inputs: guild_id (required), limit. Returns: result
discord_pin_messageC
Pin a message in a Discord channel.
Args:
channel_id: The ID of the channel containing the message.
message_id: The ID of the message to pin.
Returns:
JSON confirmation of the message being pinned.
Inputs: channel_id (required), message_id (required). Returns: result
discord_read_messagesB
Read recent messages from a Discord channel.
Args:
channel_id: The ID of the channel to read messages from.
limit: Number of recent messages to return (default: 50, max: 100).
Returns:
JSON array of message objects with author, content, and timestamp.
Inputs: channel_id (required), limit. Returns: result
discord_search_messagesC
Search for messages in a Discord channel.
Args:
channel_id: The ID of the channel to search in.
query: The search query string.
limit: Maximum number of results to return (default: 25).
Returns:
JSON array of matching message objects.
Inputs: query (required), channel_id (required), limit. Returns: result
discord_send_dmC
Send a direct message (DM) to a Discord user.
Args:
recipient_id: The Discord user ID to send the DM to.
content: The text content of the direct message.
Returns:
JSON object with the sent message details.
Inputs: content (required), recipient_id (required). Returns: result
discord_send_messageC
Send a message to a Discord channel.
Args:
channel_id: The ID of the channel to send the message to.
content: The text content of the message.
reply_to: Optional ID of a message to reply to.
Returns:
JSON object with the sent message details.
Inputs: content (required), channel_id (required), reply_to. Returns: result
discord_whoamiA
Get information about the currently proxied Discord account.
Returns the account details including username, ID, and discriminator
for the Discord account connected to this Agent Proxy.
Returns:
JSON object with the Discord account information.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource and action, so selection is generally unambiguous. There is minor overlap between discord_create_dm (opens a DM channel) and discord_send_dm (which implicitly does the same plus sends), and send_message vs send_dm could be confused, but descriptions clarify the boundaries.
Every tool follows a strict discord_verb_noun snake_case pattern (discord_send_message, discord_list_channels, discord_create_dm, etc.). The convention is uniform across all 15 tools with no deviations.
At 15 tools the surface sits at the top of the well-scoped range and each tool maps to a concrete Discord operation. Nothing feels redundant enough to remove, and no important area is padded with trivial variants.
Core messaging lifecycle (send/read/edit/delete/search), channels, guilds, members, reactions, pins, and DMs are well covered. Minor gaps exist: no channel delete/rename, no unpin, and no reaction removal, but agents can work around most of these.
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
Manage a Discord server from Claude, ChatGPT or any MCP client. Sign in with Discord, no bot token.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to read messages, discover channels, send messages, and monitor Discord communities using the Discord HTTP API.-
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels through the Discord API, with server and channel discovery.MIT
- AlicenseNot gradedqualityFmaintenanceMCP server that gives AI agents first-class access to Discord, enabling discovery, messaging, channel management, moderation, and arbitrary REST calls through typed, consent-aware tools.3MIT