mcp-discord

v1.5.4
mcp-discord Checked 2 hours ago Published 4 days ago

Model 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.

ParameterTypeDescription
guildId *string
name *string
positionnumber
reasonstring

discord_edit_category

Edits an existing Discord category (name and position).

ParameterTypeDescription
categoryId *string
namestring
positionnumber
reasonstring

discord_delete_category

Deletes a Discord category by ID.

ParameterTypeDescription
categoryId *string
reasonstring

discord_login

Logs in to Discord using the configured token

ParameterTypeDescription
tokenstring

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.

ParameterTypeDescription
channelId *string
message *stringThe content of the message to send (may be empty when embeds or attachments are supplied).
attachmentsarrayUp 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_…
embedsarrayUp to 10 embeds to attach to the message.
replyToMessageIdstringThe ID of the message to reply to, if any.

discord_get_forum_channels

Lists all forum channels in a specified Discord server (guild)

ParameterTypeDescription
guildId *string

discord_create_forum_post

Creates a new post in a Discord forum channel with optional tags

ParameterTypeDescription
content *string
forumChannelId *string
title *string
pinnedbooleanPin the post to the top of the forum channel after creating it
tagsarray

discord_get_forum_post

Retrieves details about a forum post including its messages

ParameterTypeDescription
threadId *string

discord_list_forum_threads

Lists all threads (posts) in a Discord forum channel, including both active and archived threads

ParameterTypeDescription
forumChannelId *stringThe ID of the forum channel to list threads from
includeArchivedbooleanWhether to include archived threads (default: true)
limitnumberMaximum number of archived threads to fetch (default: 100, max: 100)

discord_reply_to_forum

Adds a reply to an existing forum post or thread

ParameterTypeDescription
message *string
threadId *string

discord_create_text_channel

Creates a new text channel in a Discord server with an optional topic and parent category

ParameterTypeDescription
channelName *string
guildId *string
categoryIdstringParent category ID to place the channel under
topicstring

discord_create_forum_channel

Creates a new forum channel in a Discord server, optionally under a category

ParameterTypeDescription
guildId *string
name *string
categoryIdstringThe ID of the parent category to create the channel under
topicstringThe forum channel guidelines/description

discord_edit_channel

Edits a Discord channel's name, topic, parent category, or position

ParameterTypeDescription
channelId *stringThe ID of the channel to edit
namestringNew name for the channel
parentIdstringThe ID of a category to move the channel under
positionnumberNew position of the channel in the list
reasonstringReason for editing (shown in audit log)
topicstringNew topic for the channel

discord_delete_channel

Deletes a Discord channel with an optional reason

ParameterTypeDescription
channelId *string
reasonstring

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).

ParameterTypeDescription
channelId *string
afterstringSnowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages after this point.
aroundstringSnowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages around this point.
beforestringSnowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages before this point.
limitnumber

discord_get_server_info

Retrieves detailed information about a Discord server including channels and member count

ParameterTypeDescription
guildId *string

discord_add_reaction

Adds an emoji reaction to a specific Discord message

ParameterTypeDescription
channelId *string
emoji *string
messageId *string

discord_add_multiple_reactions

Adds multiple emoji reactions to a Discord message at once

ParameterTypeDescription
channelId *string
emojis *array
messageId *string

discord_remove_reaction

Removes a specific emoji reaction from a Discord message

ParameterTypeDescription
channelId *string
emoji *string
messageId *string
userIdstring

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.

ParameterTypeDescription
channelId *string
emoji *stringUnicode emoji name (e.g. '🟢') or custom emoji name.
messageId *string
limitnumber

discord_delete_forum_post

Deletes a forum post or thread with an optional reason

ParameterTypeDescription
threadId *string
reasonstring

discord_get_forum_tags

Gets all available tags for a Discord forum channel, including tag IDs, names, and emoji

ParameterTypeDescription
forumChannelId *stringThe 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.

ParameterTypeDescription
forumChannelId *stringThe ID of the forum channel to set tags on
tags *arrayArray 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.

ParameterTypeDescription
threadId *stringThe ID of the forum post/thread to update
archivedbooleanWhether to archive or unarchive the post
lockedbooleanWhether to lock or unlock the post
namestringNew title for the forum post
pinnedbooleanWhether to pin or unpin the post at the top of its forum channel
tagsarrayTags 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.

ParameterTypeDescription
channelId *stringThe ID of the channel containing the message
content *stringThe new content for the message
messageId *stringThe 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.

ParameterTypeDescription
messageId *stringThe ID of the message to forward
sourceChannelId *stringThe ID of the channel containing the message to forward
targetChannelId *stringThe ID of the channel to forward the message to

discord_delete_message

Deletes a specific message from a Discord text channel

ParameterTypeDescription
channelId *string
messageId *string
reasonstring

discord_pin_message

Pins a message to its channel. A channel can hold at most 50 pinned messages.

ParameterTypeDescription
channelId *stringThe ID of the channel containing the message
messageId *stringThe ID of the message to pin
reasonstringOptional reason for audit logs

discord_unpin_message

Removes a message from its channel's pinned messages.

ParameterTypeDescription
channelId *stringThe ID of the channel containing the message
messageId *stringThe ID of the message to unpin
reasonstringOptional reason for audit logs

discord_list_pinned_messages

Lists the pinned messages of a channel, newest pin first.

