discord-node-mcp

v1.2.0
io.github.Oratorian/discord-node-mcp Checked 3 days ago Published 10 days ago

MCP server for controlling Discord servers via bot token

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

discord_list_guilds List Discord Servers

List all Discord servers (guilds) the bot has access to. Returns server names, IDs, member counts, and owner information. Args: - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of guilds with id, name, memberCount, icon, ownerId

ParameterTypeDescription
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_guild Get Discord Server Info

Get detailed information about a specific Discord server. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Server details including name, member count, owner, and icon

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_leave_guild Leave Discord Server

Leave a Discord server (guild). The bot will no longer have access to this server. WARNING: This is a destructive action. The bot will need to be re-invited to rejoin. Args: - guild_id (string): Discord server/guild ID to leave - confirm (boolean): Must be set to true to confirm leaving Returns: Confirmation message with server details

ParameterTypeDescription
confirm *booleanMust be set to true to confirm leaving the server
guild_id *stringDiscord server/guild ID (snowflake)

discord_edit_guild Edit Discord Server

Edit server settings like name, verification level, and system channel. Args: - guild_id (string): Discord server/guild ID - name (string, optional): New server name - verification_level (string, optional): 'none', 'low', 'medium', 'high', 'very_high' - default_notifications (string, optional): 'all_messages' or 'only_mentions' - afk_channel_id (string, optional): AFK voice channel ID - afk_timeout (number, optional): AFK timeout in seconds - system_channel_id (string, optional): System messages channel - system_channel_flags (object, optional): System channel behavior Return…

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
afk_channel_idstringAFK voice channel ID
afk_timeoutintegerAFK timeout in seconds (60, 300, 900, 1800, 3600)
default_notificationsstringDefault notification settings for new members
namestringNew server name
system_channel_flagsobjectSystem channel behavior flags
system_channel_idstringSystem messages channel ID
verification_levelstringVerification level required for members

discord_list_channels List Discord Channels

List channels visible to the bot in a Discord server. Args: - guild_id (string): Discord server/guild ID - type ('text' | 'voice' | 'category' | 'all'): Filter by channel type (default: 'all') - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of channels with id, name, type, topic, and category info

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data
typestringFilter by channel type

discord_get_channel Get Discord Channel Info

Get detailed information about a specific channel. Args: - channel_id (string): Discord channel ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Channel details including name, type, topic, and category

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_channel Create Discord Channel

Create a new channel or category in a Discord server. Args: - guild_id (string): Discord server/guild ID - name (string): Channel name - type ('text' | 'voice' | 'category' | 'forum'): Channel type (default: 'text') - topic (string, optional): Channel topic (text/forum channels only) - parent_id (string, optional): Category ID to create channel under (not for categories) - nsfw (boolean, optional): Whether the channel is NSFW (text/forum channels only) - bitrate (number, optional): Bitrate for voice channels (8000-384000) - user_limit (number, optional): User limit for voice c…

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
name *stringChannel name
available_tagsarrayAvailable tags for forum posts (max 20 tags)
bitrateintegerBitrate for voice channels (8000-384000)
default_forum_layoutstringDefault layout for forum channel
default_reaction_emojistringDefault reaction emoji for forum posts - use emoji character (e.g., '👍') or custom emoji ID
default_sort_orderstringDefault sort order for forum posts
nsfwbooleanWhether the channel is NSFW (text/forum channels only)
parent_idstringCategory ID to create channel under (not for categories)
topicstringChannel topic (text/forum channels only)
typestringChannel type: 'text', 'voice', 'category', or 'forum'
user_limitintegerUser limit for voice channels (0 = unlimited)

discord_delete_channel Delete Discord Channel

Delete a channel from a Discord server. This action is permanent! Args: - channel_id (string): Discord channel ID to delete Returns: Confirmation of deletion

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)

discord_edit_channel Edit Discord Channel

Edit a channel's properties including name, topic, category, position, and more. Args: - channel_id (string): Discord channel ID - name (string, optional): New channel name - topic (string, optional): New channel topic - parent_id (string, optional): Move to a different category (or 'none' to remove from category) - position (number, optional): New position of the channel - nsfw (boolean, optional): Whether the channel is NSFW - bitrate (number, optional): Bitrate for voice channels (8000-384000) - user_limit (number, optional): User limit for voice channels - default_reacti…

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
available_tagsarrayAvailable tags for forum posts (max 20 tags)
bitrateintegerBitrate for voice channels
default_forum_layoutstringDefault layout for forum channel
default_reaction_emojistringDefault reaction emoji for forum posts - use emoji character (e.g., '👍') or custom emoji ID, use 'none' to remove
default_sort_orderstringDefault sort order for forum posts
namestringNew channel name
nsfwbooleanWhether the channel is NSFW
parent_idstringMove channel to a different category (use 'none' to remove from category)
positionintegerNew position of the channel
topicstringNew channel topic
user_limitintegerUser limit for voice channels

