Get the plugin
WP MCP/Guides/Guide

By · Published · Updated

Moderate WooCommerce product reviews with your AI agent

Review queues pile up. WP MCP Pro lets an agent work through them with you: read what came in, approve the genuine ones, catch the spam, and reply as the store.

What you need

  • WP MCP Pro, connected to your AI client, and WooCommerce active.
  • A user with moderate_comments and edit_product on the products involved. Both are checked, so an editor who moderates blog comments cannot touch store reviews.

Read the queue

› Show me the reviews waiting for moderation, lowest rating first.

The agent calls woo-read with op reviews.list, filtered by status, rating, product_id or type. Reviewer email and IP address are never returned.

Moderate

› Approve the genuine five-star reviews and mark the link-stuffed ones as spam.

reviews.approve, reviews.unapprove (hold) and reviews.spam each run on the full review with its rating and verified flag snapshotted first, so rollback-operation restores it exactly and WooCommerce recomputes the product’s rating. reviews.trash is destructive: it is off until your site opts in with the wpmcp_woo_op_enabled filter, and needs confirm: true.

Edit and reply

› Fix the typo in review 812, and reply to the one-star review on the tote bag
  with an apology and our returns link.

reviews.update edits a review’s text and keeps its rating and verified flag. reviews.reply posts an approved reply as you; rolling it back moves the reply to the trash.

Undo

Every moderation change is one operation_id. Batch several with woo-write and one rollback-session undoes the whole pass. Restoring a review snapshot takes the same moderate_comments and edit_product, because it holds the reviewer’s email and IP.

Common questions

Can an AI agent moderate WooCommerce product reviews?

Yes. With WP MCP Pro the agent lists the queue with reviews.list, then approves, holds, marks as spam, edits or replies to reviews through woo-write. Each change is one operation you can roll back.

Does the AI agent see reviewers' email addresses or IPs?

No. reviews.list never returns the reviewer email or IP address, so they do not reach the model.

What permissions does review moderation need?

The connected user needs moderate_comments and edit_product on the products involved, and both are checked. An editor who can moderate blog comments but not edit the product cannot touch its store reviews.

What happens to a product's star rating when a review is approved or marked as spam?

WooCommerce recomputes the product's rating. Each moderation change snapshots the review with its rating and verified flag, so rolling it back restores them.

Can I undo a whole moderation pass at once?

Yes. Send the changes as a batch through woo-write and they share one session, so a single rollback-session undoes all of them. Individual changes can be undone with rollback-operation.

Can the agent delete reviews or reply to them?

It can reply: reviews.reply posts an approved reply as you, and rolling it back moves the reply to the trash. reviews.trash is destructive, so it is off until your site opts in with the wpmcp_woo_op_enabled filter and needs confirm set to true.

All WP MCP guides, or see every plugin integration. Topic: WooCommerce.