mcp-discord
v1.5.4Model Context Protocol (MCP) server for Discord integration, allowing Claude and other MCP clients to interact with Discord
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
discord_create_category
Creates a new category in a Discord server.
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
name * | string | |
position | number | |
reason | string |
discord_edit_category
Edits an existing Discord category (name and position).
| Parameter | Type | Description |
|---|---|---|
categoryId * | string | |
name | string | |
position | number | |
reason | string |
discord_delete_category
Deletes a Discord category by ID.
| Parameter | Type | Description |
|---|---|---|
categoryId * | string | |
reason | string |
discord_login
Logs in to Discord using the configured token
| Parameter | Type | Description |
|---|---|---|
token | string |
discord_send
Sends a message to a specified Discord text channel. Optionally reply to another message by providing its message ID, and/or attach up to 10 embeds and up to 10 files (images etc.). Returns the sent message ID and URL.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
message * | string | The content of the message to send (may be empty when embeds or attachments are supplied). |
attachments | array | Up to 10 files (e.g. images) to upload with the message. Each needs a name and exactly one of url (official Discord CDNs plus optional custom hosts) or data (base64; size capped by DISCORD_ATTACHMENT_… |
embeds | array | Up to 10 embeds to attach to the message. |
replyToMessageId | string | The ID of the message to reply to, if any. |
discord_get_forum_channels
Lists all forum channels in a specified Discord server (guild)
| Parameter | Type | Description |
|---|---|---|
guildId * | string |
discord_create_forum_post
Creates a new post in a Discord forum channel with optional tags
| Parameter | Type | Description |
|---|---|---|
content * | string | |
forumChannelId * | string | |
title * | string | |
pinned | boolean | Pin the post to the top of the forum channel after creating it |
tags | array |
discord_get_forum_post
Retrieves details about a forum post including its messages
| Parameter | Type | Description |
|---|---|---|
threadId * | string |
discord_list_forum_threads
Lists all threads (posts) in a Discord forum channel, including both active and archived threads
| Parameter | Type | Description |
|---|---|---|
forumChannelId * | string | The ID of the forum channel to list threads from |
includeArchived | boolean | Whether to include archived threads (default: true) |
limit | number | Maximum number of archived threads to fetch (default: 100, max: 100) |
discord_reply_to_forum
Adds a reply to an existing forum post or thread
| Parameter | Type | Description |
|---|---|---|
message * | string | |
threadId * | string |
discord_create_text_channel
Creates a new text channel in a Discord server with an optional topic and parent category
| Parameter | Type | Description |
|---|---|---|
channelName * | string | |
guildId * | string | |
categoryId | string | Parent category ID to place the channel under |
topic | string |
discord_create_forum_channel
Creates a new forum channel in a Discord server, optionally under a category
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
name * | string | |
categoryId | string | The ID of the parent category to create the channel under |
topic | string | The forum channel guidelines/description |
discord_edit_channel
Edits a Discord channel's name, topic, parent category, or position
| Parameter | Type | Description |
|---|---|---|
channelId * | string | The ID of the channel to edit |
name | string | New name for the channel |
parentId | string | The ID of a category to move the channel under |
position | number | New position of the channel in the list |
reason | string | Reason for editing (shown in audit log) |
topic | string | New topic for the channel |
discord_delete_channel
Deletes a Discord channel with an optional reason
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
reason | string |
discord_read_messages
Retrieves messages from a Discord text channel. Supports date-based filtering via before/after/around params (accepts snowflake IDs or ISO 8601 dates). Each message includes its jump URL, webhook ID (when posted through a webhook), the full embed content (author/footer/image/thumbnail/fields) and the attachments (name, url, contentType, size). embeds and attachments are arrays (use .length for the former count).
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
after | string | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages after this point. |
around | string | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages around this point. |
before | string | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages before this point. |
limit | number |
discord_get_server_info
Retrieves detailed information about a Discord server including channels and member count
| Parameter | Type | Description |
|---|---|---|
guildId * | string |
discord_add_reaction
Adds an emoji reaction to a specific Discord message
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
emoji * | string | |
messageId * | string |
discord_add_multiple_reactions
Adds multiple emoji reactions to a Discord message at once
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
emojis * | array | |
messageId * | string |
discord_remove_reaction
Removes a specific emoji reaction from a Discord message
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
emoji * | string | |
messageId * | string | |
userId | string |
discord_get_reaction_users
Lists the users who reacted with a specific emoji to a Discord message. Uses REST fetch and does not require Gateway intents. Returns up to 100 users per call.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
emoji * | string | Unicode emoji name (e.g. '🟢') or custom emoji name. |
messageId * | string | |
limit | number |
discord_delete_forum_post
Deletes a forum post or thread with an optional reason
| Parameter | Type | Description |
|---|---|---|
threadId * | string | |
reason | string |
discord_get_forum_tags
Gets all available tags for a Discord forum channel, including tag IDs, names, and emoji
| Parameter | Type | Description |
|---|---|---|
forumChannelId * | string | The ID of the forum channel to get tags from |
discord_set_forum_tags
Sets the available tags for a Discord forum channel. Replaces all existing tags.
| Parameter | Type | Description |
|---|---|---|
forumChannelId * | string | The ID of the forum channel to set tags on |
tags * | array | Array of tag objects to set on the forum channel |
discord_update_forum_post
Updates a forum post's title, applied tags, archived status, locked status, or pinned status. Tags can be specified by name or ID.
| Parameter | Type | Description |
|---|---|---|
threadId * | string | The ID of the forum post/thread to update |
archived | boolean | Whether to archive or unarchive the post |
locked | boolean | Whether to lock or unlock the post |
name | string | New title for the forum post |
pinned | boolean | Whether to pin or unpin the post at the top of its forum channel |
tags | array | Tags to apply (by name or ID). Replaces all existing tags. |
discord_edit_message
Edits a message previously sent by the bot. Only messages authored by the bot can be edited.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | The ID of the channel containing the message |
content * | string | The new content for the message |
messageId * | string | The ID of the message to edit |
discord_forward_message
Forwards an existing message, including its attachments (e.g. images), to another channel like Discord's Forward button. Works across servers the bot is in. The forward is a snapshot and cannot be edited afterwards.
| Parameter | Type | Description |
|---|---|---|
messageId * | string | The ID of the message to forward |
sourceChannelId * | string | The ID of the channel containing the message to forward |
targetChannelId * | string | The ID of the channel to forward the message to |
discord_delete_message
Deletes a specific message from a Discord text channel
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
messageId * | string | |
reason | string |
discord_pin_message
Pins a message to its channel. A channel can hold at most 50 pinned messages.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | The ID of the channel containing the message |
messageId * | string | The ID of the message to pin |
reason | string | Optional reason for audit logs |
discord_unpin_message
Removes a message from its channel's pinned messages.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | The ID of the channel containing the message |
messageId * | string | The ID of the message to unpin |
reason | string | Optional reason for audit logs |
discord_list_pinned_messages
Lists the pinned messages of a channel, newest pin first.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | The ID of the channel to list pinned messages from |
limit | number | Maximum number of pinned messages to return (1-50, default 50) |
discord_create_webhook
Creates a new webhook for a Discord channel
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
name * | string | |
avatar | string | |
reason | string |
discord_send_webhook_message
Sends a message to a Discord channel using a webhook
| Parameter | Type | Description |
|---|---|---|
content * | string | |
webhookId * | string | |
webhookToken * | string | |
avatarURL | string | |
threadId | string | |
username | string |
discord_edit_webhook
Edits an existing webhook for a Discord channel
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | |
avatar | string | |
channelId | string | |
name | string | |
reason | string | |
webhookToken | string |
discord_delete_webhook
Deletes an existing webhook for a Discord channel
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | |
reason | string | |
webhookToken | string |
discord_list_servers
Lists all Discord servers the bot is a member of
discord_search_messages
Searches for messages in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | The ID of the Discord server (guild) to search within |
authorId | string | Filter messages by a specific user ID |
authorType | string | Filter messages by author type (user, bot, webhook) |
channelId | string | Filter messages within a specific channel ID |
content | string | Search for messages containing specific text |
has | string | Filter messages that contain specific content types (e.g., link, embed, file, poll, image, video, sound, sticker, snapshot) |
limit | number | Maximum number of messages to return (default 25, max 100) |
maxId | string | Filter messages with IDs less than this value (messages before this ID) |
mentions | string | Filter messages that mention a specific user ID |
minId | string | Filter messages with IDs greater than this value (messages after this ID) |
offset | number | Number of messages to skip (for pagination) |
pinned | boolean | Filter messages based on whether they are pinned |
sortBy | string | Sort results by 'timestamp' or 'relevance' |
sortOrder | string | Sort order: 'desc' for descending or 'asc' for ascending |
discord_list_roles
Lists all roles in a Discord server with their properties
| Parameter | Type | Description |
|---|---|---|
guildId * | string |
discord_create_role
Creates a new role in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
name * | string | |
color | string | Hex color string (e.g. '#FF0000') or color name |
hoist | boolean | Whether the role should be displayed separately in the sidebar |
mentionable | boolean | Whether the role can be mentioned by anyone |
permissions | array | Array of permission flag names (e.g. ['SendMessages', 'ViewChannel']) |
reason | string |
discord_edit_role
Edits an existing role in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
roleId * | string | |
color | string | Hex color string (e.g. '#FF0000') or color name |
hoist | boolean | |
mentionable | boolean | |
name | string | |
permissions | array | Array of permission flag names |
position | number | New position in the role hierarchy |
reason | string |
discord_delete_role
Deletes a role from a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
roleId * | string | |
reason | string |
discord_assign_role
Assigns a role to a member in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
roleId * | string | |
userId * | string | |
reason | string |
discord_remove_role
Removes a role from a member in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
roleId * | string | |
userId * | string | |
reason | string |
discord_list_members
Lists members in a Discord server with their roles
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
after | string | User ID to paginate after |
limit | number | Maximum number of members to return (default 100, max 1000) |
discord_search_members
Search server members by the start of their username or nickname (prefix match, case-insensitive). Use it to find a member's user ID.
| Parameter | Type | Description |
|---|---|---|
guildId * | string | The ID of the server (guild) to search in. |
query * | string | Start of a username or nickname. |
limit | number | Maximum number of members to return (default 10, max 1000) |
discord_send_dm
Send a direct message to a member of a server the bot is in. Refused if the user is not a member of that server or a safety limit applies; fails if the user does not accept DMs from server members.
| Parameter | Type | Description |
|---|---|---|
guildId * | string | The server (guild) the recipient must be a member of. |
message * | string | The content of the direct message (max 2000 characters). |
userId * | string | The ID of the user to send the direct message to. |
discord_create_scheduled_event
Create a scheduled event in a server. voice = in a voice channel (needs channelId); external = elsewhere (needs location and endTime).
| Parameter | Type | Description |
|---|---|---|
entityType * | string | voice = in a voice channel of the server, external = somewhere else. |
guildId * | string | The ID of the server (guild) to create the event in. |
name * | string | Name of the event (max 100 characters). |
startTime * | string | Start time as ISO 8601 with offset, e.g. 2026-11-20T18:00:00+01:00. |
channelId | string | Voice channel ID. Required for voice events. |
description | string | Description of the event (max 1000 characters). |
endTime | string | End time as ISO 8601 with offset. Required for external events. |
location | string | Location or link (max 100 characters). Required for external events. |
reason | string | Optional reason for audit logs. |
discord_list_scheduled_events
List the scheduled events of a server with start, end, status, location and number of interested members.
| Parameter | Type | Description |
|---|---|---|
guildId * | string | The ID of the server (guild) to list events for. |
discord_delete_scheduled_event
Delete a scheduled event.
| Parameter | Type | Description |
|---|---|---|
eventId * | string | The ID of the scheduled event to delete. |
guildId * | string | The ID of the server (guild) the event belongs to. |
discord_get_member
Gets detailed information about a specific member in a Discord server
| Parameter | Type | Description |
|---|---|---|
guildId * | string | |
userId * | string |
discord_create_voice_channel
Creates a new voice channel in a Discord server with an optional parent category
| Parameter | Type | Description |
|---|---|---|
channelName * | string | |
guildId * | string | |
categoryId | string | Parent category ID to place the channel under |
reason | string | |
userLimit | number | Maximum number of users allowed (0 for unlimited) |
discord_set_channel_permissions
Sets permission overrides for a role or user on a channel or category
| Parameter | Type | Description |
|---|---|---|
channelId * | string | Channel or category ID |
roleId * | string | Role or user ID to set permissions for |
allow | array | Permission flags to allow (e.g. ['ViewChannel', 'SendMessages']) |
deny | array | Permission flags to deny (e.g. ['ViewChannel', 'SendMessages']) |
reason | string |
discord_remove_channel_permissions
Removes all permission overrides for a role or user on a channel or category
| Parameter | Type | Description |
|---|---|---|
channelId * | string | Channel or category ID |
roleId * | string | Role or user ID to remove overrides for |
reason | string |