Get the plugin
WP MCP/Integrations/SEO

SEO integration

MCP for Redirection

WP MCP reads and writes the Redirection plugin's own redirects as ops on the theme dispatcher pair: list groups, list and read redirects by group, status or search, and create, update, enable, disable or delete them. Before anything is saved it refuses unsafe sources and targets, a source another plain redirect already owns, and any redirect that would loop through the site's enabled redirects, reporting the cycle. Every write is snapshotted as a row image, so an edit goes back in place, a deleted redirect returns at its own id, and a created one is removed again. Writes cover plain URL matches; conditional redirects are listed and can be enabled, disabled or deleted, but not rewritten.

theme-readtheme-write

What your AI can do

Real Redirection operations, every write reversible.

  • List Redirection groups and redirects, filtered and paged
  • Create redirects to a URL or an HTTP error
  • Edit, enable, disable or delete a redirect
  • Refuse redirect loops, duplicate sources and unsafe targets before saving
  • Roll back any redirect change exactly

Example prompts

Just ask.

List every disabled redirect in Redirection.

Redirect /old-pricing to /pricing with a 301.

Delete the redirects that point at pages that no longer exist.

Under the hood

The real calls.

wpmcp, redirection

theme-read({ operation: "list-redirection-redirects", args: { status: "enabled" } })

theme-write({ operation: "create-redirection-redirect", args: { source: "/old-pricing", target: "/pricing" } }), loop-checked, snapshotted

Frequently asked

Questions, answered.

Can the agent edit a conditional redirect?

It can list, enable, disable or delete one, but update refuses it rather than flattening conditions (login state, referrer, cookie) it cannot represent.

Is delete reversible?

Yes. Delete needs confirm:true, and the redirect comes back at its own id with rollback-operation.

Point your AI at Redirection.

Release notes, straight to your inbox.

One email per release, what shipped, what's verified, what's production-only. No drip campaigns. Unsubscribe in one click.