WP Agent Bridge: MCP server gives agents safe WordPress write access via dry-run and rollback

labaude1 · reddit · 2026-10-28

WP Agent Bridge is a GPL WordPress MCP server (120 abilities covering content, WooCommerce, PHP exec, WP-CLI) built around one contract: agents get reach without wrecking production. Writes are READONLY by default with 15-240 min APPLY windows, dryrun returns an exact diff plus a single-use confirmation token, pre-write snapshots enable rollback by operationid, an append-only audit journal logs every mutation, and PROPOSE mode queues writes for human approval. Enforcement is structural — a custom PHPCS sniff + CI fails any build that writes around the guard, with 1,300 tests across PHP 8.1-8.3.

Original post →

More from coding & agent

coding & agent channel →