About Discord MCP
Discord MCP is an MCP server published by HardHeadHackerHead in the Developer Tools category: manage your entire Discord server from Claude Code, Claude Desktop, Cursor, or Windsurf via MCP. 134 admin tools across 20 categories. Interactive setup wizard included. Conduid read 153 tools from its source: add_reaction, add_thread_member, archive_thread, assign_role, ban_member, bulk_assign_role and 147 more. It is published to npm as @quadslab.io/discord-mcp and starts with npx.
The repository has 50 stars and 9 forks, is licensed MIT, and its last commit was on 21 Mar 2026. The latest release is v2.0.1 (23 Feb 2026): Welcome screen no longer clears immediately when Step 1 renders — the logo and intro stay visible while the user answers the first question Screen clearing now starts fr… It follows v2.0.0 (23 Feb 2026), and the 5 most recent releases go back to v1.3.0 (22 Feb 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, No dynamic code execution and Scoped permissions. Its topics include chatbot, devtools and automation.
Install
claude mcp add discord-mcp-hardhead -- npx -y @quadslab.io/discord-mcpnpx -y @quadslab.io/discord-mcpgit clone https://github.com/HardHeadHackerHead/discord-mcpTools (153)
add_reactionAdd a reaction from the bot to a message| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| emoji * | string | The emoji to react with (e.g., "👍" or a custom emoji name) |
| messageId * | string | The ID of the message to react to |
add_thread_memberAdd a member to a thread| Parameter | Type | Description |
|---|---|---|
| member * | string | The member name or ID to add to the thread |
| thread * | string | The thread name or ID to add the member to |
archive_threadArchive a thread| Parameter | Type | Description |
|---|---|---|
| channel | string | The parent channel name or ID to help find the thread (fuzzy matched, optional) |
| thread * | string | The thread name or ID to archive |
assign_roleAdd a role to a member| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
| reason | string | The reason for assigning this role (shown in audit log) |
| role * | string | The role name or ID to assign (fuzzy matched) |
ban_memberBan a member with optional message deletion (0–7 days)| Parameter | Type | Description |
|---|---|---|
| deleteMessageDays | number | Number of days of messages to delete (0-7, default: 0) |
| member * | string | The member's username, display name, or user ID to ban (fuzzy matched) |
| reason | string | The reason for banning this member (shown in audit log) |
bulk_assign_roleAssign a role to multiple members at once| Parameter | Type | Description |
|---|---|---|
| members * | array | Array of member usernames, display names, or user IDs (fuzzy matched) |
| reason | string | The reason for assigning this role (shown in audit log) |
| role * | string | The role name or ID to assign (fuzzy matched) |
bulk_banBan multiple members from the server at once. Member names are fuzzy-matched. Tracks successes and failures individually.| Parameter | Type | Description |
|---|---|---|
| deleteMessageSeconds | number | Number of seconds of messages to delete from each banned member (0-604800, default: 0) |
| members * | array | Array of member usernames, display names, or user IDs to ban (fuzzy matched) |
| reason | string | The reason for banning these members (shown in audit log) |
bulk_delete_messagesDelete 2–100 messages at once (< 14 days old), optionally filtered by user| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| count * | number | Number of messages to delete (2-100) |
| userId | string | Optional: only delete messages from this user ID |
bulk_remove_roleRemove a role from multiple members at once| Parameter | Type | Description |
|---|---|---|
| members * | array | Array of member usernames, display names, or user IDs (fuzzy matched) |
| reason | string | The reason for removing this role (shown in audit log) |
| role * | string | The role name or ID to remove (fuzzy matched) |
bulk_timeout_membersApply a timeout to multiple members at oncecheck_permissionsCheck what effective permissions a user or role has in a specific channel. Returns the resolved permission array.| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| target * | string | The role or member name/ID to check permissions for (fuzzy matched) |
| targetType * | string | Whether the target is a "role" or "member" |
clone_channelDuplicate a channel with all permissions and settings| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID to clone (fuzzy matched) |
| name | string | New name for the cloned channel (optional, defaults to original name) |
| reason | string | The reason for cloning (shown in audit log) |
clone_roleDuplicate a role with all its permissions and settingscopy_channel_permissionsCopy all permission overwrites from one channel to another, replacing the target channel's overwrites.| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for copying permissions (shown in audit log) |
| source * | string | The source channel name or ID to copy permissions from (fuzzy matched) |
| target * | string | The target channel name or ID to apply permissions to (fuzzy matched) |
create_automod_ruleCreate a rule — keyword filter, spam detection, keyword presets, or mention spam| Parameter | Type | Description |
|---|---|---|
| actions * | array | Actions to take when the rule is triggered |
| enabled | boolean | Whether the rule is enabled (default: true) |
| exemptChannels | array | Channel IDs exempt from this rule |
| exemptRoles | array | Role IDs exempt from this rule |
| keywords | array | Keywords to filter (for "keyword" trigger type) |
| mentionLimit | number | Maximum number of mentions allowed (for "mention_spam" trigger type) |
| name * | string | The name for the auto-moderation rule |
| presets | array | Keyword presets to use (for "keyword_preset" trigger type) |
| regexPatterns | array | Regex patterns to filter (for "keyword" trigger type) |
| triggerType * | string | The type of trigger for the rule |
create_categoryCreate a new channel category| Parameter | Type | Description |
|---|---|---|
| name * | string | The name for the new category |
| reason | string | The reason for creating this category (shown in audit log) |
create_commandRegister a new slash command with name, description, and options| Parameter | Type | Description |
|---|---|---|
| description * | string | A description for the command (1-100 characters) |
| name * | string | The command name (lowercase, no spaces, 1-32 characters) |
| options | array | Array of command options/parameters |
| scope | string | Whether to create a guild-specific or global command. Defaults to "guild". |
create_emojiUpload a new custom emoji from a URL| Parameter | Type | Description |
|---|---|---|
| imageUrl * | string | URL to the image file to use as the emoji |
| name * | string | The name for the new emoji |
| reason | string | Optional reason for the audit log |
create_eventCreate a voice, stage, or external event with start/end times| Parameter | Type | Description |
|---|---|---|
| channel | string | The channel name or ID for voice/stage events (fuzzy matched). Required for voice and stage types. |
| description | string | A description for the event |
| endTime | string | The end time in ISO 8601 format. Required for external events. |
| image | string | URL of the cover image for the event |
| location | string | The location for external events. Required for external type. |
| name * | string | The name of the event |
| startTime * | string | The start time in ISO 8601 format (e.g., "2025-03-15T18:00:00Z") |
| type * | string | The type of event: "voice" (voice channel), "stage" (stage channel), or "external" (external location) |
create_forum_channelCreate a new forum channel with optional tags and default settings| Parameter | Type | Description |
|---|---|---|
| category | string | The category name or ID to place the channel in (fuzzy matched, optional) |
| name * | string | The name for the new forum channel |
| reason | string | The reason for creating this channel (shown in audit log) |
| topic | string | The guidelines/topic for the forum channel (optional) |
create_forum_postCreate a new post (thread) in a forum channel with optional tags| Parameter | Type | Description |
|---|---|---|
| channel * | string | The forum channel name or ID (fuzzy matched) |
| content * | string | The content of the initial message in the post |
| name * | string | The title of the forum post |
| tags | array | Tag names to apply to the post (optional) |
create_forum_tagAdd a new tag to a forum channel (max 20 per channel)| Parameter | Type | Description |
|---|---|---|
| channel * | string | The forum channel name or ID (fuzzy matched) |
| emoji | string | A unicode emoji for the tag (optional) |
| moderated | boolean | Whether only moderators can apply this tag (optional, default: false) |
| name * | string | The name for the new tag |
create_inviteGenerate a new invite with configurable max age, uses, and temporary flag| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID to create the invite for (fuzzy matched) |
| maxAge | number | Maximum age of the invite in seconds (0 = never expires, default: 86400) |
| maxUses | number | Maximum number of uses (0 = unlimited, default: 0) |
| reason | string | The reason for creating this invite (shown in audit log) |
| temporary | boolean | Whether the invite grants temporary membership (default: false) |
create_pollCreate a poll in a channel with multiple choice options and durationcreate_roleCreate a new role with name, color, hoist, and mentionable options| Parameter | Type | Description |
|---|---|---|
| color | string | The color for the role in hex format (e.g., "#FF0000" for red) or color name (e.g., "Blue", "Red") |
| hoist | boolean | Whether the role should be displayed separately in the member list (default: false) |
| mentionable | boolean | Whether the role can be mentioned by anyone (default: false) |
| name * | string | The name for the new role |
| reason | string | The reason for creating this role (shown in audit log) |
create_stage_channelCreate a new stage channelcreate_stickerUpload a new custom sticker from a URL| Parameter | Type | Description |
|---|---|---|
| description * | string | A description of the sticker |
| fileUrl * | string | URL to the file to use as the sticker |
| name * | string | The name for the new sticker |
| reason | string | Optional reason for the audit log |
| tags * | string | The emoji tag for the sticker (e.g., "smile") |
create_templateCreate a new server template from the current server configuration| Parameter | Type | Description |
|---|---|---|
| description | string | A description for the template |
| name * | string | The name of the template |
create_text_channelCreate a new text channel, optionally in a category| Parameter | Type | Description |
|---|---|---|
| category | string | The category name or ID to place the channel in (fuzzy matched, optional) |
| name * | string | The name for the new text channel (will be lowercased and spaces replaced with hyphens) |
| nsfw | boolean | Whether the channel is NSFW (default: false) |
| reason | string | The reason for creating this channel (shown in audit log) |
| topic | string | The topic/description for the channel (optional) |
create_threadStart a thread from a message or as a standalone public thread| Parameter | Type | Description |
|---|---|---|
| autoArchiveDuration | number | Auto-archive duration in minutes: 60, 1440 (1 day), 4320 (3 days), or 10080 (7 days) |
| channel * | string | The channel name or ID to create the thread in (fuzzy matched) |
| messageId | string | The ID of a message to start the thread from (optional — creates a standalone thread if omitted) |
| name * | string | The name for the new thread |
| reason | string | The reason for creating this thread (shown in audit log) |
create_voice_channelCreate a new voice channel with bitrate and user limit| Parameter | Type | Description |
|---|---|---|
| bitrate | number | The bitrate of the voice channel in bits per second (e.g., 64000) |
| category | string | The category name or ID to place the channel in (fuzzy matched, optional) |
| name * | string | The name for the new voice channel |
| reason | string | The reason for creating this channel (shown in audit log) |
| userLimit | number | Maximum number of users allowed in the voice channel (0 for unlimited) |
create_webhookCreate a webhook on a channel with name and optional avatar| Parameter | Type | Description |
|---|---|---|
| avatarUrl | string | URL of the avatar image for the webhook (optional) |
| channel * | string | The channel name or ID to create the webhook in (fuzzy matched) |
| name * | string | The name for the webhook |
| reason | string | The reason for creating this webhook (shown in audit log) |
crosspost_messagePublish a message in an announcement channel to all following channels| Parameter | Type | Description |
|---|---|---|
| channel * | string | The announcement channel name or ID (fuzzy matched) |
| messageId * | string | The ID of the message to publish |
delete_automod_ruleDelete an automod rule| Parameter | Type | Description |
|---|---|---|
| ruleId * | string | The ID of the auto-moderation rule to delete |
delete_channelDelete any channel type| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID to delete (fuzzy matched) |
| reason | string | The reason for deleting this channel (shown in audit log) |
delete_commandRemove a registered slash command| Parameter | Type | Description |
|---|---|---|
| commandId * | string | The ID of the command to delete |
| scope | string | Whether the command is guild-specific or global. Defaults to "guild". |
delete_emojiRemove a custom emoji by name or ID| Parameter | Type | Description |
|---|---|---|
| emoji * | string | The name or ID of the emoji to delete |
| reason | string | Optional reason for the audit log |
delete_eventDelete a scheduled event| Parameter | Type | Description |
|---|---|---|
| eventId * | string | The ID of the scheduled event to delete |
delete_forum_tagRemove a tag from a forum channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The forum channel name or ID (fuzzy matched) |
| tagId * | string | The ID of the tag to remove |
delete_integrationRemove an integration from the server| Parameter | Type | Description |
|---|---|---|
| integrationId * | string | The ID of the integration to remove |
| reason | string | The reason for removing the integration (shown in audit log) |
delete_inviteRevoke an invite by code| Parameter | Type | Description |
|---|---|---|
| code * | string | The invite code to revoke |
| reason | string | The reason for deleting this invite (shown in audit log) |
delete_messageDelete a single message by ID| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| messageId * | string | The ID of the message to delete |
| reason | string | The reason for deleting the message (for audit purposes) |
delete_roleDelete a role (with managed role protection)| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for deleting this role (shown in audit log) |
| role * | string | The role name or ID to delete (fuzzy matched) |
delete_stickerRemove a custom sticker by name or ID| Parameter | Type | Description |
|---|---|---|
| reason | string | Optional reason for the audit log |
| sticker * | string | The name or ID of the sticker to delete |
delete_templateDelete a server template by code| Parameter | Type | Description |
|---|---|---|
| code * | string | The template code to delete |
delete_threadDelete a thread| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for deleting this thread (shown in audit log) |
| thread * | string | The thread name or ID to delete |
delete_webhookDelete a webhook by ID| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for deleting this webhook (shown in audit log) |
| webhookId * | string | The ID of the webhook to delete |
disconnect_from_voiceDisconnect a member from their voice channel| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
| reason | string | The reason for disconnecting (shown in audit log) |
edit_automod_ruleModify a rule's keywords, actions, exemptions, or enabled state| Parameter | Type | Description |
|---|---|---|
| actions | array | Updated actions for the rule |
| enabled | boolean | Whether the rule is enabled |
| exemptChannels | array | Updated channel IDs exempt from this rule |
| exemptRoles | array | Updated role IDs exempt from this rule |
| keywords | array | Updated keywords to filter |
| name | string | New name for the rule |
| regexPatterns | array | Updated regex patterns to filter |
| ruleId * | string | The ID of the auto-moderation rule to edit |
edit_commandModify an existing slash command| Parameter | Type | Description |
|---|---|---|
| commandId * | string | The ID of the command to edit |
| description | string | New description for the command (1-100 characters) |
| name | string | New name for the command (lowercase, no spaces, 1-32 characters) |
| scope | string | Whether the command is guild-specific or global. Defaults to "guild". |
edit_eventModify an event's name, description, times, or status| Parameter | Type | Description |
|---|---|---|
| description | string | New description for the event |
| endTime | string | New end time in ISO 8601 format |
| eventId * | string | The ID of the scheduled event to edit |
| name | string | New name for the event |
| startTime | string | New start time in ISO 8601 format |
| status | string | New status for the event |
edit_forum_tagEdit an existing forum tag's name, emoji, or moderated status| Parameter | Type | Description |
|---|---|---|
| channel * | string | The forum channel name or ID (fuzzy matched) |
| emoji | string | A new unicode emoji for the tag (optional) |
| moderated | boolean | Whether only moderators can apply this tag (optional) |
| name | string | The new name for the tag (optional) |
| tagId * | string | The ID of the tag to edit |
edit_messageEdit a message previously sent by the bot| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| content * | string | The new content for the message |
| messageId * | string | The ID of the message to edit |
edit_onboardingEdit the server onboarding settings, prompts, and default channels| Parameter | Type | Description |
|---|---|---|
| defaultChannelIds | array | Array of channel IDs to set as default onboarding channels. |
| enabled | boolean | Whether onboarding is enabled for the server. |
| mode | string | The onboarding mode. "onboarding_default" shows onboarding to new members only; "onboarding_advanced" shows it to all members. |
edit_serverModify server name, description, verification level, notification defaults| Parameter | Type | Description |
|---|---|---|
| defaultNotifications | string | Default notification setting for new members |
| description | string | New description for the server |
| name | string | New name for the server |
| reason | string | The reason for editing the server (shown in audit log) |
| verificationLevel | string | Verification level for the server |
edit_threadEdit thread name, auto-archive duration, slowmode, or locked/archived status| Parameter | Type | Description |
|---|---|---|
| archived | boolean | Whether the thread is archived |
| autoArchiveDuration | number | Auto-archive duration in minutes: 60, 1440 (1 day), 4320 (3 days), or 10080 (7 days) |
| locked | boolean | Whether the thread is locked |
| name | string | New name for the thread |
| rateLimitPerUser | number | Slowmode in seconds (0-21600). Set to 0 to disable. |
| reason | string | The reason for editing this thread (shown in audit log) |
| thread * | string | The thread name or ID to edit |
end_pollEnd a poll early and finalize the results| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID where the poll was sent (fuzzy matched) |
| messageId * | string | The message ID of the poll message |
end_stageEnd an active stage instance| Parameter | Type | Description |
|---|---|---|
| channel * | string | The stage channel name or ID (fuzzy matched) |
follow_announcement_channelFollow an announcement channel to cross-post into another channel| Parameter | Type | Description |
|---|---|---|
| announcementChannel * | string | The announcement channel name or ID to follow (fuzzy matched) |
| targetChannel * | string | The text channel name or ID where announcements will be posted (fuzzy matched) |
get_audit_logFetch audit log entries, optionally filtered by action type or user| Parameter | Type | Description |
|---|---|---|
| actionType | string | Filter by action type (e.g., "MemberKick", "MemberBan", "ChannelCreate", "MessageDelete") |
| limit | number | Number of entries to fetch (default: 25, max: 100) |
| userId | string | Filter by the user ID who performed the action |
get_bot_infoGet the bot's current user info, status, and connection detailsget_channel_invitesList all invites for a specific channelget_event_subscribersGet the list of users who are interested in a scheduled event| Parameter | Type | Description |
|---|---|---|
| event * | string | Event name or ID |
| limit | number | Max results (default 100) |
get_event_usersList users who have expressed interest in an eventget_guild_infoDetailed server info — member count, channels, roles, features, boost tierget_inviteGet details about a specific invite code, including guild info, channel, inviter, usage stats, and expiration.| Parameter | Type | Description |
|---|---|---|
| code * | string | The invite code or full URL (e.g., "abc123" or "discord.gg/abc123") |
get_memberDetailed member info — roles, join date, account age, permissions| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
get_member_permissionsGet a member's effective permissions in a specific channelget_messageFetch a single message by ID with full details| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| messageId * | string | The ID of the message to fetch |
get_messagesFetch recent messages from a text channel, voice channel, or thread| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched - spaces, hyphens, case don't matter) |
| limit | number | Number of messages to retrieve (default: 10, max: 100) |
get_onboardingGet the server's onboarding configuration and promptsget_poll_resultsGet the current results and vote counts for a poll| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID where the poll was sent (fuzzy matched) |
| messageId * | string | The message ID of the poll message |
get_reactionsGet all reactions on a message with full reactor details — account creation date, server join date, roles, avatar, boost status. Optionally filter by emoji.| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| emoji | string | Optional: filter to a specific emoji (e.g., "👍" or custom emoji name). If not provided, returns all reactions. |
| messageId * | string | The ID of the message to get reactions from |
get_role_membersList all members who have a specific roleget_role_permissionsView all permissions granted to a role| Parameter | Type | Description |
|---|---|---|
| role * | string | The role name or ID (fuzzy matched) |
get_server_iconGet the server icon, banner, splash, and discovery splash image URLs.get_server_previewGet the server's public preview informationget_threadGet detailed thread info — type, slowmode, auto-archive, owner, URL| Parameter | Type | Description |
|---|---|---|
| thread * | string | The thread name or ID to look up |
get_thread_messagesFetch messages from a thread with before/after pagination| Parameter | Type | Description |
|---|---|---|
| after | string | Get messages after this message ID (for pagination) |
| before | string | Get messages before this message ID (for pagination) |
| limit | number | Number of messages to retrieve (default: 10, max: 100) |
| thread * | string | The thread name or ID (fuzzy matched) |
get_thread_pinned_messagesGet all pinned messages in a thread| Parameter | Type | Description |
|---|---|---|
| thread * | string | The thread name or ID to get pinned messages from |
get_vanity_urlGet the server vanity URL (requires VANITY_URL feature)get_voice_membersList all members currently in a voice or stage channelget_welcome_screenGet the server welcome screen configurationget_widgetGet the server widget settingskick_memberKick a member from the server| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID to kick (fuzzy matched) |
| reason | string | The reason for kicking this member (shown in audit log) |
list_archived_threadsList public or private archived threads in a channel with pagination| Parameter | Type | Description |
|---|---|---|
| before | string | ISO timestamp — return threads archived before this date (for pagination) |
| channel * | string | The channel name or ID to list archived threads from (fuzzy matched) |
| limit | number | Maximum number of archived threads to return (default: 25) |
| type | string | Type of archived threads to list (default: "public") |
list_automod_rulesList all automod rules with triggers, actions, and exemptionslist_bansView all banned users with reasonslist_channelsList all channels organized by categorylist_commandsList all registered application (slash) commands| Parameter | Type | Description |
|---|---|---|
| scope | string | Whether to list guild-specific or global commands. Defaults to "guild". |
list_emojisList all custom emojis with names, IDs, animated status, and URLslist_eventsList all scheduled events with times, status, type, and attendee countlist_forum_tagsList all available tags on a forum channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The forum channel name or ID (fuzzy matched) |
list_guildsList all servers the bot is a member oflist_integrationsList all integrations (bots, apps) connected to the serverlist_invitesList all active invite links with usage stats and expirationlist_member_permissionsShow all permissions a member has server-wide, including their roles.| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
list_membersList members with optional role and search filters| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of members to return (default: 50, max: 1000) |
| role | string | Filter members by role name or ID (fuzzy matched) |
| search | string | Search members by username or display name |
list_pinned_messagesGet all pinned messages in a channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
list_role_membersList all members who have a specific role. Role name is fuzzy-matched.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of members to return (default: 100) |
| role * | string | The role name or ID (fuzzy matched) |
list_rolesList all roles sorted by position with colors and member countslist_stage_instancesList all active stage instances with topic and channel infolist_stickersList all custom stickers with descriptions and format infolist_templatesList all templates for the serverlist_thread_membersList all members of a thread| Parameter | Type | Description |
|---|---|---|
| thread * | string | The thread name or ID to list members for |
list_threadsList active threads, optionally filtered to a channel| Parameter | Type | Description |
|---|---|---|
| channel | string | Channel name or ID to filter threads to (fuzzy matched, optional) |
list_voice_membersList all members currently connected to a voice channel, including their voice state (mute, deaf, streaming, camera).| Parameter | Type | Description |
|---|---|---|
| channel * | string | The voice channel name or ID (fuzzy matched) |
list_webhooksList all webhooks, optionally filtered to a channel| Parameter | Type | Description |
|---|---|---|
| channel | string | Channel name or ID to filter webhooks by (fuzzy matched, optional) |
lock_channelDeny SendMessages for @everyone (quick lock)| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| reason | string | The reason for locking (shown in audit log) |
lock_threadLock a thread (prevent new messages without archiving)| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for locking this thread (shown in audit log) |
| thread * | string | The thread name or ID to lock |
modify_channelChange name, topic, category, NSFW, position, user limit| Parameter | Type | Description |
|---|---|---|
| category | string | Category name or ID to move the channel to (fuzzy matched, use "none" to remove from category) |
| channel * | string | The channel name or ID to modify (fuzzy matched) |
| name | string | New name for the channel |
| nsfw | boolean | Whether the channel is NSFW (text channels only) |
| position | number | New position for the channel |
| reason | string | The reason for modifying this channel (shown in audit log) |
| topic | string | New topic/description for the channel (text channels only) |
| userLimit | number | Maximum users in voice channel (voice channels only) |
modify_roleChange a role's name, color, hoist, mentionable, or position| Parameter | Type | Description |
|---|---|---|
| color | string | New color for the role in hex format (e.g., "#FF0000") |
| hoist | boolean | Whether the role should be displayed separately in the member list |
| mentionable | boolean | Whether the role can be mentioned by anyone |
| name | string | New name for the role |
| position | number | New position for the role in the hierarchy (higher = more authority) |
| reason | string | The reason for modifying this role (shown in audit log) |
| role * | string | The role name or ID to modify (fuzzy matched) |
modify_role_permissionsGrant or revoke specific permissions on a role| Parameter | Type | Description |
|---|---|---|
| grant | array | Permission names to grant (e.g., ["SendMessages", "ManageMessages"]) |
| reason | string | The reason for this change (shown in audit log) |
| revoke | array | Permission names to revoke (e.g., ["KickMembers", "BanMembers"]) |
| role * | string | The role name or ID (fuzzy matched) |
move_to_voiceMove a member to a different voice channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The voice channel name or ID to move them to (fuzzy matched) |
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
pin_messagePin a message| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| messageId * | string | The ID of the message to pin |
| reason | string | The reason for pinning (shown in audit log) |
prune_membersRemove inactive members (supports dry run and role filtering)| Parameter | Type | Description |
|---|---|---|
| days | number | Number of days of inactivity required for pruning (1-30, default: 7) |
| dryRun | boolean | If true, returns the count of members that would be pruned without actually pruning (default: false) |
| reason | string | The reason for pruning (shown in audit log) |
| roles | array | Role names or IDs to include in the prune (fuzzy matched). By default only members without roles are pruned. |
purge_user_messagesDelete all recent messages from a specific user in a channel. Scans recent messages and bulk-deletes those authored by the target member. Only messages less than 14 days old can be deleted.| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID to purge messages from (fuzzy matched) |
| limit | number | Maximum number of messages to scan (default: 100, max: 500) |
| member * | string | The member whose messages to delete (username, display name, or user ID, fuzzy matched) |
remove_reactionRemove the bot's reaction from a message| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| emoji * | string | The emoji to remove (e.g., "👍" or a custom emoji name) |
| messageId * | string | The ID of the message to remove the reaction from |
remove_roleRemove a role from a member| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
| reason | string | The reason for removing this role (shown in audit log) |
| role * | string | The role name or ID to remove (fuzzy matched) |
remove_thread_memberRemove a member from a thread| Parameter | Type | Description |
|---|---|---|
| member * | string | The member name or ID to remove from the thread |
| thread * | string | The thread name or ID to remove the member from |
rename_emojiRename a custom emoji| Parameter | Type | Description |
|---|---|---|
| emoji * | string | The current name or ID of the emoji to rename |
| newName * | string | The new name for the emoji |
| reason | string | Optional reason for the audit log |
reorder_channelsReorder channels by specifying new positions| Parameter | Type | Description |
|---|---|---|
| category * | string | The category name or ID containing the channels (fuzzy matched) |
| channelOrder * | array | Array of channel names or IDs in the desired order (top to bottom) |
search_membersSearch members by username, nickname, or role with advanced filters| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results to return (1-1000, default 10) |
| query * | string | Search query (name, username, or nickname) |
search_messagesSearch messages in a channel by content, author, or date rangesend_dmSend a direct message to a server member| Parameter | Type | Description |
|---|---|---|
| content * | string | The message content to send |
| member * | string | The member name, ID, or mention (fuzzy matched) |
| reason | string | Optional reason for sending (for audit/logging purposes) |
send_dm_embedSend a rich embed as a direct message to a server member| Parameter | Type | Description |
|---|---|---|
| color | string | The color of the embed sidebar in hex format (e.g., "#FF0000") |
| description | string | The description/main content of the embed |
| fields | array | Array of fields to add to the embed |
| footer | string | Footer text for the embed |
| image | string | URL of main image (large image at bottom) |
| member * | string | The member name, ID, or mention (fuzzy matched) |
| thumbnail | string | URL of thumbnail image (small image on the right) |
| title | string | The title of the embed |
send_embedSend a rich embed with title, fields, images, and footer| Parameter | Type | Description |
|---|---|---|
| channel * | string | The EXACT channel name (get from list_channels first) or channel ID |
| color | string | The color of the embed sidebar in hex format (e.g., "#FF0000") |
| content | string | Optional text content to send alongside the embed |
| description | string | The description/main content of the embed |
| fields | array | Array of fields to add to the embed |
| footer | string | Footer text for the embed |
| image | string | URL of main image (large image at bottom) |
| thumbnail | string | URL of thumbnail image (small image on the right) |
| title | string | The title of the embed |
| url | string | URL to link the title to |
send_messageSend a text message, optionally as a reply| Parameter | Type | Description |
|---|---|---|
| channel * | string | The EXACT channel name (get from list_channels first) or channel ID. While fuzzy matching works, using exact names ensures clarity in approval prompts. |
| content * | string | The message content to send |
| replyTo | string | Message ID to reply to (optional) |
send_message_with_fileSend a message with a file attachment to a channel. The file can be specified by URL.| Parameter | Type | Description |
|---|---|---|
| channel * | string | Channel name, ID, or mention |
| content | string | Message text content (optional if file is provided) |
| fileName | string | Name for the attached file (e.g. "image.png") |
| fileUrl * | string | URL of the file to attach |
send_pollCreate a poll message in a Discord channel. Allows members to vote on a question with multiple options.| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID to send the poll in (fuzzy matched) |
| duration | number | How long the poll should last in hours (1-768). Defaults to 24. |
| multiSelect | boolean | Whether users can select multiple options. Defaults to false. |
| options * | array | Array of answer options (2-10 options) |
| question * | string | The poll question to ask |
| reason | string | Optional reason or context for the poll |
send_webhook_messageSend a message via webhook with optional name/avatar override| Parameter | Type | Description |
|---|---|---|
| avatarUrl | string | Override the webhook avatar URL for this message (optional) |
| content * | string | The message content to send |
| username | string | Override the webhook display name for this message (optional) |
| webhookId * | string | The ID of the webhook to send the message through |
set_bot_presenceSet the bot's status and activity (playing, watching, listening, etc.)set_bot_statusSet the bot's presence status and activity. You can set the online status (online, idle, dnd, invisible) and an optional activity (Playing, Watching, Listening, Competing, Streaming, Custom).| Parameter | Type | Description |
|---|---|---|
| activityName | string | The activity text to display (e.g. "Managing Discord") |
| activityType | string | The type of activity to display |
| status | string | The online status to set |
| streamUrl | string | The stream URL (required for Streaming type, must be a Twitch or YouTube URL) |
set_channel_permissionsSet permission overwrites for a role or user on a channel| Parameter | Type | Description |
|---|---|---|
| allow | array | Permission names to allow (e.g., ["SendMessages", "ViewChannel", "AddReactions"]) |
| channel * | string | The channel name or ID (fuzzy matched) |
| deny | array | Permission names to deny (e.g., ["SendMessages", "ManageMessages"]) |
| reason | string | The reason for this change (shown in audit log) |
| target * | string | The role or member name/ID to set permissions for (fuzzy matched) |
| targetType * | string | Whether the target is a "role" or "member" |
set_channel_topicSet or clear a channel's topic/descriptionset_nicknameChange a member's nickname or reset it| Parameter | Type | Description |
|---|---|---|
| member * | string | The member's username, display name, or user ID (fuzzy matched) |
| nickname * | string | The new nickname (use empty string or "reset" to remove nickname) |
| reason | string | The reason for changing the nickname (shown in audit log) |
set_role_iconSet a Unicode emoji or image as the role icon (requires boost level 2+)| Parameter | Type | Description |
|---|---|---|
| icon * | string | A Unicode emoji to use as the role icon, or a URL to an image |
| reason | string | The reason for changing the icon (shown in audit log) |
| role * | string | The role name or ID (fuzzy matched) |
set_server_bannerSet or remove the server banner image (requires boost level 2+)set_server_iconSet or remove the server icon from a URL| Parameter | Type | Description |
|---|---|---|
| banner | string | URL of the image to set as the server banner |
| icon | string | URL of the image to set as the server icon |
| reason | string | The reason for changing the server images (shown in audit log) |
set_slowmodeSet rate limit (0–21600 seconds) on a text channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| seconds * | number | Slowmode duration in seconds (0 to disable, max 21600 = 6 hours) |
set_voice_regionSet the RTC region for a voice channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The voice channel name or ID (fuzzy matched) |
| region * | string | The voice region ID (e.g., "us-east", "europe", "brazil", "japan"). Use "auto" for automatic. |
set_voice_statusSet or clear a status message on a voice channel. Requires discord.js v14.15+.| Parameter | Type | Description |
|---|---|---|
| channel * | string | The voice channel name or ID (fuzzy matched) |
| status * | string | The status text to display on the voice channel. Use an empty string to clear. |
set_welcome_screenConfigure the welcome screen with description and featured channels| Parameter | Type | Description |
|---|---|---|
| channels | array | Array of welcome channels with channel name, description, and optional emoji |
| description | string | The welcome screen description |
| enabled | boolean | Whether the welcome screen is enabled |
set_widgetConfigure the server widget (enable/disable, set channel)| Parameter | Type | Description |
|---|---|---|
| channel | string | The channel name or ID for the widget invite (fuzzy matched) |
| enabled | boolean | Whether the widget is enabled |
| reason | string | The reason for changing widget settings (shown in audit log) |
start_stageStart a new stage instance on a stage channel with a topic| Parameter | Type | Description |
|---|---|---|
| channel * | string | The stage channel name or ID (fuzzy matched) |
| sendNotification | boolean | Whether to send a start notification to the server (default: false) |
| topic * | string | The topic for the stage instance |
sync_templateSync a server template with the current server state| Parameter | Type | Description |
|---|---|---|
| code * | string | The template code to sync |
timeout_memberApply a timeout (10m, 1h, 1d, 1w) or remove one| Parameter | Type | Description |
|---|---|---|
| duration * | string | Duration of the timeout (e.g., "10m" for 10 minutes, "1h" for 1 hour, "1d" for 1 day). Use "remove" to remove timeout. |
| member * | string | The member's username, display name, or user ID to timeout (fuzzy matched) |
| reason | string | The reason for the timeout (shown in audit log) |
unarchive_threadUnarchive a thread| Parameter | Type | Description |
|---|---|---|
| channel | string | The parent channel name or ID to help find the thread (fuzzy matched, optional) |
| thread * | string | The thread name or ID to unarchive |
unban_memberRemove a ban by username or user ID| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for unbanning this user (shown in audit log) |
| user * | string | The user's username or user ID to unban |
unlock_channelRemove SendMessages deny for @everyone| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| reason | string | The reason for unlocking (shown in audit log) |
unlock_threadUnlock a thread| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason for unlocking this thread (shown in audit log) |
| thread * | string | The thread name or ID to unlock |
unpin_messageUnpin a message| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
| messageId * | string | The ID of the message to unpin |
| reason | string | The reason for unpinning (shown in audit log) |
view_channel_permissionsView all permission overwrites on a channel| Parameter | Type | Description |
|---|---|---|
| channel * | string | The channel name or ID (fuzzy matched) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.3K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 26 source files and found 2 calls to eval or shell execution, in src/cli.ts:1040 and src/cli.ts:1066. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:2
- Starts other programs
- 2 callssrc/cli.ts:1040, src/cli.ts:1066
- Outbound network calls
- 1 callsrc/tools/server.ts:108
- Writes or deletes files
- 4 callssrc/cli.ts:774, src/cli.ts:788, src/cli.ts:791
- Lockfile
- package-lock.json
Pattern matches on the source text of 26 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 4.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README