discord_set_channel_permissions Set Channel Permissions

Set permission overrides for a role or member on a channel. Common permission names: - View: ViewChannel - Messages: SendMessages, ReadMessageHistory, ManageMessages, EmbedLinks, AttachFiles, AddReactions - Voice: Connect, Speak, Stream, MuteMembers, DeafenMembers, MoveMembers - Threads: CreatePublicThreads, CreatePrivateThreads, SendMessagesInThreads - Management: ManageChannels, ManageRoles, ManageWebhooks Args: - channel_id (string): Discord channel ID - target_id (string): Role or User ID to set permissions for - target_type ('role' | 'member'): Whether target is a role or member…

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
target_id *stringRole or User ID to set permissions for
target_type *stringWhether target is a role or member
allowarrayPermissions to allow (e.g., ['ViewChannel', 'SendMessages', 'ReadMessageHistory'])
denyarrayPermissions to deny (e.g., ['SendMessages', 'AddReactions'])

discord_remove_channel_permissions Remove Channel Permission Overrides

Remove all permission overrides for a role or member on a channel. Args: - channel_id (string): Discord channel ID - target_id (string): Role or User ID to remove permission overrides for Returns: Confirmation of removal

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
target_id *stringRole or User ID to remove permission overrides for

discord_get_channel_permissions Get Channel Permissions

Get all permission overrides for a channel. Args: - channel_id (string): Discord channel ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of permission overrides with allow/deny for each role/member

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_sync_channel_permissions Sync Channel Permissions with Category

Sync a channel's permissions with its parent category. Args: - channel_id (string): Discord channel ID Returns: Confirmation of sync

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)

discord_create_forum_post Create Discord Forum Post

Create a new post (thread) in a Discord forum channel. To reply within an existing forum post, use discord_send_message with the post's ID as the channel_id. Args: - channel_id (string): Forum channel ID to create the post in - name (string): Post title (max 100 characters) - content (string, optional): Text for the opening message (max 2000 characters) - embeds, files, link_buttons (arrays, optional): Rich content for the opening message - allowed_mentions (object, optional): Limit notifications to the supplied role and user IDs - applied_tags (string[], optional): Tag IDs to ap…

ParameterTypeDescription
channel_id *stringForum channel ID to create the post in
name *stringPost title (max 100 characters)
allowed_mentionsobjectLimit pings to the supplied user and role IDs. An empty object suppresses all pings.
applied_tagsarrayTag IDs to apply to the post (max 5). Tag IDs come from the forum channel's available_tags
auto_archive_durationstringMinutes of inactivity before the post auto-archives: '60' (1h), '1440' (1 day), '4320' (3 days), '10080' (1 week)
contentstringMessage text (up to 2000 characters)
embedsarrayRich embeds (up to 10, 6000 text characters across all embeds)
filesarrayBase64 attachments (up to 10 files and 20 MiB of decoded data per call)
link_buttonsarrayLink buttons that open URLs, with up to 5 buttons per row
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_list_forum_posts List Discord Forum Posts

List posts (threads) in a Discord forum channel. Args: - channel_id (string): Forum channel ID to list posts from - include_archived (boolean): Also include archived/closed posts (default: false) - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of forum posts with their tags and status

ParameterTypeDescription
channel_id *stringForum channel ID to list posts from
include_archivedbooleanWhether to also include archived (closed) posts
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_forum_post Get Discord Forum Post

Get details of a single forum post (thread). Args: - post_id (string): Forum post (thread) ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: The forum post details including tags, status, and message count

ParameterTypeDescription
post_id *stringForum post (thread) ID
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_edit_forum_post Edit Discord Forum Post

Edit or moderate a forum post (thread): rename, retag, archive, lock, or pin. Args: - post_id (string): Forum post (thread) ID - name (string, optional): New post title (max 100 characters) - applied_tags (string[], optional): Replace the post's tags with these tag IDs (max 5) - archived (boolean, optional): true to archive/close, false to reopen - locked (boolean, optional): true to lock (mods only can post), false to unlock - pinned (boolean, optional): true to pin to top of forum, false to unpin - auto_archive_duration ('60' | '1440' | '4320' | '10080', optional): Minutes bef…

ParameterTypeDescription
post_id *stringForum post (thread) ID
applied_tagsarrayReplace the post's tags with this set of tag IDs (max 5). Supplying this replaces all existing tags
archivedbooleanSet true to archive (close) the post, false to reopen it
auto_archive_durationstringMinutes of inactivity before the post auto-archives: '60' (1h), '1440' (1 day), '4320' (3 days), '10080' (1 week)
lockedbooleanSet true to lock the post (only moderators can send messages), false to unlock
namestringNew post title (max 100 characters)
pinnedbooleanSet true to pin the post to the top of the forum, false to unpin
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_delete_forum_post Delete Discord Forum Post

