Overview

Commands, interactions, and Components V2

Commands (15 tools)#

Global commands propagate within about an hour, guild-scoped commands propagate immediately. commands_list_global / commands_list_guild / commands_get_global / commands_get_guild (read), commands_create_global / commands_create_guild (write - create or upsert), commands_modify_global / commands_modify_guild (write - all fields optional, pass only what changes), commands_get_command_permissions / commands_get_guild_command_permissions (read), commands_edit_command_permissions (write), commands_delete_global / commands_delete_guild (write, destructive, irreversible), commands_bulk_overwrite_global / commands_bulk_overwrite_guild (write, destructive - atomically replaces the entire registry, an empty array deletes every command).

Interactions (8 tools)#

interactions_create_response (write - the initial reply to a slash command, button, or modal submit), interactions_create_followup (write), interactions_edit_original_response / interactions_edit_followup (write), interactions_get_original_response / interactions_get_followup (read), interactions_delete_original_response / interactions_delete_followup (write, destructive, irreversible).

Components V2 (8 tools)#

Rich message layouts: Container, Section, MediaGallery, ActionRow. See build a rich announcement for the full builder-to-send workflow. components_v2_build_container / build_section / build_media_gallery (read - offline builders, each returns { component }), components_v2_preview (read - render as ASCII to sanity-check structure before sending), components_v2_validate (read - offline validation of the 40-node cap, nesting rules, and accessory requirements, no Discord API call), components_v2_send (write - mutually exclusive with plain content, embed, poll, or sticker; the IS_COMPONENTS_V2 flag is irreversible per message), components_v2_edit (write), components_v2_send_from_template (write - apply variables to one of the built-in templates).

Application (5 tools)#

application_get_current (read), application_modify_current (write), application_get_activity_instance (read), application_get_role_connection_metadata / application_modify_role_connection_metadata (read/write).

Intelligence (5 tools)#

Zero-API-key: these call back into your MCP client's own LLM through sampling rather than proxying to a third party. See summarize a busy channel for the full pattern including the no-sampling fallback. intelligence_summarize_channel, intelligence_classify_messages (0-1 confidence per category), intelligence_extract_entities (decisions, action items, dates, mentions, URLs, code), intelligence_moderate_content (no Discord call, pure text utility), intelligence_draft_response (returns a suggested draft for human review, never auto-posts). All read-only from Discord's perspective.

Meta (1 tool)#

mcp_pipeline - chain sequential tool calls with {{step.path}} interpolation. See chain three calls for a full worked example.

For the confirmation gate protecting the destructive delete and bulk-overwrite tools above, see how it works.

Next steps#

Back to the overview or moderation and safety tools.

Updated

Was this page helpful?