Skip to main content
Glama
MCP Discord Bot Server

MCP Discord Bot Server

MCP Discord Bot Server

Inspect a Discord application bot and the servers it has joined from a local MCP client.

AceDataCloud/DiscordBotMCP MCP server

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

Documentation

License

MIT

Available Tools

15 tools
discord_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

    A3.5/5.0

    Scored across 15 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.
      2
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      MCP 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.
      3
      MIT