Permanently delete a forum post (thread) and all its messages. Args: - post_id (string): Forum post (thread) ID to delete Returns: Confirmation of deletion

ParameterTypeDescription
post_id *stringForum post (thread) ID to delete

discord_send_message Send Discord Message

Send message text, rich embeds, files, or link buttons to a Discord channel. Args: - channel_id (string): Discord channel ID - content (string, optional): Message text (max 2000 characters) - reply_to (string, optional): Message ID to reply to - allowed_mentions (object, optional): Limit notifications to the supplied role IDs, user IDs, or reply author Returns: The sent message details including ID

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
allowed_mentionsobject
contentstringMessage text (up to 2000 characters)
embedsarrayRich embeds (up to 10, 6000 text characters across all embeds)
filesarrayBase64 attachments (up to 10 files and 20 MiB of decoded data per call)
link_buttonsarrayLink buttons that open URLs, with up to 5 buttons per row
reply_tostringOptional message ID to reply to

discord_get_messages Get Discord Messages

Retrieve messages from a Discord channel. Args: - channel_id (string): Discord channel ID - limit (number): Number of messages to retrieve (1-100, default: 20) - before (string, optional): Get messages before this message ID - after (string, optional): Get messages after this message ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of messages with content, author, timestamp, and attachment details including IDs, descriptions, and spoiler state

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
afterstringGet messages after this message ID
beforestringGet messages before this message ID
limitintegerNumber of messages to retrieve (1-100)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_delete_message Delete Discord Message

Delete a message from a Discord channel. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID to delete Returns: Confirmation of deletion

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringDiscord message ID (snowflake)

discord_edit_message Edit Discord Message

Edit a message sent by the bot. Append new files or edit existing attachment descriptions and spoiler flags. Existing attachments are kept. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID to edit - content (string or null, optional): New message text, or null to clear it - embeds (array, optional): Replace embeds, with an empty array to clear them - link_buttons (array, optional): Replace link buttons, with an empty array to clear them - attachment_updates (array, optional): Change the description or spoiler flag of an attachment by ID Returns:…

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringDiscord message ID (snowflake)
allowed_mentionsobjectLimit pings to the supplied user and role IDs. An empty object suppresses all pings.
attachment_updatesarrayEdit descriptions or spoiler flags on existing attachments and keep every file
contentNew message text, or null to clear existing text
embedsarrayRich embeds (up to 10, 6000 text characters across all embeds)
filesarrayBase64 attachments (up to 10 files and 20 MiB of decoded data per call)
link_buttonsarrayLink buttons that open URLs, with up to 5 buttons per row

discord_add_reaction Add Reaction to Message

Add an emoji reaction to a message. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID to react to - emoji (string): Emoji to react with (e.g., '👍' or custom emoji format) Returns: Confirmation of reaction added

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
emoji *stringEmoji to react with (unicode emoji or custom emoji format)
message_id *stringDiscord message ID (snowflake)

discord_remove_reaction Remove Reaction from Message

Remove the bot's emoji reaction from a message. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID - emoji (string): Emoji to remove Returns: Confirmation of reaction removed

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
emoji *stringEmoji reaction to remove
message_id *stringDiscord message ID (snowflake)

discord_pin_message Pin Discord Message

Pin a message in a channel. In a guild channel the bot needs PIN_MESSAGES. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID to pin - reason (string, optional): Reason visible in the guild audit log Returns: Confirmation of message pinned

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringDiscord message ID (snowflake)
reasonstringReason visible in the guild audit log

discord_unpin_message Unpin Discord Message

Unpin a message in a channel. In a guild channel the bot needs PIN_MESSAGES. Args: - channel_id (string): Discord channel ID - message_id (string): Message ID to unpin - reason (string, optional): Reason visible in the guild audit log Returns: Confirmation of message unpinned

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringDiscord message ID (snowflake)
reasonstringReason visible in the guild audit log

discord_get_pinned_messages Get Pinned Messages

Get pinned messages in a channel. In a guild channel the bot needs VIEW_CHANNEL and READ_MESSAGE_HISTORY to see pins. Args: - channel_id (string): Discord channel ID - limit (number, optional): Maximum pins per page (1-50, default: 50). Supply this to receive pagination metadata. - before (string, optional): Get messages pinned before this ISO 8601 timestamp. Use next_before from the previous page. - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: A list of pinned messages by default. Supplying limit or before adds pin timestamps and pagination metad…

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
beforestringISO 8601 pin timestamp. Use next_before from the previous page.
limitintegerMaximum number of pins in a page. Supply a limit to receive pagination metadata.
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_list_members List Discord Members

