Get the plugin
WP MCP/Integrations/MemberPress MCP

MemberPress MCP · Pro

MemberPress MCP: memberships and access rules, managed by an AI agent.

A MemberPress MCP server lets an AI agent answer questions about your membership site and adjust memberships and access rules. WP MCP draws a hard line around money: there is no refund, no charge, and no transaction or subscription write.

Self-hosted · snapshot before every write · one-click undo

What it is

What a MemberPress MCP server does.

MemberPress keeps a membership as its own post type with settings in post meta, and an access rule as another post type whose conditions live in a MemberPress table. A MemberPress MCP server reads those for the agent, so it can report on memberships, members and transactions, and writes memberships and rules back in the exact shape MemberPress stores them.

What it leaves out matters as much. An agent with access to a membership site should not be able to move money. WP MCP has no refund or charge operation at all, never returns a transaction's gateway response, and never deletes: a membership or rule is taken to draft at most.

A membership site's risky tasks are the ones that touch money and access, so the useful design question is what an agent is not allowed to do. For MemberPress, WP MCP draws that line in code: there is no refund, no charge, and no transaction or subscription write, gateway responses are never returned, and a membership or rule is taken to draft at most, never deleted. What remains is the routine work: answering questions about members and adjusting memberships and access rules.

Read and change

What WP MCP can read and change in MemberPress.

It can read

  • Memberships, with member counts
  • Members and their memberships
  • Transactions, without the gateway response
  • Access rules and their conditions

It can change

  • Create and update memberships
  • Create and update access rules, including their access conditions
  • Take a membership or rule to draft instead of deleting it
plugin-data-readplugin-data-writelist-membershipsupdate-membershipcreate-rule

These are the real ability and operation names the agent calls. TheMemberPress AI agent tool reference page lists the calls in detail.

Example prompts

Three things to ask first.

List our memberships and how many active members each one has.

Change the Gold membership price to 29 dollars and tell me who that affects.

Add a rule that restricts everything in the Pro docs category to Gold members.

List our memberships and how many active members each one has.

plugin-data-read with list-memberships returns memberships with member counts; nothing is written.

Change the Gold membership price to 29 dollars and tell me who that affects.

update-membership runs under a post snapshot of every field and meta key. Writes must be switched on first with the wpmcp_enable_memberpress_write filter.

Add a rule that restricts the Pro docs category to Gold members.

create-rule records the rule and its conditions; rollback-session removes the rule and its conditions together.

Safety

Every MemberPress write has a way back.

A new membership or rule is recorded for rollback, and the undo moves it to the trash. An update runs under a post snapshot of every field and meta key, with a rule's replaced conditions captured in the same session, so rollback-session undoes the whole call.

Snapshot before every write

No tool that writes can skip it. The before-state is saved first, the change is applied second.

One-click undo

Restore a single change with rollback-operation or a whole agent run with rollback-session, from the agent or from wp-admin.

No money moved, nothing deleted

There is no refund, charge, transaction or subscription write. Gateway responses are never returned, and a membership or rule is taken to draft at most.

Free or Pro

Part of WP MCP Pro.

MemberPress support is part of WP MCP Pro. Writes stay off until the site opts in, and every operation takes MemberPress's own admin capability.

WP MCP Pro starts at $49 a year for one site. See pricing for what each tier includes.

How to connect

Connect MemberPress MCP in four steps.

  1. 01
    Install WP MCP

    Upload the free wpmcp plugin and activate it. It needs WordPress 6.9 or newer and PHP 8.1 or newer, and it runs entirely on your own server.

  2. 02
    Check the requirement

    MemberPress active. Writes are off until the site enables them with the wpmcp_enable_memberpress_write filter.

  3. 03
    Connect your client

    Add the site to Claude Code, Claude Desktop, Cursor or any MCP client with a WordPress application password, or the WP-CLI stdio bridge locally. OAuth 2.1 with full or read-only access is there too, once the site owner switches it on.

  4. 04
    Ask for the change

    Describe what you want done in MemberPress. WP MCP snapshots the target, makes the change, and leaves a Restore button next to it in wp-admin.

Step-by-step guides: Claude,Claude Code andCursor. The docscover the safety model in full.

Frequently asked

MemberPress MCP: questions, answered.

What is MemberPress MCP?

It is MemberPress data made available to AI agents over the Model Context Protocol. WP MCP lets Claude, Cursor or any MCP client read memberships, members, transactions and rules, and edit memberships and access rules.

Can an AI agent refund or charge a member?

No. Those operations do not exist in WP MCP. Reads never include a transaction's gateway response either.

Does a price change affect existing members?

A price change applies to new signups only, and the operation says so in its response.

Are MemberPress writes on by default?

No. They stay off until the site opts in with a filter, and each operation requires MemberPress's own admin capability.

Can I undo a membership or rule change?

Yes. rollback-session undoes the whole call: an updated membership is restored field by field, and a created rule is moved to the trash with its conditions.

Can the agent refund or cancel a payment?

No. There is no refund, charge, transaction or subscription write in this integration, by design. Gateway responses are not returned either.

What capability does it need?

Every operation takes MemberPress's own admin capability, and writes stay off until the site enables them with the filter.

Does MemberPress MCP work with Claude, Claude Code and Cursor?

Yes. Claude Code and Cursor connect to WP MCP over HTTP with a WordPress application password, and Claude Desktop uses the desktop bundle from the WP MCP Connection screen. Clients that can only sign in with OAuth, such as the claude.ai custom connector, need OAuth switched on first with one line in wp-config.php, because it ships off. Once connected, the MemberPress tools are available in every client the same way.

Point your AI agent at MemberPress.