Governed ability

List redirects

aafm/site-list-redirectsRead only

List redirects is a governed Redirects ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.

Lists the redirects stored by the supported redirect plugins on this site (Redirection, Rank Math, Safe Redirect Manager, 301 Redirects, Slim SEO), with source, target, status code, whether each is on, and a hit count where the plugin keeps one. Regex, wildcard and conditional redirects are listed and marked as patterns. Query strings and sign-in details are removed from targets, and the result says when that happened. Covers these plugins only; redirects made by the server, by WordPress itself or by other plugins are not shown. It changes nothing. Requires the manage-options capability.

How it is governed

The same model as every ability in the plugin, stated for this one.

  • Off until you enable it

    Like every ability, List redirects ships switched off. You turn it on one at a time, and an update never switches on a tool it serves.

  • Reads only

    It reads data and returns it to your client. Nothing on your site is created, changed, or removed.

  • Capability gated

    A connection only sees List redirects if the user you connected can run it, and the plugin checks that capability again before it executes.

  • Every call audited

    The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.

List redirects is one of the 4 governed Redirects abilities. See the full Redirects MCP integration.

See it in action

An illustrative run. Your real calls and data stay on your own site.

agent-abilities · auditGoverned
YouList redirects on this site.
RunRunning aafm/site-list-redirects
GateAllowedread capability confirmed
Auditaafm/site-list-redirects · principal: editor · args: id
ResultReturns the data the agent asked for. Nothing on the site changes.

Try it with a prompt

Example requests you could paste to your agent.

  1. List the redirects on this site and show me any that are switched off.
  2. Which redirects point at the old shop address?

These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.

Frequently asked

Short answers for List redirects.

Which redirect plugins does it read?

Redirection, Rank Math, Safe Redirect Manager, 301 Redirects and Slim SEO. Redirects made by the server, by WordPress itself or by other plugins are not shown.

Can it change a redirect?

No. All four redirect tools are reads. They are off until you enable them, need a user who can manage options, and every call is logged.

Back to all abilities

Governed by default, from the first call.

List redirects is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.

Every ability off until you enable it, capability-gated on every call.