users_leave_guild
Remove the authenticated bot/user from a Discord guild immediately. Use to decommission the bot from servers it should no longer access.
Instructions
Purpose: Make the authenticated bot/user leave a guild. DESTRUCTIVE - bot loses access immediately.
When to use:
Decommission the bot from a guild it should no longer be in.
Note: User-scoped endpoint - does NOT accept audit_reason.
Returns: {left, guild_id}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually leave.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild to leave | |
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||