What the AI can and cannot do
The AI operates with the permissions of the WordPress user whose Application Password you configured, and only through the tools the server exposes. With default configuration it can: read site, plugin, theme, update, client, and tag data; run updates; activate and deactivate plugins and themes; sync and reconnect sites; and delete sites, clients, tags, plugins, or themes, but only after you confirm. It cannot: log into WordPress admin, bypass WordPress permissions, run arbitrary code on your sites, or touch anything MainWP itself does not expose.Deletions require your approval
Destructive operations use a two-step flow. Asking the AI to delete something does not delete it; it produces a preview.- Preview. The server intercepts the request, runs a dry run, and returns what would be affected along with a one-time confirmation token. The AI shows you the preview.
- Execute. Only after you say yes does the AI send the confirmation. The server checks that the token matches the same operation with the same arguments and that the preview is less than 5 minutes old, then executes.

delete_site_v1, delete_client_v1, delete_tag_v1, delete_site_plugins_v1, and delete_site_themes_v1. An ability that does not explicitly declare itself non-destructive is treated as destructive and gated the same way.
For unattended automation where you have already verified the targets, the flow can be disabled with requireUserConfirmation: false. See Configuration Reference.
Safe mode: block deletions entirely
If you want destructive operations off the table completely, enable safe mode:SAFE_MODE_BLOCKED without ever reaching your Dashboard. We recommend running your first sessions in safe mode: you can verify the connection and learn how the AI behaves while the dangerous tool classes stay blocked.
When both are configured, safe mode wins.
One honest caveat: the AI client has the last word
The server marks dangerous tools, instructs the AI to preview before executing, and refuses calls that skip the flow. But the AI client decides how to present all of this to you. A flawed client could misread your “hmm, maybe” as a yes, or claim you confirmed when you did not. The server-side gates above cannot be talked around: a deletion without a valid token does not execute. If you do not trust the AI client in front of them, add layers it cannot see past:- Safe mode blocks destructive execution at the server.
blockedToolsremoves dangerous tools from the AI’s view entirely, so there is nothing to misuse.
Going further
Restrict Available Tools
Read-only setups, update-only setups, and hiding destructive tools.
Security Model
Trust boundaries, credential handling, logging, and the pre-production checklist.