List members in a Discord server. Args: - guild_id (string): Discord server/guild ID - limit (number): Maximum number of members (1-100, default: 20) - after (string, optional): Pass the highest user ID from the previous page - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of members with username, nickname, roles, join date

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
afterstringGet members after this user ID (for pagination)
limitintegerMaximum number of members to return
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_member Get Discord Member

Get detailed information about a specific member. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Member details including username, nickname, roles, join date

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_move_member Move Member to Voice Channel

Move a member to a different voice channel or disconnect them from voice. The member must currently be connected to a voice channel to be moved. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID to move - channel_id (string | null): Target voice channel ID, or null to disconnect Returns: Confirmation of move or disconnect

ParameterTypeDescription
channel_id *Target voice channel ID, or null to disconnect the user
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)

discord_set_nickname Set Member Nickname

Set or clear a member's nickname. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID - nickname (string, optional): New nickname (empty/null to reset) Returns: Confirmation of nickname change

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
nickname *New nickname (max 32 chars) or null to clear
user_id *stringDiscord user ID (snowflake)

discord_list_roles List Discord Roles

List all roles in a Discord server. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of roles with name, color, position, permissions

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_add_role Add Role to Member

Add a role to a Discord member. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID - role_id (string): Discord role ID to add Returns: Confirmation of role added

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
role_id *stringDiscord role ID (snowflake)
user_id *stringDiscord user ID (snowflake)

discord_remove_role Remove Role from Member

Remove a role from a Discord member. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID - role_id (string): Discord role ID to remove Returns: Confirmation of role removed

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
role_id *stringDiscord role ID (snowflake)
user_id *stringDiscord user ID (snowflake)

discord_create_role Create Discord Role

Create a new role in a Discord server. Args: - guild_id (string): Discord server/guild ID - name (string): Role name - color (number, optional): Role color as decimal integer (e.g., 16711680 for red) - mentionable (boolean): Whether the role can be mentioned (default: false) - hoist (boolean): Whether to display role members separately (default: false) Returns: The created role's details

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
name *stringRole name
colorintegerRole color as decimal (e.g., 16711680 for red)
hoistbooleanWhether to display role members separately
mentionablebooleanWhether the role can be mentioned
permissionsarrayArray of permission names (e.g., ['SendMessages', 'ManageChannels'])

discord_delete_role Delete Discord Role

Delete a role from a Discord server. This action is permanent! Args: - guild_id (string): Discord server/guild ID - role_id (string): Discord role ID to delete Returns: Confirmation of deletion

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
role_id *stringDiscord role ID (snowflake)

discord_edit_role Edit Discord Role

Edit a role's properties including name, color, and permissions. Common permission names: - Admin: Administrator (grants all permissions) - General: ManageGuild, ManageRoles, ManageChannels, KickMembers, BanMembers, ModerateMembers - Messages: SendMessages, ManageMessages, EmbedLinks, AttachFiles, ReadMessageHistory, MentionEveryone - Voice: Connect, Speak, MuteMembers, DeafenMembers, MoveMembers, Stream - Other: ManageEmojisAndStickers, ManageWebhooks, ManageEvents, ViewAuditLog Args: - guild_id (string): Discord server/guild ID - role_id (string): Discord role ID to edit - name (stri…

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
role_id *stringDiscord role ID (snowflake)
colorintegerNew role color as decimal
hoistbooleanWhether to display role members separately
mentionablebooleanWhether the role can be mentioned
namestringNew role name
permissionsarrayNew permission names array

discord_set_role_positions Set Role Positions

Reorder role hierarchy by setting role positions. Higher position = more authority in the hierarchy. The @everyone role is always at position 0. Roles can only manage other roles below them in the hierarchy. IMPORTANT: The bot can only move roles that are below its own highest role in the hierarchy. Args: - guild_id (string): Discord server/guild ID - positions (array): Array of objects with: - role_id (string): Discord role ID - position (number): New position for the role (higher = more authority) Returns: Confirmation of position changes

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
positions *arrayArray of role positions to set

discord_kick_member Kick Discord Member

Kick a member from a Discord server. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID to kick - reason (string, optional): Reason for kick (visible in audit log) Returns: Confirmation of kick

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)
reasonstringReason for kick (visible in audit log)

discord_ban_member Ban Discord Member

Ban a member from a Discord server. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID to ban - reason (string, optional): Reason for ban (visible in audit log) - delete_message_days (number): Days of messages to delete (0-7, default: 0) Returns: Confirmation of ban

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)
delete_message_daysintegerNumber of days of messages to delete (0-7)
reasonstringReason for ban (visible in audit log)

discord_unban_member Unban Discord Member

Remove a ban from a user. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID to unban Returns: Confirmation of unban

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)

