WP MCP/Connect AI to WordPress
Let your AI agent work on your WordPress site. Keep the undo.
WP MCP is a free plugin that connects Claude, ChatGPT, Cursor and other AI clients to your site. Ask for a change in plain words and the agent makes it. Every write is saved first, so one click puts it back.
GPL-2.0, runs inside your WordPress. WordPress 6.9+ and PHP 8.1+.
One plugin between your AI client and your whole site
Your client talks to WP MCP over MCP, the open protocol AI tools use to call other software. WP MCP works on WordPress and the plugins you already run, and saves a snapshot before anything is written.
Pro covers deep Elementor editing and the other page builders, including Bricks and Divi. Gutenberg, WooCommerce, ACF, Yoast SEO and Rank Math work in the free plugin. See every integration.
Hand it the jobs that eat your afternoon
Pages, prices, SEO fields, builder sections, a security check. Each change is saved before it runs, and a scan only reads.
Start in three steps
- 1
Install the free plugin
Download the zip from GitHub, upload it under Plugins, Add New, and activate WP MCP. It needs WordPress 6.9 or newer and PHP 8.1 or newer.
- 2
Create a connection
Open WP MCP, Connection in wp-admin, create an application password, and copy the config it generates for your client.
- 3
Ask for a change
Paste the config into Claude Code, Claude Desktop, Cursor or VS Code, then ask in plain language. Each change shows up in History with a Restore button.
Client by client: Claude, Claude Code, ChatGPT and Cursor.
What the undo covers
Snapshots are taken at the WordPress data layer, so a restore works the same whichever builder or theme made the page.
- Saved before every write. Posts, pages, meta, terms, options, users and the data of supported plugins.
- Undo one change or a whole session. From History in wp-admin, or ask the agent to roll it back.
- History depth. The free plugin keeps the last 20 operations. Pro keeps unlimited history while licensed.
- Honest about the rest. Plugin updates, raw database writes and a few other one-way actions are off by default and say so in their response. How undo works in WordPress.
Questions before you connect
What does connecting AI to WordPress mean?
It means your AI client, such as Claude, ChatGPT or Cursor, can act on your site instead of only giving advice. WP MCP turns the site into an MCP server, so the client can read and change posts, pages, products, menus, SEO fields and settings through tools, with each write saved first.
Which AI clients can I connect?
Claude Code, Claude Desktop, Cursor and VS Code have ready-made config on the Connection screen, and any MCP client that connects over HTTP can use the same endpoint. ChatGPT signs in with OAuth, which ships switched off, so turn OAuth on first.
What happens if the AI gets something wrong?
Every supported write is saved as a snapshot before it runs. Restore one change, or everything the agent did in a session, from History in wp-admin or by asking the agent. The free plugin keeps the last 20 operations and Pro keeps unlimited history while licensed. A few one-way actions, such as plugin updates and raw database writes, are off by default and say so when used.
Which parts are free and which are Pro?
The snapshot and undo engine, Gutenberg editing, WooCommerce, ACF, Yoast SEO and Rank Math fields, and the security scanner are in the free plugin. Pro adds deep Elementor editing, Bricks, Divi and the other page builders, unlimited history and priority support.
Does my site have to talk to another service?
No. WP MCP runs inside WordPress as a single plugin, with no proxy or hosted relay. What the agent reads goes to the AI client you chose, under that provider's terms.