MagicWP Docs
For developersMCPAI

Safety and limits

What keeps an AI assistant in check, and the limits that apply through MCP

Your access decides

  • The assistant sees only the tools its access allows, and it can never do more than your own role in the workspace. If your role changes, or the workspace's plan loses MCP, the connection follows at once.
  • Use Read-only (or the For MCP (read-only) token) when the assistant only needs to look. It can't change anything, whatever it is asked.
  • Disconnect a signed-in app under MCP → Connected apps, or revoke a token under Settings → API tokens, and the assistant loses access at once.
  • A token can be limited to your own IP addresses: MagicWP checks the address of the computer your assistant runs on. Signed-in apps can't be limited this way, because Claude and ChatGPT connect from their own servers.

Signed-in apps (OAuth)

  • Two-factor authentication is required to approve an app, and the consent page shows which app is asking. Claude and ChatGPT are recognised by where they receive the sign-in; any other app is always shown with its domain.
  • The app never sees your password. It gets an access key that lasts an hour and renews itself; the keys only work through the MagicWP MCP server.
  • A connection lasts until you disconnect it. One that isn't used for 90 days ends by itself.
  • Approving the same app again for the same workspace replaces its old connection.

Destructive actions need you

Deleting or resetting a site, restoring a backup over it, copying another site over it, pushing staging live, deleting backups, plugins, themes, WordPress users or redirects, database search and replace, cleanup and prefix changes, regenerating salts, resetting PHP and removing domains are all destructive:

  • Each one needs the site's domain typed as confirmation. The assistant is told to ask you for it and never to fill it in itself; a wrong or missing domain is refused.
  • Each one is marked as destructive, so your client asks for your approval before running it.
  • Don't turn on auto-approve for destructive tools in your client, so it always asks you before running them.
  • Search and replace runs only after a preview of exactly the same change, made within the last 30 minutes.
  • A staging push takes a backup of the live site first, so you can roll it back for a few days (list_staging_revert_points).

magic_login makes a link that logs into wp-admin without a password. Because the link appears in your chat, it is limited further than in the dashboard:

  • it works once;
  • it expires after 5 minutes (dashboard links last an hour);
  • making one is recorded in Activities; the link itself never is;
  • it needs the Magic Login permission, which the read-only preset doesn't have;
  • the assistant is told to give you the link, not to open it.

send_password_reset_email uses WordPress's own reset email, so no password ever passes through the chat. The site must be able to send email (see Email).

Activity

Everything the assistant changes is recorded in Activities like any other change, marked via MCP. For a signed-in app, the entry also names the app (for example via MCP · Claude). Connecting an app is recorded too.

What the MCP server never does

  • It never stores your token or the app's key: each is passed to the MagicWP API with every request and forgotten.
  • It has no tools for billing and payments, members, API tokens, site transfers, SFTP and database passwords or backup download links.
  • Email provider API keys are never returned: email_settings only says whether one is set.
  • check_site_up and site_overview only fetch the site's own domains over HTTPS.

Limits

LimitValue
API requests per token300 reads and 60 changes per minute (details). One question can use several requests: site_overview makes about six.
Requests to the MCP server20 per second per signed-in connection, or per IP address with a token, with short bursts allowed
Failed sign-insAfter 20 failed attempts (wrong, expired or revoked token) from one address in 10 minutes, that address is refused for the rest of those 10 minutes
Waiting for a taskUp to 90 seconds per check. For longer jobs the assistant checks again
Magic Login linkWorks once, valid 5 minutes
Search and replace previewValid 30 minutes, for exactly the same values
Token lifetime1 to 365 days, as chosen when you create it
Signed-in appUntil you disconnect it; ends after 90 days without use

On this page

Try MagicWP free
  • Temporary sites
  • Free templates
  • Staging sites
  • Offsite backups
  • Team access
  • API tokens
  • PHP 8.5
Go to your dashboardManage your sites, backups and team