Discord MCP integration for AI agents.
Connect AI agents to Discord through 19 structured actions, including get current user application entitlements, resolve invite, and delete my application ro…
- ACTION CONTRACTS
- 19
- AUTHENTICATION
- OAuth 2.0
- SOURCE STATUS
- Provider-backed
CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE
CAPABILITY PROFILE
What the Discord integration exposes
The Discord Agent App exposes 19 provider-backed actions for communication and social work. Its current contract lets an authorized agent get entitlements for the current oauth user under a discord application, resolve a discord invite code, and remove the current oauth user's role connection data for a discord application. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.
A connection uses OAuth 2.0. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.
For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Discord account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.
VERIFIED ACTION SAMPLE
Real Discord capabilities.
Showing 12 of 19 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.
get_current_user_application_entitlementsREADGet entitlements for the current OAuth user under a Discord application.
INPUTS: application_id / sku_ids / exclude_consumed
resolve_inviteWRITEResolve a Discord invite code.
INPUTS: code / with_counts / guild_scheduled_event_id / target_channel_id / target_message_id
delete_my_application_role_connectionHIGH IMPACTRemove the current OAuth user's role connection data for a Discord application.
INPUTS: application_id
get_gatewayREADGet a Discord Gateway URL.
get_guild_templateREADGet a Discord guild template by code.
INPUTS: code
get_guild_widgetREADGet a Discord guild widget as JSON.
INPUTS: guild_id
get_guild_widget_pngREADGet a Discord guild widget PNG.
INPUTS: guild_id / style
get_inviteREADGet a Discord invite by code or URL.
INPUTS: invite_code / with_counts / guild_scheduled_event_id / target_channel_id / target_message_id
get_my_application_role_connectionREADRead the current OAuth user's role connection data for a Discord application.
INPUTS: application_id
get_my_guild_memberREADGet the current OAuth user's member record in a guild.
INPUTS: guild_id
get_my_oauth2_authorizationREADGet the current OAuth2 authorization information.
get_my_userREADGet the current OAuth user's Discord profile.
INPUT CONTRACTS
Know what the action needs before it runs.
get_current_user_application_entitlements
application_idREQUIRED- A Discord snowflake identifier.
sku_idsOPTIONAL- The SKU IDs used to filter current-user entitlements.
exclude_consumedOPTIONAL- Whether to exclude entitlements that have already been consumed.
resolve_invite
codeREQUIRED- The invite code to resolve.
with_countsOPTIONAL- Whether to include approximate member and presence counts.
guild_scheduled_event_idOPTIONAL- A Discord snowflake identifier.
target_channel_idOPTIONAL- A Discord snowflake identifier.
target_message_idOPTIONAL- A Discord snowflake identifier.
delete_my_application_role_connection
application_idREQUIRED- A Discord snowflake identifier.
get_guild_template
codeREQUIRED- The guild template code.
PROVIDER-SPECIFIC WORKFLOWS
Jobs this Agent App can support
Inspect Get Current User Application Entitlements
Get entitlements for the current OAuth user under a Discord application. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.
get_current_user_application_entitlementsControl Resolve Invite
Resolve a Discord invite code. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.
resolve_inviteVerify with Get Gateway
Get a Discord Gateway URL. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.
get_gatewaySAFETY BOUNDARY
Operate Discord with explicit limits
- Authorize Discord with OAuth 2.0 and grant only the provider access required by the selected actions.
- 3 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
- Treat `delete_my_application_role_connection` as high-impact operations and require an explicit approval boundary.
- The sampled contract declares provider scopes including `role_connections.write`, `applications.entitlements`, `guilds.members.read`, and `identify`; verify the complete action contract before execution.
- After a call, inspect the structured result and execution record before reporting that the Discord task completed successfully.
CONNECTION MODEL
OAuth 2.0
Discord uses OAuth 2.0. Connection requirements and availability are determined by the provider and the Working Machines deployment.
Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.
- READ SIGNALS
- 16
- WRITE SIGNALS
- 2
- HIGH IMPACT
- 1
- REVIEW SIGNALS
- 0
EVIDENCE AND AVAILABILITY
Provider reference
Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Discord.