ParameterTypeDescription
channelId *stringThe ID of the channel to list pinned messages from
limitnumberMaximum number of pinned messages to return (1-50, default 50)

discord_create_webhook

Creates a new webhook for a Discord channel

ParameterTypeDescription
channelId *string
name *string
avatarstring
reasonstring

discord_send_webhook_message

Sends a message to a Discord channel using a webhook

ParameterTypeDescription
content *string
webhookId *string
webhookToken *string
avatarURLstring
threadIdstring
usernamestring

discord_edit_webhook

Edits an existing webhook for a Discord channel

ParameterTypeDescription
webhookId *string
avatarstring
channelIdstring
namestring
reasonstring
webhookTokenstring

discord_delete_webhook

Deletes an existing webhook for a Discord channel

ParameterTypeDescription
webhookId *string
reasonstring
webhookTokenstring

discord_list_servers

Lists all Discord servers the bot is a member of

discord_search_messages

Searches for messages in a Discord server

ParameterTypeDescription
guildId *stringThe ID of the Discord server (guild) to search within
authorIdstringFilter messages by a specific user ID
authorTypestringFilter messages by author type (user, bot, webhook)
channelIdstringFilter messages within a specific channel ID
contentstringSearch for messages containing specific text
hasstringFilter messages that contain specific content types (e.g., link, embed, file, poll, image, video, sound, sticker, snapshot)
limitnumberMaximum number of messages to return (default 25, max 100)
maxIdstringFilter messages with IDs less than this value (messages before this ID)
mentionsstringFilter messages that mention a specific user ID
minIdstringFilter messages with IDs greater than this value (messages after this ID)
offsetnumberNumber of messages to skip (for pagination)
pinnedbooleanFilter messages based on whether they are pinned
sortBystringSort results by 'timestamp' or 'relevance'
sortOrderstringSort order: 'desc' for descending or 'asc' for ascending

discord_list_roles

Lists all roles in a Discord server with their properties

ParameterTypeDescription
guildId *string

discord_create_role

Creates a new role in a Discord server

ParameterTypeDescription
guildId *string
name *string
colorstringHex color string (e.g. '#FF0000') or color name
hoistbooleanWhether the role should be displayed separately in the sidebar
mentionablebooleanWhether the role can be mentioned by anyone
permissionsarrayArray of permission flag names (e.g. ['SendMessages', 'ViewChannel'])
reasonstring

discord_edit_role

Edits an existing role in a Discord server

ParameterTypeDescription
guildId *string
roleId *string
colorstringHex color string (e.g. '#FF0000') or color name
hoistboolean
mentionableboolean
namestring
permissionsarrayArray of permission flag names
positionnumberNew position in the role hierarchy
reasonstring

discord_delete_role

Deletes a role from a Discord server

ParameterTypeDescription
guildId *string
roleId *string
reasonstring

discord_assign_role

Assigns a role to a member in a Discord server

ParameterTypeDescription
guildId *string
roleId *string
userId *string
reasonstring

discord_remove_role

Removes a role from a member in a Discord server

ParameterTypeDescription
guildId *string
roleId *string
userId *string
reasonstring

discord_list_members

Lists members in a Discord server with their roles

ParameterTypeDescription
guildId *string
afterstringUser ID to paginate after
limitnumberMaximum 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.

ParameterTypeDescription
guildId *stringThe ID of the server (guild) to search in.
query *stringStart of a username or nickname.
limitnumberMaximum 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.

ParameterTypeDescription
guildId *stringThe server (guild) the recipient must be a member of.
message *stringThe content of the direct message (max 2000 characters).
userId *stringThe 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).

ParameterTypeDescription
entityType *stringvoice = in a voice channel of the server, external = somewhere else.
guildId *stringThe ID of the server (guild) to create the event in.
name *stringName of the event (max 100 characters).
startTime *stringStart time as ISO 8601 with offset, e.g. 2026-11-20T18:00:00+01:00.
channelIdstringVoice channel ID. Required for voice events.
descriptionstringDescription of the event (max 1000 characters).
endTimestringEnd time as ISO 8601 with offset. Required for external events.
locationstringLocation or link (max 100 characters). Required for external events.
reasonstringOptional 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.

ParameterTypeDescription
guildId *stringThe ID of the server (guild) to list events for.

discord_delete_scheduled_event

Delete a scheduled event.

ParameterTypeDescription
eventId *stringThe ID of the scheduled event to delete.
guildId *stringThe ID of the server (guild) the event belongs to.

discord_get_member

Gets detailed information about a specific member in a Discord server

ParameterTypeDescription
guildId *string
userId *string

discord_create_voice_channel

Creates a new voice channel in a Discord server with an optional parent category

ParameterTypeDescription
channelName *string
guildId *string
categoryIdstringParent category ID to place the channel under
reasonstring
userLimitnumberMaximum number of users allowed (0 for unlimited)

discord_set_channel_permissions

Sets permission overrides for a role or user on a channel or category

ParameterTypeDescription
channelId *stringChannel or category ID
roleId *stringRole or user ID to set permissions for
allowarrayPermission flags to allow (e.g. ['ViewChannel', 'SendMessages'])
denyarrayPermission flags to deny (e.g. ['ViewChannel', 'SendMessages'])
reasonstring

discord_remove_channel_permissions

Removes all permission overrides for a role or user on a channel or category

ParameterTypeDescription
channelId *stringChannel or category ID
roleId *stringRole or user ID to remove overrides for
reasonstring