Connect Claude, ChatGPT or Cursor to your WordPress site. Let the AI do real work. Undo is free.
WPMCP is a free, open source WordPress plugin that turns your site into an MCP server.
Before each supported write it saves a snapshot, so one change or a whole AI session can be rolled back.
- Download wpmcp.zip.
- In wp-admin, go to Plugins > Add Plugin > Upload Plugin, install it and activate it.
- Open wpmcp > Connection and connect Claude Desktop, Claude Code, ChatGPT or Cursor.
Requires WordPress 6.9+ and PHP 8.1+. Free installs update in one click from Dashboard > Updates.
- A snapshot before each supported write. Posts, pages, blocks, menus, options, products, orders and builder layouts are captured before the change runs.
- Automatic rollback. If a change fails its check, it rolls back on its own.
- Undo one change or a whole session. Ask the AI to roll back its session, or click Restore on any change in the History screen.
- Undo is free. The free plugin keeps your last 20 changes restorable, with no time limit.
- Your site, your server. Self-hosted and GPL. Nothing has to route through a third-party cloud.
- Narrow, audited access. Scoped agent identities, governance rules that can only restrict, and an audit log of every tool call.
The few writes that cannot be undone are listed in the safety model, and each one says so in its response.
| Area | Examples |
|---|---|
| Content | Posts, pages, custom post types, taxonomies, menus, media, users, options |
| Gutenberg | Surgical block edits, patterns, full page composition |
| WooCommerce | Products, variations, prices, stock, orders, coupons, tax rates, sales reports |
| SEO | Yoast, Rank Math, SEOPress, The SEO Framework, SureRank, Slim SEO, All in One SEO |
| Page builders (Pro) | Elementor deep editing, Bricks, Divi, Beaver Builder, Breakdance, Oxygen, WPBakery, Avada |
| Fields, forms and more | ACF, Meta Box, Contact Form 7, Polylang, WPML, events, donations, memberships. Gravity Forms, WPForms and Fluent Forms with Pro |
See all integrations. Each integration page states plainly what it does not cover.
| Repo | What it is |
|---|---|
| wordpress-mcp | The plugin. Issues, discussions and pull requests go here. |
| wordpress-mcp-for-woocommerce | Safe MCP for WooCommerce, a free store-focused edition. |
| .github | This profile and the org-wide contributing, issue and security templates. |
The plugin is free, safety and undo included. WPMCP Pro adds unlimited undo history, deep Elementor editing, the other page builders, the premium forms plugins, the widget and block builders and cloud sync, from $49 a year or $98 lifetime. Every plan has every Pro feature; plans differ only by the number of sites. Pro comes from the Freemius checkout on the pricing page; GitHub releases carry the free plugin only.
GitHub users get 10% off Pro with the code WPMCPGIT.
- Report a bug or request a feature
- Changelog and GitHub releases
- If WPMCP saved you from a bad AI edit, a star on wordpress-mcp helps other people find it.
Built on the WordPress Abilities API and the Model Context Protocol.