I use Claude and OpenAI tools in my work, including the upkeep of WordPress sites. So when site owners ask me about AI agents for WordPress maintenance, I’d rather show them the actual setup I use than talk about what might happen in the future.
This question matters a lot more now than it did a year ago. WordPress 7.0 added an AI Client to core in May 2026, and the official MCP Adapter plugin now lets AI tools call actions directly on a site. Below are the jobs I hand off to an agent, the tools that keep those tasks safe, and the work I keep in human hands no matter how capable the tools become.
The setup with an agent, a staging copy and WP-CLI
When I say agent, I mean a coding assistant like Claude Code that can run terminal commands, read the output, and decide what step to take next. Pointing a tool like that straight at a live business site is risky, so three rules keep my setup workable.
- The agent works on a staging copy of the site, never on live. Changes only reach production after I’ve reviewed them myself.
- It talks to WordPress through WP-CLI, the official command line tool. Because its commands are explicit, logged, and repeatable, it suits an agent far better than clicking around the dashboard.
- It gets its own credentials. That means a separate user on the staging server and, for anything that needs the REST API, an application password tied to a dedicated WordPress user. Application passwords arrived in WordPress 5.6, and you can revoke any of them from the user’s profile screen without touching your main login.
Six maintenance jobs AI handles well
1. Reading changelogs before updates
First, I list pending updates using wp plugin list --update=available. The agent reads through each plugin’s changelog and flags anything mentioning database changes, removed features, new PHP requirements, or security fixes.
I still decide the update order myself, but I get to start from a short risk summary instead of digging through twenty browser tabs. If you want the full routine for how I sequence updates, my guide on how to update WordPress plugins safely walks through the process.
2. Running update batches on staging
The agent updates one plugin at a time. After each update, it loads the key pages, checks the PHP error log, and records what changed. Before the first update, wp plugin update --all --dry-run previews which plugins would be updated, so nothing in the batch catches me off guard.
If an update breaks something, the agent rolls that plugin back with wp plugin install plugin-slug --version=x.y.z --force, which pulls the earlier version from WordPress.org and overwrites the new one. That command only works for plugins hosted on WordPress.org, so I keep the previous zip file on hand for premium plugins. Then the agent moves on to the next plugin. I get a report, not a surprise.

When an update does cause an issue, it’s usually a conflict between two plugins or between a plugin and the theme. My notes on fixing a plugin conflict after a WordPress update explain how I track those down.
3. Checking file integrity
Running wp core verify-checksums and wp plugin verify-checksums --all compares your site’s files against the official WordPress.org checksums, for core and for the plugins hosted there. Agents are good at running these commands and explaining which differences are harmless and which ones need a closer look.
One detail is worth keeping in mind. The plugin check skips soft changes like an edited readme.txt file unless you add the --strict flag. Premium plugins aren’t in the WordPress.org directory, so this check can’t cover them.
4. Before-and-after screenshots
A short Playwright script can capture the home page, a service page, the contact form and the checkout, then compare them after updates finish. On the first run, Playwright saves reference screenshots, and later runs are checked against them.
Writing and maintaining those scripts is tedious work, and AI writes them quickly. Run the comparison on the same machine that captured the references, since Playwright’s own docs warn that rendering shifts with the operating system, browser version, hardware and headless mode. Even then, I review every test before I trust it.
5. Reading logs
PHP error logs, debug.log and server logs tend to be long and repetitive. An agent can group matching errors, pinpoint the first occurrence and tie it back to a specific plugin or recent change. An hour of scrolling becomes a few minutes of reading.
6. Drafting the monthly report
The monthly report covers applied updates, tests run, issues caught, uptime alerts and anything that needs a decision. AI puts together the first draft from the logs, and I edit it until it’s accurate and genuinely useful for the site owner.
What I keep human
Some tasks stay with a person, because a wrong guess in these areas costs real money or real trust.
- A person approves every change headed to the live site and watches the site afterward.
- Test orders, payment gateway settings and refunds stay with me, because a wrong guess at checkout means a lost sale or a customer charged twice.
- Search and replace operations, migrations and cleanup queries on the live database are run by a person, right after a fresh backup.
- AI can explain what suspicious code does, but deciding whether a hacked site is truly clean is a judgment call I make myself.
- Database exports and order details with customer data don’t get pasted into AI tools.
- When something goes wrong, the site owner hears about it from a person who understands their business.

That boundary is the foundation of how I handle WordPress maintenance. AI speeds up the routine work, and a person owns the result.
What a monthly run looks like
Here’s the order I follow on each maintenance run.
- I refresh the staging copy from the live site, take an off-site backup of both, and list pending updates.
- The agent runs its pass with changelog summaries, staging update batches, checksum checks, screenshot comparisons and a log review, writing everything into a run log.
- I read through the run log, open anything flagged, and test the forms and checkout myself, including a test order where the store allows one.
- I apply the approved updates to the live site at a quiet hour, rerun the screenshot checks and keep an eye on the error log for the next hour.
- The agent drafts the summary from the run log, and I edit it before it goes to the owner.

The agent saves the most time in step two, which used to be the most tedious part of the job. Steps three and four take about as long as they always did, and that’s on purpose.
Where WordPress itself is heading
WordPress is building proper interfaces for this kind of work. WordPress 6.9, released in December 2025, shipped the server side of the Abilities API, a registry of the actions a site can perform. WordPress 7.0 followed on May 20, 2026 with an AI Client in core, a Connectors screen for AI providers and a JavaScript version of the Abilities API. Then WordPress 7.1 arrived in August 2026 and gave abilities a filterable execution lifecycle and custom validation.
The piece that matters most for agents is the MCP Adapter, which exposes those abilities to AI tools through the Model Context Protocol. Put simply, an AI tool can ask a site what it’s allowed to do and call those actions with permission checks, instead of guessing at admin screens. The adapter joined the WordPress.org plugin directory in October 2026 and is still a 0.x release, version 0.7.2 when I checked.
WordPress’s developer blog makes a point I agree with. Because an MCP client acts as a logged-in WordPress user, it should connect through a dedicated user with limited rights, and each ability should check the minimum capability it needs.
It’s still early days, so I’d treat plugins built on this like any new plugin. Test them on staging, check which permissions they ask for, and start with read-only abilities. For a business site, the practical questions are simple. Which abilities does a plugin register, and who is allowed to call them?
Guardrails before any agent touches your site
Before an agent gets anywhere near a site I look after, these five guardrails are in place.
- An off-site backup before every run.
- Staging by default, with live access reserved for a person.
- Separate, revocable credentials with the lowest role that does the job.
- A full log of every command and change.
- No site content treated as instructions. Comments, form entries and page text can hide prompts written to trick an AI, which OWASP calls indirect prompt injection and lists first among its risks for LLM applications.
I go deeper on that last point in my post on prompt injection risks for AI agents.
If you’re comparing care providers, ask them how they use AI today and what it’s allowed to do without a person’s approval. A clear answer to that question tells you a lot. For businesses that want AI in their own workflows rather than their site upkeep, my AI automation work follows the same rules.
Two other guides pair well with this one, agentic AI for small business, explained in plain English and how to fix the WordPress white screen of death, step by step.
Curious which parts of your site’s upkeep could be automated safely? Get a free website review and I’ll show you what I’d hand to an agent and what I’d keep.




