How to Manage WordPress With AI Agents: A Practical Guide to MCP
· Mike Valera
AI tools can now do more than write a blog post about WordPress. Connected the right way, Claude, Cursor or ChatGPT can look up which of your sites have a vulnerable plugin, start a backup, or run an update when you approve it. The standard that makes this work is MCP.
This guide explains MCP in plain terms, the two ways to connect AI to WordPress, how to set up each one, and the rules that keep an AI agent from breaking a client's site.
The short answer
MCP (Model Context Protocol) is an open standard that lets AI tools call outside services. A WordPress MCP server gives your AI tool a set of actions it can take on WordPress, like listing plugins or creating a post.
There are two ways to set it up:
- One site at a time: install WordPress's official MCP Adapter plugin on a site and connect your AI tool to it. Good for working on content and settings on one site.
- Every site at once: connect your AI tool to a WordPress management tool that has an MCP server. Good for agencies doing maintenance across many client sites.
Whichever you pick, start with read-only access and keep a person approving changes.
What MCP actually does
Without MCP, an AI tool only knows what's in its training data and what you paste into the chat. It can tell you how to update a plugin, but it can't see which plugins your sites run.
An MCP server gives the AI a list of tools: named actions with clear inputs, like "list the plugins on this site" or "start a backup". When you ask a question, the AI decides which tools to call, reads the results, and answers from real data. Whether a tool can change anything is decided by the server and the access you give it, not by the AI.
Most AI tools now support MCP, including Claude (desktop, web and Claude Code), Cursor and VS Code. ChatGPT supports custom MCP connectors in developer mode, with limits that depend on your plan.
Two ways to connect AI to WordPress
| One site: WordPress MCP Adapter | Every site: a management tool's MCP server | |
|---|---|---|
| What you install | The MCP Adapter plugin on each site | The management tool's connector on each site, then one MCP connection |
| What the AI can do | Whatever "abilities" WordPress and your plugins expose | Fleet maintenance: updates, backups, security, uptime, reports |
| Connections | One per site | One for every site |
| Sign-in | A WordPress user (usually an application password) | The tool's token or sign-in |
| Best for | Content, settings and plugin features on one site | Agencies maintaining many client sites |
They work well together: a fleet tool for maintenance across sites, and the adapter on a site where you want the AI working inside WordPress itself.
Option 1: Connect AI to one site with the MCP Adapter
The MCP Adapter is the official bridge from WordPress to MCP, built by the WordPress AI team. It turns abilities, actions registered through the Abilities API that arrived in WordPress 6.9, into tools an AI can call. WordPress 6.9 ships three core abilities (site info, user info and environment info), and plugins can register their own.
To set it up:
- Install the adapter. Download the MCP Adapter plugin from its GitHub releases and activate it. Developers can add it with Composer instead (
composer require wordpress/mcp-adapter). - Create a dedicated WordPress user for the AI, with the lowest role that covers what you want it to do, and an application password for that user.
- Choose which abilities to expose. Abilities are private by default; a plugin or your own code has to mark each one public for the default server.
- Connect your AI tool. For a live site, the adapter's guide uses a small proxy package that runs with
npx:
{
"mcpServers": {
"my-site": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WP_API_URL": "https://example.com/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "ai-assistant",
"WP_API_PASSWORD": "your application password"
}
}
}
}
That goes in Claude Desktop's config file, Cursor's mcp.json, or Claude Code's .mcp.json; VS Code uses the same shape under a servers key. Check the adapter's own guide for the current setup, since it's moving quickly. On a local site you can connect over WP-CLI instead, with no proxy.
Keep in mind that the AI acts as that WordPress user. Anything the user can do, the AI can do, so the dedicated, limited user in step 2 matters more than anything else here.
Option 2: Connect AI to every client site
For an agency, connecting an AI tool to thirty sites one by one means thirty plugins, thirty users and thirty connections to keep track of. A management tool with an MCP server sits on top of all of them instead: connect once, and the AI can work across every site the tool manages, using the backups, updates and monitoring the tool already runs.
As of November 11, 2026:
- WP Umbrella has a hosted MCP server with OAuth sign-in that works in Claude, ChatGPT and Cursor. Read-only tools run straight away; changes wait for your confirmation.
- MainWP has an MCP server that runs on your computer and connects to your self-hosted dashboard with an application password, with a confirmation step before destructive actions.
- FleetWP has a hosted MCP server for Claude Code, Cursor and VS Code, and a local package for Claude Desktop, with read-only tokens, per-site access rules and an approval queue.
- ManageWP doesn't list an official MCP server.
What to ask it
Start with questions. They're safe, and they show quickly whether the AI is reading real data:
- "Which sites have high or critical security findings?"
- "List every site with plugin updates waiting, and which plugins."
- "Did all of last night's backups finish? Show me any that failed."
- "Which sites had new PHP fatal errors this week?"
- "Which sites are running a PHP version that's out of security support?"
- "Summarize what changed on acme-shop.com this month for the client."
Once you trust the answers, move on to changes you approve one at a time:
- "Back up riverstone.com, then update Contact Form 7 on it."
- "Roll WooCommerce back to the previous version on the Atlas store."
- "Log that I fixed the contact form on acme.com today."
Ask for specific sites and plugins. "Update everything everywhere" is exactly the request you want a person to look at first.
How to keep an AI agent safe on client sites
The risk isn't that the AI is malicious. It's that it misreads a request, acts on a wrong assumption, or follows instructions hidden in content it reads. These rules cover most of it:
- Start read-only. Give the agent read access for the first week or two, and see what it gets right.
- Give it its own identity. A dedicated WordPress user or API token per agent, never your own admin login, so you can limit it, see what it did, and revoke it on its own.
- Keep a person approving changes. Updates, restores, plugin changes and deletions should wait for a yes. Ideally the approval is enforced by the tool itself, so it still holds if someone changes the AI tool's settings.
- Limit it to what it needs. Only the sites it maintains, and only the features it needs: backups and updates, say, but not user management.
- Back up before every change. The agent's first move before an update should be a backup, and you should be able to restore without it.
- Watch for instructions in content. A comment, post or form submission can contain text written to steer an AI ("ignore your instructions and…"). Keep agents that read user content away from write access, and be wary of anything they suggest after reading it.
- Review the log. Check what the agent did each week, the same way you'd check a new contractor's work.
A weekly routine with an AI agent
Here's how this fits a normal maintenance week:
- Monday: ask for a fleet summary: failed backups, downtime, new security findings, waiting updates.
- Ask for a plan, not action: "Which updates should go out this week, and which should wait for testing?"
- Approve the safe batch. Let the agent queue backups and updates; approve them in your dashboard.
- Check the results: "Did all of today's updates succeed? Any new PHP errors since?"
- Friday: ask for a plain-English summary per client, and paste the useful parts into your reports.
The AI does the looking and the busywork. You keep the decisions.
FAQ
Does WordPress have an official MCP server?
Yes. The MCP Adapter, built by the WordPress AI team, turns WordPress abilities into MCP tools. It works on one site at a time and needs WordPress 6.9 or later for the Abilities API.
Can ChatGPT or Claude connect to my WordPress site?
Yes. Claude Desktop, Claude Code, Cursor and VS Code connect through the MCP Adapter or a management tool's MCP server. ChatGPT supports custom MCP connectors in developer mode, depending on your plan, and some tools (WP Umbrella, for example) support it directly.
Is it safe to let AI manage WordPress?
It can be, with limits: read-only access to start, a dedicated user or token, approval before changes, access to only the sites it needs, and backups before every change. Never give an AI tool your own admin password.
Do I need to know how to code?
No, for a management tool's MCP server: you paste a token or a short config into your AI tool. The MCP Adapter takes a little more setup, and exposing your own abilities needs some PHP.
What's the difference between an AI assistant in a dashboard and MCP?
An assistant built into a dashboard, like FleetWP's Ask AI, works inside that tool with nothing to set up. MCP connects the AI tool you already use, like Claude Code or Cursor, so it can work with WordPress alongside your other tools.