Skip to content

Approvals

The approval system lets agents propose changes that require human sign-off before being applied. Safety layer between “agent wants to do X” and “X is live.”

ToolDescription
wp_list_approvalsList requests, filter by status
wp_get_approvalGet details and diff for one request
wp_approve_requestApprove a pending request
wp_reject_requestReject
wp_apply_approvalApply an approved change
wp_rollback_approvalRoll back an applied change
StatusMeaning
pendingWaiting for review
approvedApproved, not yet applied
rejectedWill not be applied
appliedLive on the site
rolled_backReverted
// Agent creates a request, returns:
// {"approval_id": "apr_abc123", "status": "pending"}
// Review it
// wp_get_approval → {"id": "apr_abc123"}
// Returns: proposed change, before/after diff, affected content
// Approve
// wp_approve_request → {"id": "apr_abc123", "notes": "Looks good"}
// Apply
// wp_apply_approval → {"id": "apr_abc123"}
// Rollback if needed
// wp_rollback_approval → {"id": "apr_abc123"}
  • Staging → live pushes (wp_push_to_live always creates one)
  • SEO autofix plan execution
  • Any content marked as requiring approval in plugin settings

WP Admin → MCPWP → Control Room shows all pending requests with diffs, notes, and rollback history.