Get the plugin
WP MCP/Integrations/SEO

SEO integration

All in One SEO AI agent tool reference

All in One SEO keeps SEO fields in its own aioseo_posts table rather than post meta (and terms in aioseo_terms on the paid plugin). WP MCP reads and writes that row in the same unified field set the other SEO integrations use: title, description, focus keyword (with the legacy keyphrases JSON kept in step), canonical, and noindex / nofollow, which switch on AIOSEO's per-post robots override. Each write snapshots the row first, and a rollback writes it back and clears AIOSEO's query cache so the change shows immediately.

get-seo-metaupdate-seo-metaget-seo-status

In practice

How All in One SEO work goes with an agent.

All in One SEO is the odd one out: it keeps SEO fields in its own aioseo_posts table instead of post meta, with one row per post, and terms in aioseo_terms only on the paid plugin. That changes what a safe write means, so WP MCP snapshots the row itself and writes it back through one path for both the change and the undo. The per-post robots flags only count while the row overrides the global defaults, and WP MCP handles that switch for you when you set noindex or nofollow.

Noindex post 90.

Runs update-seo-meta with noindex:true. The aioseo_posts row is snapshotted, then robots_noindex is set and the per-post override is switched on, since AIOSEO ignores the flag otherwise. Other robots columns start at zero when the override turns on.

Set the focus keyword on post 90 to "cold brew".

Runs update-seo-meta with focus_keyword. The focus_keyword column is written and the legacy keyphrases JSON is kept in step, so older AIOSEO screens and the newer column agree. The row snapshot is taken first.

Which of these pages are really noindexed?

Runs get-seo-meta per post. A flag stored on a row that still follows the global defaults reads as false, because AIOSEO is not applying it. Only a row with the override on reports true.

Give post 90 a Twitter-only image from media item 120.

With Pro, runs set-social-image with target twitter. If the card was mirroring Open Graph, the mirror is switched off and the title and description it inherited are written as explicit Twitter values first, so the card does not lose them.

What your AI can do

Real All in One SEO operations, every write reversible.

  • Read and write AIOSEO title, description and focus keyword
  • Set canonical URLs and noindex / nofollow flags
  • Run bulk metadata passes, snapshotted per post
  • Restore one post or a whole bulk session

Example prompts

Example All in One SEO prompts.

Rewrite the AIOSEO descriptions on every product page under 155 characters.

Set noindex on the thank-you pages.

Undo the metadata run I just did on the blog.

Under the hood

The All in One SEO calls, under the hood.

wpmcp, all-in-one-seo

update-seo-meta({ post_id: 42, title: "…", description: "…" }), writes the aioseo_posts row; snapshotted

Safety and access

What can be undone on All in One SEO, and what costs what.

Recoverable on All in One SEO

  • Writes snapshot the post's aioseo_posts row (or the term's aioseo_terms row) as an aioseo_row.
  • rollback-operation writes that row image back and clears AIOSEO's query cache, so the old values show straight away.
  • rollback-session reverses a whole bulk run the same way.

All in One SEO limits and opt-ins

  • Term SEO needs the aioseo_terms table, which only the paid AIOSEO creates. Without it, term reads and writes answer as unsupported rather than failing.
  • Columns an older AIOSEO release lacks are dropped from a write instead of failing the insert.
  • Fields beyond title, description, focus keyword, canonical and the two robots flags are not exposed, apart from the Open Graph and Twitter fields in Pro.

Free or Pro: Post-level All in One SEO support works in the free plugin download: get-seo-status, get-seo-meta and update-seo-meta register on the free tier and detect AIOSEO with no licence check, exactly as they do for Yoast SEO, Rank Math, SEOPress, The SEO Framework, SureRank and Slim SEO. The WordPress.org directory build of WP MCP leaves All in One SEO out. Term SEO, social fields and the proposal tools are Pro on every plugin. Separately, term-level data exists only on the paid All in One SEO plugin, a limit set by that plugin and not by WP MCP.

In the free plugin

The All in One SEO integration is in the free plugin.

The core All in One SEO tools ship in the free, GPL plugin with the full snapshot and undo engine, and no trial clock. Pro adds 133 more tools, including Elementor deep editing, the other page builders, the forms adapter pack and, for some integrations, extra operations. The pricing page lists what each tier includes.

Frequently asked

All in One SEO MCP: questions, answered.

Is AIOSEO support free?

The post tools are. get-seo-status, get-seo-meta and update-seo-meta work with All in One SEO in the free plugin download, with the same undo as the other SEO plugins. Open Graph and Twitter fields, category and tag SEO and unlimited snapshot history are WP MCP Pro, as they are for every SEO plugin. The WordPress.org directory build leaves All in One SEO out.

How do the robots flags work?

AIOSEO applies per-post robots flags only when the post overrides the global defaults. Setting noindex or nofollow switches that override on; a flag under the global defaults reads as false.

Why does my noindex read false when the row says 1?

AIOSEO only applies per-post robots flags while the row's robots_default is 0. On a row still following the global defaults the stored flag is inactive, so WP MCP reports false instead of a value the site is not using.

Is the All in One SEO integration safe to edit a table directly?

The write replaces the row in one step, drops columns your install lacks, and snapshots the original first. The undo uses the same code path, and AIOSEO's own cache for that table is cleared after both, so its screens do not show stale data.

Does clearing a flag turn the override back off?

No. Setting noindex or nofollow to false leaves the override as it is, because other robots directives on the row may still depend on it. Roll the write back if you want the row exactly as it was.

What does get-seo-status report?

The plugin slug aioseo, the name All in One SEO and the version from AIOSEO_VERSION. Detection runs after the post-meta plugins, so if another SEO plugin is also active, that one is reported instead.

Is there an AI agent for All in One SEO?

Yes, through WP MCP rather than All in One SEO itself. An agent you choose, such as Claude or Cursor, can read and write AIOSEO title, description and focus keyword. WP MCP is a separate plugin, not a built-in AI feature of All in One SEO. On the undo side: Writes snapshot the post's aioseo_posts row (or the term's aioseo_terms row) as an aioseo_row.

Point your AI at All in One SEO.