Get the plugin
WP MCP/Guides/Guide

By · Published · Updated

Check backups, security, and cache status with your AI agent

Before an agent changes a site, it helps to know whether that site has a recent backup, what security is switched on, and what is caching the pages. WP MCP reads that from the plugins you already run, free, and never returns their credentials.

What you need

  • WP MCP installed and connected to your AI client.
  • Any of UpdraftPlus, Duplicator, All-in-One WP Migration, Solid Security, MonsterInsights or W3 Total Cache. Each op is on the theme-read pair, runs at manage_options, and answers <plugin>_inactive cleanly when its plugin is not active.

Backups

› When did this site last back up, did it include the database, and is it going offsite?

get-updraftplus-status reports the last backup and the components it covered, the files and database schedules and retention, and the remote storage services by id only. list-updraftplus-backups lists the backup sets newest first with their components and sizes, and list-aio-wp-migration-backups lists All-in-One WP Migration’s .wpress archives by name, date and size. get-duplicator-status lists Duplicator packages newest first and the last completed build. Storage keys, tokens, backup file names and paths, archive names and download links are never read.

› Take a database backup with UpdraftPlus before I change the shop settings.

run-updraftplus-backup queues a backup through UpdraftPlus’s own backup-now action, local unless include_remote: true. It is off until the site turns on the wpmcp_enable_backup_plugin_run filter, needs confirm: true after a preview, runs at most once every ten minutes and is refused when the disk is low. A backup run cannot be undone, so it answers recoverable: false.

Security

› Which Solid Security modules are on, when was the last scan, and how many lockouts are active?

get-solid-security-status returns enabled modules, the last scan’s result level and time, and counts of known vulnerabilities, lockouts and bans. No IP, host or user column is read, and scanner and API keys are never returned.

Analytics setup

› Is MonsterInsights connected, and to which GA4 property?

get-monsterinsights-status reports the connection mode, the public GA4 measurement id and view name, and allowlisted tracking settings. Tokens, site keys and secrets stay out.

Cache

› Which W3 Total Cache caches are on? Then purge everything, the new homepage is live.

get-w3tc-status shows which caches are enabled and with which engine. purge-w3tc-cache on theme-write empties every cache through the plugin’s own purge-all. A purge is not a content write, so it is not undoable: it is not snapshotted, the response says recoverable: false, and it needs confirm: true.

A second safety line

Every one of these answers is built from allowlisted fields, and then passed through a redaction step that masks any secret-shaped key that might still slip in.

Common questions

Can AI check whether my WordPress backup ran?

Yes. get-updraftplus-status reports the last backup, what it covered and the schedules, and get-duplicator-status lists packages newest first with the last completed build.

Does the agent see my backup storage keys or API tokens?

No. Storage keys, tokens, backup file names and scanner or API keys are never read, and a redaction step masks any secret shaped key that slips through.

What can it tell me about Solid Security?

get-solid-security-status returns enabled modules, the last scan's result level and time, and counts of known vulnerabilities, lockouts and bans. No IP, host or user data is read.

Can AI purge my W3 Total Cache?

Yes, purge-w3tc-cache empties every cache through the plugin's own purge-all and needs confirm: true. A purge is not undoable, so it is not snapshotted and the response says recoverable: false.

What happens if the plugin is not installed?

Each operation answers cleanly with a plugin_inactive result, for example updraftplus_inactive, instead of failing.

All WP MCP guides, or see every plugin integration. Topic: SEO and site operations.