Claude · WordPress
Let Claude operate WordPress with restore when the resource is unchanged
Install the NotFair WordPress plugin, connect the site in your workspace, and give Claude 86 WordPress tools covering posts, pages, media, exact-path HTML, settings, and restoreChange.
86 WordPress tools
Turn Claude Into Your Marketing Engine
Bring ads, search, analytics, CRM, and WordPress into your AI client. Explore each integration to see its supported actions.
Choose a platform
Choose your AI client
Open Notfair in Claude's directory
Sign in and start asking
Connect, Claude opens NotFair's secure sign-in flow. Choose your workspace and you are all set. Try: List my connected WordPress websites and show me the homepage content.How it works
Plugin token, then an approved publish
Install the plugin
Connect a verified WordPress website in the NotFair workspace. The existing integration token is stable — there is no user-facing rotation.
Add Claude
Install the published Notfair connector or add the hosted MCP URL in Claude Code. WordPress uses the canonical /api/mcp/notfair endpoint.
Read, version, publish
Claude lists sites, reads a resource with its version, then stages publishHtml or an update. restoreChange works only while the resource is still unchanged.
What Claude can do
Posts, pages, media, and exact-path HTML
WordPress.com has an official hosted MCP. NotFair is the plugin-connected option with counted tools, sanitized publishHtml at exact paths, and restoreChange.
Site routing
listSites returns explicit siteIds. Every website operation requires one.
Versioned edits
Read getResource or readFile first and pass expectedVersion on updates.
Exact-path HTML
publishHtml writes sanitized standalone HTML at a path such as test/t1.html (rootId site-pages).
Restore when unchanged
getChange then restoreChange undoes a supported mutation if the resource has not changed since. External hook side effects are not undone.
WordPress tools
86 WordPress tools Claude can call
The advertised count is measured from registerWordPressTools() and guarded by a drift test. The table below is a representative subset.
| Tool | Type | Description |
|---|---|---|
listSites | read | Connected WordPress websites and siteIds. |
getResource | read | Read a post, page, or other resource including its version. |
uploadMedia | write | Bounded base64 media upload. |
publishHtml | write | Sanitized HTML at an exact path. Scripts are rejected. |
getChange | read | Change receipt and restore eligibility. |
restoreChange | write | Reverse a supported mutation if the resource is still unchanged. |
Full tool surface: /wordpress-mcp.
WordPress + Claude FAQ
Direct answers for operators connecting WordPress to Claude through NotFair.
Install the NotFair plugin, verify the website, add NotFair to Claude, then ask Claude to list sites and read a page before proposing an edit.
Yes. publishHtml with rootId site-pages writes sanitized HTML at a path relative to the website home URL. It is not wrapped by the theme.
restoreChange reverses a supported mutation when getChange says the resource is unchanged. It does not undo external hook side effects and is not Google Ads impact review.
No. WordPress.com documents a hosted MCP for eligible plans. NotFair is an independent plugin-connected MCP with a counted tool surface.
Related pages
Keep evaluating the same connection.
WordPress MCP
Tool surface, endpoint, and 86 WordPress tools.
Compare WordPress MCP servers
Sourced benchmark with public verification prompts.
NotFair Claude connector
One hosted connector across advertising, analytics, CRM, and WordPress.
WordPress write safety
Updates use expectedVersion. Writes wait for workspace-role permission and a stable requestId. restoreChange reverses a supported mutation when getChange says the resource is unchanged.
Connect WordPress to Claude
Updates use expectedVersion. Writes wait for workspace-role permission and a stable requestId. restoreChange reverses a supported mutation when getChange says the resource is unchanged.