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.”
| Tool | Description |
|---|---|
wp_list_approvals | List requests, filter by status |
wp_get_approval | Get details and diff for one request |
wp_approve_request | Approve a pending request |
wp_reject_request | Reject |
wp_apply_approval | Apply an approved change |
wp_rollback_approval | Roll back an applied change |
Statuses
Section titled “Statuses”| Status | Meaning |
|---|---|
pending | Waiting for review |
approved | Approved, not yet applied |
rejected | Will not be applied |
applied | Live on the site |
rolled_back | Reverted |
Example flow
Section titled “Example flow”// 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"}What triggers approvals
Section titled “What triggers approvals”- Staging → live pushes (
wp_push_to_livealways creates one) - SEO autofix plan execution
- Any content marked as requiring approval in plugin settings
Admin UI
Section titled “Admin UI”WP Admin → MCPWP → Control Room shows all pending requests with diffs, notes, and rollback history.