Review helpers before they run

Build small PHP helpers in a separate folder. Approve the exact files before they run, with a recovery path for loading errors.

  1. Separate folderSmall PHP helpers.
  2. Exact files reviewedYour approval before running.
  3. Recovery pathControls for loading errors.
Pro. Off by default.

What it’s for

Build small, site-specific PHP helpers, review their files, then decide whether to let them run inside WordPress.

Before anything runs

  • A separate folder

    AI-written helper files stay under wp-content/mcpmate-sandbox/, separate from installed plugins and your live theme. Every editing path is checked.

  • Approval before it runs

    A new helper stays inactive. Enabling it waits for an administrator’s approval of the exact files and their checksums.

  • Changed files stop loading

    Files can be edited only while a helper is disabled. Enabling the changed helper requires approval of its new file checksums.

If a helper crashes

  • A fatal error while a sandbox file loads writes a crash marker. The next request skips sandbox loading in safe mode.
  • The administrator sees the error, file and line in a notice and can disable the helper, inspect its files and clear the crash state after reviewing the fix.
  • The approval route skips sandbox loading so a broken helper cannot block the review step. File syntax checks run before saving.

Pro, off by default

  • MCPMate Pro is required. The sandbox tools start off, and a helper does not run until its exact files have been approved.
  • DISALLOW_FILE_MODS or DISALLOW_FILE_EDIT turns the sandbox capability off. Deactivating MCPMate Pro stops its sandbox loader.
  • Only a site administrator with permission to activate and edit plugins can use these controls. Manage helpers from MCPMate → Tools → Sandbox.
  • The AI can disable a helper but cannot delete its files. An administrator’s Remove action moves it into a separate .removed folder.

Using it on a live site

This is a controlled folder and approval workflow, not a separate PHP process. Enabled helper code runs inside WordPress and can affect the site’s data and behaviour. Review it and test on staging before enabling it on a live site. Crash recovery covers fatal errors during loading; it is not a guarantee against logic errors or every later callback failure.

Try it on your own site

Install the plugin, paste one address into your AI app, and approve it in WordPress. Pause or revoke access any time.