discord_timeout_member Timeout Member

Timeout (mute) a member for a specified duration. They cannot send messages, react, or join voice. Args: - guild_id (string): Discord server/guild ID - user_id (string): Discord user ID to timeout - duration_minutes (number): Timeout duration in minutes (0 to remove, max 40320 = 28 days) - reason (string, optional): Reason for timeout (visible in audit log) Returns: Confirmation of timeout

ParameterTypeDescription
duration_minutes *integerTimeout duration in minutes (max 28 days = 40320)
guild_id *stringDiscord server/guild ID (snowflake)
user_id *stringDiscord user ID (snowflake)
reasonstringReason for timeout

discord_list_bans List Bans

List all banned users in a server. Args: - guild_id (string): Discord server/guild ID - limit (number): Number of bans to return (1-1000, default 100) - response_format ('json' | 'markdown'): Output format Returns: List of banned users with reasons

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
limitintegerNumber of bans to return (1-1000)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_prune_members Prune Members

Remove inactive members from the server. Args: - guild_id (string): Discord server/guild ID - days (number): Days of inactivity required (1-30) - include_roles (string[], optional): Role IDs to include in prune (by default only members without roles) - dry_run (boolean): If true, returns count without actually pruning (default true) Returns: Number of members pruned (or would be pruned if dry_run)

ParameterTypeDescription
days *integerNumber of days of inactivity (1-30)
guild_id *stringDiscord server/guild ID (snowflake)
dry_runbooleanIf true, only returns count without actually pruning
include_rolesarrayRole IDs to include in prune (normally members with roles are excluded)

discord_get_audit_log Get Audit Log

Get Discord audit log entries with actor, target, changes, and event details. Requires View Audit Log. Filter by user ID and by event code or name, including CHANNEL_POSITION_UPDATE and ROLE_POSITION_UPDATE. Discord can merge repeated actions into one entry, with options.count giving the combined count for these events. Use before for older entries or after for newer entries. JSON returns an array by default. Set include_pagination or supply a cursor to get an object with entries and a continuation cursor when the page is full.

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
action_typeFilter by Discord audit event code or name, such as CHANNEL_POSITION_UPDATE
afterReturn newer entries after this audit log ID, oldest first. Use '0' to start at the oldest entry.
beforestringReturn older entries before this audit log ID, newest first
include_paginationbooleanInclude a continuation cursor with the results even when no before or after cursor is supplied
limitintegerNumber of entries to retrieve
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data
user_idstringFilter by user who performed actions

discord_list_automod_rules List Auto Moderation Rules

List all auto moderation rules for a server. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: List of auto moderation rules

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_automod_rule Get Auto Moderation Rule

Get details of a specific auto moderation rule. Args: - guild_id (string): Discord server/guild ID - rule_id (string): Auto moderation rule ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Auto moderation rule details

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
rule_id *stringAuto moderation rule ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_automod_rule Create Auto Moderation Rule

Create a new auto moderation rule for a server. Args: - guild_id (string): Discord server/guild ID - name (string): Rule name - event_type ('message_send'): Event that triggers the rule - trigger_type ('keyword' | 'spam' | 'keyword_preset' | 'mention_spam'): Trigger type - trigger_metadata (object, optional): Trigger configuration (keyword_filter, presets, etc.) - actions (array): Actions to take (block_message, send_alert_message, timeout) - enabled (boolean): Whether rule is enabled (default: true) - exempt_roles (array, optional): Role IDs exempt from this rule - exempt_c…

ParameterTypeDescription
actions *arrayActions to take when rule is triggered
event_type *stringEvent type that triggers the rule
guild_id *stringDiscord server/guild ID (snowflake)
name *stringRule name
trigger_type *stringType of content that triggers the rule
enabledbooleanWhether the rule is enabled
exempt_channelsarrayChannels exempt from this rule
exempt_rolesarrayRoles exempt from this rule
trigger_metadataobjectTrigger configuration

discord_edit_automod_rule Edit Auto Moderation Rule

Edit an existing auto moderation rule. Args: - guild_id (string): Discord server/guild ID - rule_id (string): Auto moderation rule ID - name (string, optional): New rule name - trigger_metadata (object, optional): New trigger configuration - actions (array, optional): New actions - enabled (boolean, optional): Enable/disable rule - exempt_roles (array, optional): New exempt roles - exempt_channels (array, optional): New exempt channels Returns: Updated rule details

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
rule_id *stringAuto moderation rule ID (snowflake)
actionsarray
enabledboolean
event_typestring
exempt_channelsarray
exempt_rolesarray
namestring
trigger_metadataobject

discord_delete_automod_rule Delete Auto Moderation Rule

Delete an auto moderation rule from a server. Args: - guild_id (string): Discord server/guild ID - rule_id (string): Auto moderation rule ID to delete Returns: Confirmation of deletion

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
rule_id *stringAuto moderation rule ID (snowflake)

