SEO integration
Yoast SEO AI agent tool reference
WP MCP writes SEO metadata through Yoast SEO's own fields, so nothing changes in your setup except who is doing the typing. An AI agent can read and write meta titles, descriptions, focus keywords, canonicals, and robots flags across hundreds of posts, each write snapshotted first, and grouped into a session so a bulk run gone wrong is one click from undone.
Yoast SEO in plain language: Yoast SEO MCP.
In practice
How Yoast SEO work goes with an agent.
Yoast keeps each post's SEO fields as _yoast_wpseo_* post meta: a title, a meta description, a focus keyphrase, a canonical, and two robots keys that hold the strings 0 and 1. A category's fields live somewhere else entirely, in one shared option called wpseo_taxonomy_meta. WP MCP hides that split behind one neutral field set, with noindex and nofollow as real booleans, and writes only the fields you pass. Because the safety copy is a full post snapshot, a rollback puts every Yoast key on the post back together, not field by field.
Which SEO plugin is running, and what are the SEO fields on post 412?
Runs get-seo-status, which reports the plugin slug, name and version, then get-seo-meta for the post. Both are reads. A draft by another author, or a password-protected post, is refused unless the caller could open it in the editor.
Rewrite the meta description on post 412 and set the focus keyphrase to "standing desk". Leave the rest alone.
Runs update-seo-meta with description and focus_keyword only. Fields you omit are not written. The post is snapshotted first, and the reply returns the stored fields plus an operation_id and recoverable:true.
Noindex the thank-you page but keep following its links.
Runs update-seo-meta with noindex:true and nofollow:false, which writes the strings 1 and 0 into the two robots keys. The write is snapshotted, and rollback-operation restores both keys exactly.
Set the Yoast title and description for the Guides category.
With Pro, runs update-term-seo-meta by taxonomy and slug. Only that term's row inside wpseo_taxonomy_meta is snapshotted, so rolling it back cannot undo other terms' edits made since. Yoast has no per-term nofollow, so that field comes back in skipped_fields.
What your AI can do
Real Yoast SEO operations, every write reversible.
- Read and write Yoast meta title, description, and focus keyword
- Set canonical URLs and noindex / nofollow flags
- Run bulk metadata passes across hundreds of posts
- Restore one post's metadata, or an entire bulk session
Example prompts
Example Yoast SEO prompts.
Rewrite the meta descriptions across the blog, keep them under 155 characters.
Set focus keywords on the Services pages from this list.
Undo the metadata run I just did on the whole blog.
Under the hood
The Yoast SEO calls, under the hood.
update-seo-meta({ post_id: 90, title: "…", description: "…" }), writes Yoast fields; snapshotted
rollback-session({ session_id }), unwind the whole bulk run
Safety and access
What can be undone on Yoast SEO, and what costs what.
Recoverable on Yoast SEO
- Each update-seo-meta call snapshots the whole post, including all of its Yoast meta keys, before writing.
- rollback-operation restores one post exactly. rollback-session reverses every post written under the same session_id.
- A term write snapshots only that term's row, and its rollback also makes Yoast rebuild the term's stored page data so the old values stop showing.
Yoast SEO limits and opt-ins
- Six per-post fields are exposed: title, description, focus_keyword, canonical, noindex and nofollow. Other per-post settings, such as the cornerstone flag and schema choices, are not.
- Site-wide Yoast settings, such as title templates and sitemap options, are not exposed.
- Social fields, term fields, and the schema and meta-tag proposals are Pro.
Free or Pro: Reading and writing a post's title, description, focus keyphrase, canonical and robots flags is free, together with get-seo-status and the undo engine. Nothing here checks for Yoast Premium. Pro adds the pieces around it: get-term-seo-meta and update-term-seo-meta for category, tag and custom taxonomy archives, get-social-meta and set-social-image for Open Graph and Twitter fields, and generate-schema-markup and generate-meta-tags, which only propose and never write. update-seo-meta has no opt-in filter. It runs for anyone who can edit the post.
In the free plugin
The Yoast SEO integration is in the free plugin.
The core Yoast 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
Yoast SEO MCP: questions, answered.
Does the Yoast SEO integration change my Yoast setup?
No, WP MCP writes Yoast's own fields, so your SEO configuration is untouched; the agent just does the typing.
What if a bulk rewrite goes wrong?
Every write is snapshotted and grouped into a session, so you can roll the entire run back in one click.
What does noindex false actually write in Yoast?
It writes 0, which Yoast reads as "use the site default for this post type". It does not force the page to be indexed. If the default for that type is noindex, the page stays noindexed after the agent sets false, so check the default first.
What if Yoast and another SEO plugin are both active?
WP MCP treats Yoast as the active plugin and writes Yoast's fields, never the other plugin's. get-seo-status tells you which plugin it chose, so an agent can check that before it starts a bulk run.
Can an agent change Yoast's site-wide settings?
No. The tools read and write per-post fields and, with Pro, per-term and social fields. Title templates, sitemaps and the other Search Appearance options are not exposed, so a bulk run cannot reconfigure the plugin.
In Yoast SEO, how do I review a bulk run before keeping it?
Give the run one session_id. Each write returns the stored fields, so the agent can report before and after values, and rollback-session reverses the lot. A single bad post can be reversed alone with its operation_id.
Is there an AI agent for Yoast SEO?
Yes, through WP MCP rather than Yoast SEO itself. An agent you choose, such as Claude or Cursor, can read and write Yoast meta title, description, and focus keyword. WP MCP is a separate plugin, not a built-in AI feature of Yoast SEO. On the undo side: Each update-seo-meta call snapshots the whole post, including all of its Yoast meta keys, before writing.
Related integrations
More integrations for the same agent.
MCP for Rank Math
FreeSEO, 3 tools.
MCP for SEOPress
FreeSEO, 3 tools.
MCP for All in One SEO
FreeSEO, 3 tools.
MCP for Redirection
FreeSEO, 2 tools.
MCP for DataForSEO
ProSEO, 2 tools.
MCP for The SEO Framework
FreeSEO, 3 tools.
Browse the full Integrations hub, or read more on Yoast SEO MCP, MCP for SEO and the WordPress MCP plugin.