An approval has to show what it approves
Membership MCP lets an AI app make changes on a MemberPress site, and the risky ones wait for an admin to confirm. Three fixes from the last week, each about the gap between what the admin saw and what would run.
On this page
An AI app files a request to import one member into a paid membership on a MemberPress site. The site admin gets a card to confirm. Until last week the card read like the one on the left:
Nothing on that card says who the member is. The admin is asked to approve a new member without seeing whose address it is. A review of the plugin flagged it on November 20. My automation built the fix from that issue, I reviewed and merged it, and the card changed 21 hours after the report. All three fixes in this post shipped in Membership MCP 0.1.32 on November 25, so if your site runs an older version, update it.
I work at Caseproof on Membership MCP, the plugin that connects Claude, ChatGPT, Cursor or Claude Code to a MemberPress site. I write its docs and I own the owner-confirm work. Most of my last two weeks went into one question: when the plugin asks a person to approve something, does the person see the thing they’re approving?
What the spec asks for
The MCP tools specification says that for trust and safety “there SHOULD always be a human in the loop with the ability to deny tool invocations.” It also says the protocol does not mandate any particular user interaction model. So the spec gives you a person and a deny button. What the person sees before pressing it is up to whoever builds the server.
Membership MCP has two layers. Everyday changes show a preview first. Riskier ones don’t run when the AI asks. Thirteen kinds of change sit in this group today, among them refunds, cancellations, member deletions, member imports and payment settings. They file a request, and an admin confirms or declines it in WordPress. All three fixes below are in that second layer.
The card that hid the recipients
The omission was on purpose. The card’s sentence is fixed text with counts and IDs dropped in, and it never echoed a row. That kept anything the AI wrote into a name or email field off the line the admin reads, which is a sound rule. Text the AI writes shouldn’t get to word the thing the admin is approving.
The cost was that the card stopped describing the change. Every one-member import into the same membership produced the same sentence, whoever the member was.
The fix keeps the sentence fixed and shows every recipient address beside it as separate, escaped data. Names still never appear. The tests check that a paid-membership request shows its recipient before anything is imported, that skipped rows stay off the list, and that all 100 addresses appear on a 100-row import.
One thing is still off. To reuse the approval page’s existing escaped field, the addresses sit under that field’s label, “Title the AI gave it:”. The data is right and the label describes something else. That is the next small fix.
The write that never checked the approval
Reminder emails had a different gap. An admin could review a dry run of a reminder change and approve it, and the live write would then save whatever WordPress filters resolved at that moment. If a filter changed the timing, or someone edited the stored email after the preview, the saved reminder could differ from the approved one.
Coupons already handled this. Their service compares the resolved coupon with the approved preview and refuses on a mismatch. On November 22 I filed the reminder gap as an issue that named the exact comparison and the tests that would prove it. My automation built it from that, and I merged it the next day, a little under four hours after the pull request opened. The service now encodes the operation it’s about to store as JSON, compares it with the approved one, and on any difference writes nothing and returns operation_changed with the message “This is no longer what was approved, so no reminder was created.”
The tests change the trigger length, the products and the email body after approval, and add a filter that rewrites the member email to “Not approved.” Every case returns that error and leaves storage untouched.
The comparison is strict. An approval with its keys in a different order gets refused even when nothing changed, and I’m fine with failing in that direction. The larger gap is that the reminder tools don’t pass the approved operation into the service yet. The check sits one layer down, and wiring the MCP tools to it is separate work that hasn’t merged. Until it does, the check only protects callers that hand it an approval.
A link that grants nothing
The third change is smaller. When the AI filed a request, it used to tell the admin where to find it in words, as a menu path. Now it returns a link to that one request, with the same Confirm and Decline buttons as the full list.
The link carries no token. It opens only for a logged-in admin, and a logged-out click goes through the WordPress login and lands back on the same request. A forwarded link approves nothing. A link to a request that was already decided or has expired shows one line saying so, plus a link to the rest.
I kept it that way on purpose. A one-click approval link in an email is convenient right up until someone forwards it.
All three changes went through the same loop I described in most of my software factory is brakes: an issue goes in, the automation builds from it, and nothing merges until I approve it. Here the issue was the part that mattered. Each of the three said what the admin should see or what the write should refuse, and the tests followed from that.
Who is at the button
I design the card for a site admin who runs a membership business and isn’t reading diffs. For that person, whatever the card shows is the whole review.
So I treat the card and the write as one control. The card shows the change in data the AI couldn’t dress up, and the write refuses anything that differs from what the card showed. The reminder gap shows what happens with only one of the two: an accurate preview, attached to a write that never looked back at it.
None of this helps an admin who confirms without reading. A card can list every address on a 100-row import, and a busy person will still scroll past most of them. The question I want to answer next is whether the card should lead with the one detail that usually decides the call, like a paid membership or a refund amount, and put the full list under it.
A preview tells the admin what the AI wants to do. An approval should hold the site to exactly that.
Omar ElHawary
Applied AI Engineer. I build and evaluate AI agents that act on real business data.
Working on AI that has to be right?
Let's talk