discord_list_emojis List Emojis

List all custom emojis in a server. Args: - guild_id (string): Discord server/guild ID - response_format ('json' | 'markdown'): Output format Returns: List of emojis with name, ID, and whether animated

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_emoji Create Emoji

Create a custom emoji in a server. The bot needs CREATE_GUILD_EXPRESSIONS. Args: - guild_id (string): Discord server/guild ID - name (string): Emoji name (2-32 chars, alphanumeric and underscores) - image_url (string): URL of image (PNG, JPG, GIF under 256KB) - roles (string[], optional): Role IDs that can use this emoji Returns: Created emoji details

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
image_url *stringURL of the image to use for the emoji
name *stringEmoji name (2-32 alphanumeric characters)

discord_delete_emoji Delete Emoji

Delete a custom emoji from a server. Args: - guild_id (string): Discord server/guild ID - emoji_id (string): Discord emoji ID Returns: Confirmation of deletion

ParameterTypeDescription
emoji_id *stringDiscord emoji ID (snowflake)
guild_id *stringDiscord server/guild ID (snowflake)

discord_list_stickers List Stickers

List all custom stickers in a server. Args: - guild_id (string): Discord server/guild ID - response_format ('json' | 'markdown'): Output format Returns: List of stickers with name, description, and format

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_delete_sticker Delete Sticker

Delete a custom sticker from a server. Args: - guild_id (string): Discord server/guild ID - sticker_id (string): Discord sticker ID Returns: Confirmation of deletion

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
sticker_id *stringDiscord sticker ID (snowflake)

discord_list_webhooks List Webhooks

List webhooks in a guild or channel. Args: - guild_id (string, optional): List all webhooks in the server - channel_id (string, optional): List webhooks for a specific channel - response_format ('json' | 'markdown'): Output format Returns: List of webhooks with name, channel, and URL

ParameterTypeDescription
channel_idstringChannel ID to list webhooks for a specific channel
guild_idstringGuild ID to list all webhooks in the server
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_webhook Create Webhook

Create a webhook in a channel. Args: - channel_id (string): Discord channel ID - name (string): Webhook name - avatar_url (string, optional): Avatar image URL Returns: Created webhook details including URL

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
name *stringWebhook name
avatar_urlstringURL of avatar image for the webhook

discord_edit_webhook Edit Webhook

Edit an existing webhook. Args: - webhook_id (string): Discord webhook ID - name (string, optional): New webhook name - channel_id (string, optional): Move webhook to different channel Returns: Updated webhook details

ParameterTypeDescription
webhook_id *stringDiscord webhook ID (snowflake)
channel_idstringMove webhook to a different channel
namestringNew webhook name

discord_delete_webhook Delete Webhook

Delete a webhook. Args: - webhook_id (string): Discord webhook ID Returns: Confirmation of deletion

ParameterTypeDescription
webhook_id *stringDiscord webhook ID (snowflake)

discord_list_invites List Invites

List all active invites in a server. Args: - guild_id (string): Discord server/guild ID - response_format ('json' | 'markdown'): Output format Returns: List of invites with code, uses, max uses, expiration

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_invite Create Invite

Create an invite link for a channel. Supply target_user_ids for an invite restricted to specific Discord users, and role_ids to grant roles on acceptance. Either option creates a new invite code. Args: - channel_id (string): Discord channel ID - max_age (number): Duration in seconds (0 = never expires, max 604800 = 7 days) - max_uses (number): Max uses (0 = unlimited) - temporary (boolean): Kick members when they disconnect if not assigned a role - unique (boolean): Create new unique invite vs reuse existing - target_user_ids (string[], optional): Only these users can see and acce…

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
max_ageintegerInvite expiration in seconds (0 = never, max 604800 = 7 days)
max_usesintegerMax uses (0 = unlimited)
role_idsarrayRoles granted to users who accept the invite. Requires Manage Roles and sufficient role hierarchy.
target_user_idsarrayLimit acceptance of the invite to these Discord users (1-1000 IDs)
temporarybooleanWhether membership is temporary
uniquebooleanWhether to create a unique invite. Invites with target users or roles always use a new code.

discord_list_invite_target_users List Invite Target Users

List the Discord users allowed to accept a targeted invite. Available to the inviter or callers with Manage Server or View Audit Log.

ParameterTypeDescription
invite_code *stringDiscord invite code
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_edit_invite_target_users Edit Invite Target Users

Add or remove specific users on an existing targeted invite. Available to the inviter or callers with Manage Server. Removing a user affects future acceptance of the invite. Use member management to remove roles or memberships already granted.

ParameterTypeDescription
action *stringAdd users to or remove users from the invite's target list
invite_code *stringDiscord invite code
user_ids *arrayDiscord user IDs to add or remove (1-1000 IDs)

