# Rank Math MCP: SEO changes from your AI agent

Your AI agent can change Rank Math's SEO and social fields on each post, its site-wide settings, the schemas stored on a post and Rank Math's redirects, all through Widejoin. This page lists the Rank Math fields each tool writes, the Role Manager rights it follows, what we checked on Rank Math 1.0.279 and what stays in Rank Math.

## Does Widejoin work with Rank Math?

Widejoin lets your AI agent edit Rank Math titles, descriptions, canonicals and noindex settings in the free plugin, tested on Rank Math 1.0.279, each change recorded. Hosted [Pro from $99 a year](/pricing/) adds sites, calls and history.

## Which tools does Widejoin use for Rank Math?

`read-integration` reads a post's Rank Math fields with a fingerprint, and `prepare-integration` writes them into the post meta keys Rank Math reads, such as `rank_math_title` and `rank_math_robots`. Social fields use the same two tools with the seo-social kind.

## Which Rank Math fields does the agent write on a post?

- The SEO title and meta description.
- The canonical URL.
- The focus keyword. Rank Math keeps your keywords as one comma list with the focus keyword first; the agent changes that first entry and keeps the rest, and a keyword containing a comma is refused.
- Noindex and nofollow. Other robots flags set by hand, such as noarchive, stay as they are.
- The breadcrumb title.
- The Facebook and X (Twitter) title, description and image.

An empty value deletes the field rather than storing a blank, so the page falls back to Rank Math's default.

## Which Rank Math rights does it follow?

The ones in Rank Math's Role Manager. A field on the General, Advanced or Social tab of Rank Math's post settings needs `rank_math_onpage_general`, `rank_math_onpage_advanced` or `rank_math_onpage_social`. Rank Math gives Editors no Advanced tab, so a canonical change from an agent connected as an Editor is refused, as Rank Math's own box refuses it, until the Role Manager grants that capability. The 1.0.2 release checks on 23 November 2026 ran that case on our lab.

## Which site-wide Rank Math settings can it change?

`read-seo-settings` and `prepare-seo-settings` write through Rank Math's `Helper::update_all_settings`: the title separator, the home page title, description and share card, the title and description templates of each public post type, the default share image and X card type, the knowledge graph name, type and logo, the website name, the sitemap module, breadcrumbs with their separator and home label, robots for author, date and tag archives, and the five verification codes. These need an administrator's rights. In the 1.0.2 release checks on 23 November 2026, a home page title and description set this way reached the front page head on our lab, and restore gave the old head back.

## Why does a new title not show on my site?

Rank Math prints no head tags until the site is connected to a Rank Math account or the registration step is skipped. We hit this on our lab. Widejoin now says so in its guidance, and `prepare-seo-settings` can skip the registration step as a change of its own.

## Can it add schema in Rank Math?

Yes, and here Rank Math differs from the other two. Rank Math stores whole schemas per post, so `read-seo-schema` lists them and `prepare-seo-schema` adds, replaces or removes one in Rank Math's own store, never in post content. Every value goes through Rank Math's own sanitizer first and is refused if the sanitizer would change it. Schema IDs change after each approval or restore, so the agent reads again before the next edit.

## Can it add redirects in Rank Math?

Yes, while Rank Math's Redirections module is on. `prepare-redirect` adds one redirect through Rank Math's own redirection classes, checked against Rank Math 1.0.279, and Rank Math makes a target on your site absolute with your home address. Editing or deleting an existing redirect stays in Rank Math.

## What stays in Rank Math's own screens?

robots.txt, llms.txt, editing or deleting redirects, and any setting outside the list above. While a second SEO plugin is active, new SEO changes are refused.

## How does restore work?

Restore writes back the exact previous values after checking that Rank Math still owns the page's SEO, and is refused if another SEO plugin took over. On 11 October 2026 we approved a title, description and noindex change on the Gift cards page of our demo client site. The page source then read nofollow, noindex, noarchive: the two flags set by hand had stayed. On 17 November 2026, on Widejoin 1.0.0, a title, description and noindex change on the About page waited for approval the same way; the image above shows it.

Related: the [Yoast SEO integration](/integrations/yoast/), the [All in One SEO integration](/integrations/aioseo/), [all integrations](/integrations/) and the [restore guide](/docs/restore/).

## Questions

### Which Rank Math version did you test?

Rank Math 1.0.279, on WordPress 7.1.2.

### Will a noindex change remove my nofollow setting?

No. A noindex change keeps your other robots flags, such as nofollow and noarchive.

### Can the agent change the focus keyword in Rank Math?

Yes. It sets the first keyword in Rank Math's list and keeps the others. A keyword that contains a comma is refused, because Rank Math splits the list at commas.

### Why was a canonical change refused for an Editor?

Rank Math's Role Manager gives Editors no Advanced tab by default. Grant rank_math_onpage_advanced to the role in Rank Math's Role Manager and the same change goes through.
