Title: Persjay AI Agent Firewall – Approvals, Undo &amp; Audit Log
Author: jaypeeperos
Published: <strong>November 26, 2026</strong>
Last modified: November 26, 2026

---

Search plugins

![](https://ps.w.org/persjay-ai-agent-firewall/assets/banner-772x250.png?rev=3828420)

![](https://ps.w.org/persjay-ai-agent-firewall/assets/icon.svg?rev=3828420)

# Persjay AI Agent Firewall – Approvals, Undo & Audit Log

 By [jaypeeperos](https://profiles.wordpress.org/jaypeeperos/)

[Download](https://downloads.wordpress.org/plugin/persjay-ai-agent-firewall.0.4.2.zip)

 * [Details](https://wordpress.org/plugins/persjay-ai-agent-firewall/#description)
 * [Reviews](https://wordpress.org/plugins/persjay-ai-agent-firewall/#reviews)
 * [Development](https://wordpress.org/plugins/persjay-ai-agent-firewall/#developers)

 [Support](https://wordpress.org/support/plugin/persjay-ai-agent-firewall/)

## Description

AI agents like Claude, ChatGPT and Cursor can now edit posts, change settings and
manage WooCommerce orders on your site. Persjay AI Agent Firewall (Agent Firewall
for short) makes sure they only do what you allow.

Every agent call stops at the gate. Safe actions pass. Risky ones, like deleting
posts, changing settings or refunding orders, wait for your approval. If something
slips through, undo it in one click.

 * **Set up in 60 seconds.** Answer three questions and Agent Firewall applies a
   safe preset for your site: blog, store or membership.
 * **Guards every door.** Works with the official MCP Adapter, other MCP plugins,
   and application passwords. No extra MCP server needed.
 * **Knows every agent.** Name each connection, see what it did, pause it, or revoke
   it instantly.
 * **Stops runaway agents.** Rate limits and an emergency stop button for all agents.
 * **Everything on the record.** A full log of every agent action, including blocked
   attempts.
 * **Private by design.** No telemetry, no external calls. Your data stays on your
   site.

Upgrade to [Agent Firewall Pro](https://persjay.com/plugins/persjay-ai-agent-firewall/#pricing)
for one-tap approvals from your phone, Slack or Discord, store money rules with 
two-person approval, learning mode, undo for settings, users and WooCommerce, per-
agent limits with auto-pause, and a one-year log with CSV export. Agencies: send
branded monthly AI activity reports, let clients approve under your brand, and share
rules across sites with templates or from Network Admin on multisite. [See Pro features and pricing](https://persjay.com/plugins/persjay-ai-agent-firewall/#pricing).

#### How it works

Agent Firewall sits beside whatever connects your agents. It recognises an agent
by the application password it signs in with (or by WP-CLI when an MCP client runs
over STDIO), works out what the call would do, and gives it a risk level. Your preset
turns risk into a decision:

 * **Relaxed** – agents work freely; only dangerous actions wait for you.
 * **Balanced** – drafts and small changes pass; live changes and dangerous actions
   wait for you.
 * **Strict** – every change waits for you; dangerous actions are blocked.

Held actions appear under Agent Firewall  Approvals with a before/after preview,
and you get an email. Approve, and Agent Firewall runs the action exactly as the
agent sent it. If the content changed in the meantime, Agent Firewall warns you 
first.

Agents can never change Agent Firewall itself, install, update or remove plugins
and themes, create or change user accounts and roles, set passwords or create application
passwords, whatever your rules or agent modes say. Changes to site settings, including
WooCommerce store settings, payment gateways and webhooks, always wait for your 
approval.

Agent Firewall does not add any remote access to your site. Agents reach your site
through WordPress’s own REST API, MCP Adapter or WP-CLI, signed in with an application
password, as a real WordPress user with that user’s permissions. Agent Firewall 
only narrows what those agents may do, and nothing is ever run from an outside server.

#### What it guards

 * REST API calls signed in with application passwords, including WooCommerce
 * MCP over HTTP (the official WordPress MCP Adapter and other MCP plugins)
 * The Abilities API. On WordPress 7.1 and later, abilities are stopped before they
   run wherever they are called from. On WordPress 6.9, abilities called over HTTP
   are guarded and abilities run from WP-CLI are logged.
 * XML-RPC sign-ins with application passwords (changes are blocked by default)

## Screenshots

[⌊Approvals: risky agent actions wait for you, with a before-and-after preview of
exactly what will change.⌉⌊Approvals: risky agent actions wait for you, with a before-
and-after preview of exactly what will change.⌉[

Approvals: risky agent actions wait for you, with a before-and-after preview of 
exactly what will change.

[⌊Overview: the emergency stop, what is waiting for you, and the latest agent activity
at a glance.⌉⌊Overview: the emergency stop, what is waiting for you, and the latest
agent activity at a glance.⌉[

Overview: the emergency stop, what is waiting for you, and the latest agent activity
at a glance.

[⌊Activity log: every agent call with its risk and outcome, including blocked attempts,
and one-click undo.⌉⌊Activity log: every agent call with its risk and outcome, including
blocked attempts, and one-click undo.⌉[

Activity log: every agent call with its risk and outcome, including blocked attempts,
and one-click undo.

[⌊Rules: choose what agents may change. Plugins, themes and users are always blocked,
and site settings always need your approval.⌉⌊Rules: choose what agents may change.
Plugins, themes and users are always blocked, and site settings always need your
approval.⌉[

Rules: choose what agents may change. Plugins, themes and users are always blocked,
and site settings always need your approval.

[⌊Agents: give each agent its own connection, set its rules, and pause or revoke
it at any time.⌉⌊Agents: give each agent its own connection, set its rules, and 
pause or revoke it at any time.⌉[

Agents: give each agent its own connection, set its rules, and pause or revoke it
at any time.

[⌊Setup: answer three questions and your site is protected in about a minute.⌉⌊Setup:
answer three questions and your site is protected in about a minute.⌉[

Setup: answer three questions and your site is protected in about a minute.

## FAQ

### Does Agent Firewall send my data anywhere?

No. Agent Firewall makes no external calls and has no telemetry. Approval emails
are sent by your own site.

### Do I need a separate MCP server?

No. Keep using the MCP Adapter or the MCP plugin you already have. Agent Firewall
guards it.

### What can be undone?

Changes agents make to posts and pages: edits, new posts, trashing and permanent
deletion. Undo warns you if someone edited the post after the agent did.

### Does deleting Agent Firewall remove my data?

Not unless you ask it to. By default, deleting and reinstalling Agent Firewall keeps
your agents, rules, activity log and approval history, so an update or a reinstall
never loses your audit trail. To erase everything when you delete the plugin, tick“
Remove all Agent Firewall data when the plugin is deleted” under Agent Firewall 
> Rules first. Developers can also set `define( 'PJTG_REMOVE_ALL_DATA', true );`
in wp-config.php. Deactivating never removes anything.

### Which connections does Agent Firewall watch?

Connections you create under Agent Firewall > Agents (application passwords), MCP
over WP-CLI, WordPress.com and Jetpack, WooCommerce REST API keys, bearer tokens
from OAuth and JWT plugins, passwords sent over the REST API and XML-RPC logins.
You can turn each of the last five off under Agent Firewall > Agents. An agent that
drives a logged-in browser looks exactly like you, so no plugin can tell it apart:
give such an agent its own user account with a lower role.

### Does Agent Firewall work on multisite?

Yes. Network-activate it and every site gets its own agents, rules, approvals and
activity log. Network Admin  Agent Firewall shows every site in one table and has
an emergency stop for the whole network. Each site still decides its own rules.

### What happens when an agent hits a held action?

The agent gets a clear message with a request number and is told not to retry. If
you approve, Agent Firewall runs the action. Agents can check on a request at `/
wp-json/persjay-ai-agent-firewall/v1/requests/{id}`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Persjay AI Agent Firewall – Approvals, Undo & Audit Log” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ jaypeeperos ](https://profiles.wordpress.org/jaypeeperos/)

[Translate “Persjay AI Agent Firewall – Approvals, Undo & Audit Log” into your language.](https://translate.wordpress.org/projects/wp-plugins/persjay-ai-agent-firewall)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/persjay-ai-agent-firewall/),
check out the [SVN repository](https://plugins.svn.wordpress.org/persjay-ai-agent-firewall/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/persjay-ai-agent-firewall/)
by [RSS](https://plugins.trac.wordpress.org/log/persjay-ai-agent-firewall/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4.2

 * Every badge and note in the admin screens is now escaped when it is printed.

#### 0.4.1

 * The request status endpoint and ability now only answer site admins and connected
   agents.

#### 0.4.0

 * Renamed to Persjay AI Agent Firewall (slug persjay-ai-agent-firewall).
 * Plugins, themes, users and roles are now always blocked for agents, and site 
   settings (including WooCommerce settings, payment gateways and webhooks) always
   wait for approval, even for Trusted agents.
 * Connections can only be created for users you are allowed to edit, and the Agents
   screen explains what a connection can do.
 * Hardened input sanitization.

#### 0.3.5

 * Multisite: licensing now works for the whole network. Activate one license in
   Network Admin instead of on every site.

#### 0.3.4

 * Plugin Check clean-up: database table names are passed as prepared identifiers,
   the live-update requests check their nonce in place, a missing translator comment
   was added, and the plugin name matches the readme.

#### 0.3.3

 * Tighter spacing under the tabs, and the Network Admin header no longer crowds
   its bottom edge.

#### 0.3.2

 * Better spacing under the tabs on the Approvals and Agents screens.

#### 0.3.1

 * Multisite: Network Admin now sees an Agency license that was activated on the
   main site, so the network tools appear.
 * Multisite: the network screen sets up any site whose tables are missing (for 
   example after updating Agent Firewall while it is network-active).
 * Network screen: a card for active agents across the network, better spacing, 
   and emergency-stop entries no longer count as refused agent calls.
 * Clearer approval cards: order notes say whether the customer sees them, and WooCommerce
   batches show one line per item with today’s values.
 * Rule templates record the full site address they came from, which matters on 
   subdirectory networks.

#### 0.3.0

 * Multisite: network-activating Agent Firewall now sets up every site at once, 
   and new sites are set up as soon as they are created.
 * New Network Admin  Agent Firewall screen: every site’s preset, waiting approvals,
   agents and last-24-hour activity in one table, and a network emergency stop that
   stops agents on every site (site admins cannot override it).
 * Licenses can be managed for the whole network from Network Admin.
 * Agency: copy one site’s rules to every other site (or to the sites you pick),
   and give them to new sites automatically.
 * Agency: one list of waiting approvals and agent activity across the network.
 * Agency: rule templates. Save a site’s rules as a file and import it on another
   site. Templates never include agents, logs, webhooks or email addresses.

#### 0.2.9

 * Fixed: the activity log table was never created on MySQL and MariaDB, so the 
   log, the Overview counts and undo did not work. Updating creates it. If Agent
   Firewall cannot create a table, it now shows a warning and tries again every 
   hour instead of failing silently.
 * Fixed: WooCommerce batch calls (such as /wc/v3/orders/batch) are now treated 
   as batches and wait for approval, like WordPress batch calls.
 * Fixed (Pro): order notes and other calls under /orders no longer count as new
   orders for the store money rules.
 * Changed (Pro): “Let money actions under these limits pass without asking” is 
   now off by default, so refunds wait for you unless you choose otherwise. When
   it is on, the Rules screen says what passes.
 * Approval cards no longer warn “This changed after the agent asked” when nothing
   the agent wants to change has changed.
 * Approval cards for WooCommerce abilities, store settings and payment methods 
   now show the current value next to the new one, and delete cards show the customer,
   order or coupon by name.

#### 0.2.8

 * The “1 new request” note on the Approvals screen now clears once you approve 
   or reject a request, or after 10 seconds.

#### 0.2.7

 * The Approvals screen updates itself: new requests slide in at the top of the 
   queue, and requests decided somewhere else (another admin, a one-tap email link,
   expiry) leave with a note saying what happened and who decided.
 * Approve and Reject work without reloading the page and show the result in place(“
   Approved and run · HTTP 200”). Two-person approvals and “changed since the agent
   asked” warnings update the card in place.
 * The waiting count stays fresh on every Agent Firewall screen: in the menu, the
   admin bar, the Approvals tab and the browser tab title.
 * Optional desktop notifications for new requests, switched on per computer from
   the Approvals screen.
 * Uses the WordPress Heartbeat that already runs in wp-admin. If a speed plugin
   turns it off, the Approvals screen checks every 20 seconds while it is visible.

#### 0.2.6

 * Held actions now answer with HTTP 409 instead of 202, so agents behind a proxy
   such as WordPress.com are told the action is waiting for approval instead of 
   seeing an empty success. The message and request number are unchanged, and the
   error data now includes “held”: true.
 * Sections on the Agents screen can be collapsed too, with Expand all and Collapse
   all. The one-time password card always stays open.

#### 0.2.5

 * Connection types now live on the Agents screen under “How agents connect”, with
   a switch for each and what Agent Firewall has seen: how many agents, when they
   were last seen, and for switched-off types how many calls were let through this
   week.
 * Every section on the Rules screen can be collapsed, with Expand all and Collapse
   all. Your choice is remembered in this browser.

#### 0.2.4

 * Agent Firewall now spots agents that do not use an Agent Firewall connection:
   WordPress.com and Jetpack (including the WordPress.com MCP connector), WooCommerce
   REST API keys, bearer tokens from OAuth and JWT plugins, passwords sent over 
   the REST API, and XML-RPC logins. Each one appears on the Agents screen and follows
   your rules instead of passing as the site owner. Every type can be turned off
   under Rules.
 * New agent mode “Trusted” lets a known app, such as a shipping or accounting integration,
   make changes without approval. Its calls are still logged and anything you block
   is still blocked.
 * Jetpack’s own connection upkeep keeps working when WordPress.com is watched.

#### 0.2.3

 * Deleting Agent Firewall no longer erases its data by default, so reinstalling
   keeps your agents, rules, log and approval history. A new setting under Rules
   removes everything on delete when you want a clean uninstall.

#### 0.2.2

 * Agents can now collect the result of an approved request. Agent Firewall saves
   what the action returned, and agents read it with the new “persjay-ai-agent-firewall/
   get-request” ability over the same MCP or abilities connection they already use,
   without a separate login.
 * The “waiting for approval” message now tells agents how to check the request 
   with that ability.
 * Calls through the MCP Adapter on WordPress 7.1 are judged by the ability they
   actually run, not the adapter’s wrapper, so plain reads like site info are no
   longer held for approval.
 * An approved MCP Adapter request now replays the requested ability itself and 
   saves its result.

#### 0.2.1

 * Agents can no longer create user accounts or set any user’s password; these are
   refused outright instead of waiting for approval.
 * Passwords, tokens and API keys are hidden in approval cards, emails, chat alerts
   and one-tap pages.
 * Approval cards show the site as it is now and warn when the item changed or no
   longer exists.
 * Changes to an agent’s own account (users/me) are labelled as updates and show
   the current value.
 * Read-only abilities that return logs or secrets now wait for approval unless 
   you allow them.
 * Store rules are hidden on the Rules screen when WooCommerce is not active.

#### 0.2.0

 * Hooks for paid plans; approval emails and the activity log can be extended.
 * Two-person approval support in the approval queue.
 * Uninstall clean-up moved into the plugin.

#### 0.1.0

 * First version: 60-second setup, agent registry, emergency stop, approval queue
   with previews and email, rate limits, 30-day activity log, undo for posts and
   pages.

## Meta

 *  Version **0.4.2**
 *  Last updated **23 minutes ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI agent](https://wordpress.org/plugins/tags/ai-agent/)[approval](https://wordpress.org/plugins/tags/approval/)
   [mcp](https://wordpress.org/plugins/tags/mcp/)[security](https://wordpress.org/plugins/tags/security/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/persjay-ai-agent-firewall/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/persjay-ai-agent-firewall/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/persjay-ai-agent-firewall/reviews/)

## Contributors

 *   [ jaypeeperos ](https://profiles.wordpress.org/jaypeeperos/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/persjay-ai-agent-firewall/)