discord_delete_invite Delete Invite

Delete an invite by its code. Args: - invite_code (string): The invite code to delete Returns: Confirmation of deletion

ParameterTypeDescription
invite_code *stringInvite code to delete

discord_list_events List Scheduled Events

List all scheduled events in a server. Args: - guild_id (string): Discord server/guild ID - response_format ('json' | 'markdown'): Output format Returns: List of events with name, time, location, and status

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_create_event Create Scheduled Event

Create a scheduled event in a server. The bot needs CREATE_EVENTS. Args: - guild_id (string): Discord server/guild ID - name (string): Event name - description (string, optional): Event description - scheduled_start_time (string): ISO8601 timestamp for start - scheduled_end_time (string, optional): ISO8601 timestamp for end - entity_type ('stage' | 'voice' | 'external'): Type of event - channel_id (string, optional): Channel ID for stage/voice events - location (string, optional): Location for external events Returns: Created event details

ParameterTypeDescription
entity_type *stringEvent type: stage instance, voice channel, or external location
guild_id *stringDiscord server/guild ID (snowflake)
name *stringEvent name
scheduled_start_time *stringISO8601 timestamp for event start
channel_idstringChannel ID for stage/voice events
descriptionstringEvent description
entity_metadataobjectMetadata for external events (location)
scheduled_end_timestringISO8601 timestamp for event end (required for external events)

discord_delete_event Delete Scheduled Event

Delete a scheduled event from a server. Args: - guild_id (string): Discord server/guild ID - event_id (string): Discord scheduled event ID Returns: Confirmation of deletion

ParameterTypeDescription
event_id *stringDiscord scheduled event ID (snowflake)
guild_id *stringDiscord server/guild ID (snowflake)

discord_get_welcome_screen Get Welcome Screen

Get the welcome screen configuration for a server. Requires the server to have Community features enabled. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Welcome screen settings including description and channels

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_edit_welcome_screen Edit Welcome Screen

Edit the welcome screen configuration for a server. Requires the server to have Community features enabled and bot must have MANAGE_GUILD permission. Args: - guild_id (string): Discord server/guild ID - enabled (boolean, optional): Enable/disable the welcome screen - description (string, optional): Server description (max 140 chars) - welcome_channels (array, optional): Up to 5 channels to show (channel_id, description, emoji) Returns: Updated welcome screen settings

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
descriptionstringThe server description shown in the welcome screen (max 140 chars)
enabledbooleanWhether the welcome screen is enabled
welcome_channelsarrayWelcome screen channels (max 5)

discord_get_onboarding Get Server Onboarding

Get the onboarding configuration for a server. Onboarding guides new members through a questionnaire to customize their experience. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Onboarding settings including prompts, options, and default channels

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_edit_onboarding Edit Server Onboarding

Edit the onboarding configuration for a server. Configure prompts/questions that new members answer to customize their server experience. Each prompt can assign roles or show channels based on member selections. Args: - guild_id (string): Discord server/guild ID - prompts (array, optional): Onboarding prompts with options - default_channel_ids (array, optional): Channels shown to all new members - enabled (boolean, optional): Enable/disable onboarding - mode ('onboarding_default' | 'onboarding_advanced', optional): Onboarding mode Returns: Updated onboarding configuration

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
default_channel_idsarrayChannels shown to new members by default
enabledbooleanWhether onboarding is enabled
modestringOnboarding mode
promptsarrayOnboarding prompts/questions

discord_setup_onboarding Setup Server Onboarding

