Get the plugin
WP MCP/Integrations/SEO

SEO integration

SureRank MCP

WP MCP reads and writes SEO metadata through SureRank's own storage (a single _surerank_meta post-meta array), using one unified field set shared with Yoast, Rank Math, SEOPress, and The SEO Framework. An AI agent can read and write meta titles, descriptions, canonicals, and noindex / nofollow flags, and each write is snapshotted before it lands, so a bulk pass is one click from restored.

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

In practice

How SureRank work goes with an agent.

SureRank does not give every field its own meta key. It packs a post's SEO data into one serialized array, _surerank_meta, using the sub-keys page_title, page_description, canonical_url, post_no_index and post_no_follow, with the two robots flags stored as yes and no. A naive meta write would overwrite the whole array and lose settings WP MCP never touched. So the adapter reads the array, changes only the sub-keys you passed, and writes the merged array back, snapshotted first.

Give every product a meta title in the format "Name | Brand" and leave the descriptions alone.

Runs update-seo-meta with post_id and title for each product. The adapter merges page_title into _surerank_meta and keeps the rest of the array. Each write is snapshotted, and the batch can be undone with rollback-session.

Which posts are currently set to noindex?

Runs get-seo-meta per post and reports the ones where noindex is true, which is post_no_index equal to yes in the array. Read only.

Set the canonical for these three duplicate pages to the main guide, and nofollow the old one.

Runs update-seo-meta with canonical on each page and nofollow:true on the old page. Only those sub-keys change, and each call returns an operation_id with recoverable:true.

What your AI can do

Real SureRank operations, every write reversible.

  • Read and write SureRank meta title and description
  • Set canonical URLs and noindex / nofollow flags
  • Bulk-edit SEO metadata across many posts, snapshotted per change

Example prompts

Example SureRank prompts.

Give every product a meta title in the format "Name | Brand".

Noindex the tag archives.

Under the hood

The SureRank calls, under the hood.

wpmcp, surerank

update-seo-meta({ post_id: 42, title: "New title", noindex: true }), merged into the _surerank_meta array, snapshotted

Safety and access

What can be undone on SureRank, and what costs what.

Recoverable on SureRank

  • The post's meta, including the whole _surerank_meta array, is snapshotted before each write.
  • rollback-operation puts the array back exactly, and rollback-session undoes a batch.

SureRank limits and opt-ins

  • SureRank has no focus keyword in this storage, so a focus_keyword argument is ignored and reads back empty.
  • Term-level SEO is not mapped for SureRank: get-term-seo-meta and update-term-seo-meta answer unsupported.
  • Per-post social fields are not mapped for SureRank either, so get-social-meta answers supported:false.
  • A write needs permission to edit the target post.

Free or Pro: Reading and writing SureRank post metadata is free: get-seo-status, get-seo-meta and update-seo-meta, along with the free crawler-file tools that know SureRank's sitemap lives at /sitemap_index.xml. The Pro-only SEO extras mostly do not apply here. Term SEO and social meta are unsupported for SureRank, so the useful Pro additions are generate-meta-tags, generate-schema-markup and analyze-seo, which work from the post itself.

In the free plugin

The SureRank integration is in the free plugin.

The core SureRank 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

SureRank MCP: questions, answered.

How does WP MCP store SureRank fields?

SureRank keeps everything in a single _surerank_meta array; WP MCP reads and merges into that array so partial edits preserve your other SureRank settings, and every write is snapshotted.

Can a partial edit wipe my other SureRank settings?

No. The adapter reads the whole _surerank_meta array, replaces only the sub-keys you passed, and writes the merged array back. Settings it does not know about stay as they were. The write is also snapshotted, so even a bad value is one rollback away from being undone.

How does it detect that SureRank is active?

It checks for SureRank's version constant, and get-seo-status returns the plugin name and version so an agent can confirm before it writes. If another supported SEO plugin is also active, that one is picked first. Running two SEO plugins at once is not expected.

Does it handle taxonomy archives for SureRank?

Not yet. SureRank's term storage is not mapped, so the term SEO tools report it as unsupported instead of guessing. Post and page metadata is fully covered. For archive titles on a SureRank site, edit them in SureRank's own settings.

Point your AI at SureRank.