guild_delete_integration
Remove a stale or compromised third-party integration from a Discord guild, disconnecting its associated webhooks. Requires explicit confirmation and a non-dry-run server to execute the irreversible deletion.
Instructions
Purpose: Delete an integration from a guild. DESTRUCTIVE - also disconnects associated webhooks.
When to use: - Remove a stale or compromised third-party integration.
Returns: {deleted, integration_id, guild_id}.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guild_id": "<guild_id>",
"integration_id": "<integration_id>"
},
"name": "guild_delete_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild containing the integration | |
| __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. | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) | |
| integration_id | Yes | Integration to delete (IRREVERSIBLE) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||