Setup and enable onboarding for a server from scratch. This tool configures the complete onboarding experience for new members. The server must have Community features enabled. Requirements: - Server must have Community features enabled (done in Discord Server Settings) - At least one default channel must be specified - At least one prompt with options must be provided - Each option must have at least one role_ids OR channel_ids Args: - guild_id (string): Discord server/guild ID - default_channel_ids (string[]): Channels shown to all new members (required, at least one) - prompts (arr…

ParameterTypeDescription
default_channel_ids *arrayChannels shown to new members by default (at least one required)
guild_id *stringDiscord server/guild ID (snowflake)
prompts *arrayOnboarding prompts/questions (at least one required)
enabledbooleanWhether to enable onboarding after setup
modestringOnboarding mode

discord_get_community_settings Get Community Settings

Get the community settings for a server. Shows rules channel, updates channel, and other community-related settings. Args: - guild_id (string): Discord server/guild ID - response_format ('markdown' | 'json'): Output format (default: 'json') Returns: Community settings including channels and features

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_setup_community Setup Community Server

Configure the required channels for a Community server. Sets the rules channel and public updates channel which are required for Community features. The server must already have Community enabled in Discord Server Settings. Args: - guild_id (string): Discord server/guild ID - rules_channel_id (string): Channel for server rules (required) - public_updates_channel_id (string): Channel for Discord updates (required) - description (string, optional): Server description (max 120 chars) - preferred_locale (string, optional): Preferred language (e.g., 'en-US', 'de') - safety_alerts_chan…

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
public_updates_channel_id *stringChannel for Discord community updates (required for Community)
rules_channel_id *stringChannel for server rules (required for Community)
descriptionstringServer description (max 120 chars)
preferred_localestringPreferred language (e.g., 'en-US', 'de', 'fr')
safety_alerts_channel_idstringChannel for safety alerts from Discord

discord_update_bot_profile Update the Bot's Global Profile

Update the authenticated bot's global avatar or banner. Provide at least one field. Omitted fields keep their current value. Pass null to clear an image.

ParameterTypeDescription
avatarPNG, JPEG, or GIF avatar as a base64 data URI or Discord CDN URL. Pass null to clear.
bannerPNG, JPEG, or GIF banner as a base64 data URI or Discord CDN URL. Pass null to clear.

discord_update_bot_guild_profile Update the Bot's Server Profile

Update the authenticated bot's nickname, avatar, or banner in one server. Provide at least one profile field. Pass null to clear a field. Changing the nickname requires Change Nickname in that server.

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
avatarPNG, JPEG, or GIF avatar as a base64 data URI or Discord CDN URL. Pass null to clear.
bannerPNG, JPEG, or GIF banner as a base64 data URI or Discord CDN URL. Pass null to clear.
nicknameBot nickname in this server (1-32 characters). Pass null to clear.

discord_get_member_permissions Get Discord Member Permissions

Get Discord's computed permissions for a member in a server or channel, including the bitfield and known permission names. Channel calculations include overwrites. Discord skips implicit masking for bot members.

ParameterTypeDescription
scope *Discord server or channel whose permissions to calculate
user_id *stringDiscord user ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_role_permissions Get Discord Role Permissions

Get Discord's computed permissions for a role together with @everyone in a server or channel, including the bitfield and known permission names. Channel calculations include overwrites for these roles.

ParameterTypeDescription
role_id *stringDiscord role ID (snowflake)
scope *Discord server or channel whose permissions to calculate
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_guild_role_member_counts Get Guild Role Member Counts

Get the number of members assigned to each role in a Discord server, excluding @everyone. Discord supplies the counts directly.

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_search_guild_messages Search Discord Guild Messages

Search a Discord server's message history using text, author, channel, and other filters. The bot needs the Message Content intent and Read Message History. Use next_offset to request another page. Discord may need time to index the messages and provide a retry delay.

ParameterTypeDescription
guild_id *stringDiscord server/guild ID (snowflake)
attachment_extensionarrayFilter by attachment extension such as png
attachment_filenamearrayFilter by attachment filename
author_idarrayFilter by these authors
author_typearrayFilter by author type. Prefix a type with - to exclude it.
channel_idarrayOnly search these channels
contentstringText to search for
embed_providerarrayFilter by case-sensitive embed provider name
embed_typearrayFilter by embed type
hasarrayFilter by message features such as link, file, or poll. Prefix a feature with - to exclude it.
include_nsfwbooleanInclude results from age-restricted channels
limitintegerMaximum number of matches to return
link_hostnamearrayFilter links by hostname
max_idstringFind messages before this message ID
mention_everyonebooleanFilter by whether messages mention @everyone
mentionsarrayFilter by mentioned users
mentions_role_idarrayFilter by mentioned roles
min_idstringFind messages after this message ID
offsetintegerNumber of matches to skip
pinnedbooleanFilter by whether messages are pinned
replied_to_message_idarrayFilter by the replied-to message ID
replied_to_user_idarrayFilter by the author of the replied-to message
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data
slopintegerMaximum words between matching search tokens
sort_bystringSort by timestamp or relevance
sort_orderstringSort direction when sorting by timestamp

discord_create_poll Create Discord Poll

Post a native Discord poll. Specify the question, up to 10 answers, duration, and whether multiple answers are allowed. Requires Send Polls in the channel.

ParameterTypeDescription
answers *array
channel_id *stringDiscord channel ID (snowflake)
question *string
allow_multiselectboolean
duration_hoursinteger
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_get_poll Get Discord Poll

Read a poll by channel and message ID. Returns the answers, counts when Discord provides them, and whether the tally is final.

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringID of the Discord message containing the poll
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data

discord_end_poll End Discord Poll

Close a poll created by the bot and return the latest results. Discord may still be finalizing the vote counts.

ParameterTypeDescription
channel_id *stringDiscord channel ID (snowflake)
message_id *stringID of the Discord message containing the poll
response_formatstringOutput format: 'markdown' for human-readable or 'json' for structured data