MemberSpace MCP by usefulapi

v1.2.1
io.usefulapi/memberspace Checked 3 days ago Published 1 day ago

Read plans, memberships, members, events, coupons and content views in MemberSpace.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

memberspace_list_sites List sites

Get the site that this Admin API key can access: name, subdomain, domain, currency, locale, and member counts (active, free, paid). Good first call to confirm the connection. MemberSpace API: GET /sites.

memberspace_list_plans List plans

List the site's membership plans (enabled or disabled; archived plans are never returned), with their type (free, oneTimePayment, multiPayment, subscription), pricing and content. MemberSpace API: GET /plans.

ParameterTypeDescription
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
page_sizeintegerItems per page, 1-100 (default 25).
statusstringOnly plans with this status.
typestringOnly plans of this type.

memberspace_get_plan Get a plan

Get one membership plan by its numeric id, including pricing, expiration rules and status. MemberSpace API: GET /plans/{id}.

ParameterTypeDescription
plan_id *integerThe plan id (from memberspace_list_plans).

memberspace_list_memberships List memberships

List member enrollments on plans, filtered by plan, member, status, and created, renewal or expiry dates. Use it for active subscriber counts, churn and renewal forecasts. MemberSpace API: GET /memberships.

ParameterTypeDescription
created_afterstringCreated on or after this time (inclusive).
created_beforestringCreated before this time (exclusive).
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
expires_afterstringExpires on or after this time (inclusive).
expires_beforestringExpires before this time (exclusive).
member_idintegerOnly memberships of this member.
page_sizeintegerItems per page, 1-100 (default 25).
plan_idintegerOnly memberships on this plan.
renews_afterstringCurrent billing period ends on or after this time (inclusive).
renews_beforestringCurrent billing period ends before this time (exclusive).
statusstringOnly memberships with this status.

memberspace_list_members List members

List people who signed up on the site, filtered by id, exact name or email, status, a custom signup field answer, or creation date. Returns profile fields, not payment data. MemberSpace API: GET /members.

ParameterTypeDescription
created_afterstringCreated on or after this time (inclusive).
created_beforestringCreated before this time (exclusive).
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
custom_signup_field_idintegerCustom field id (from memberspace_list_custom_fields). Use with custom_signup_field_value.
custom_signup_field_valuestringOnly members whose answer to that field matches this value.
emailstringExact match on email address.
first_namestringExact match on first name.
last_namestringExact match on last name.
member_idsarrayOnly these member ids (up to 100).
page_sizeintegerItems per page, 1-100 (default 25).
statusstringOnly members with this status.

memberspace_list_member_events List member events

List activity events recorded for members (for example account created, plan added, plan changed, log in, email sent). Filter by member, event type and time. MemberSpace API: GET /memberEvents.

ParameterTypeDescription
created_afterstringOn or after this time (inclusive).
created_beforestringBefore this time (exclusive).
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
event_typesarrayOnly events of these types, for example planAdded or logIn.
member_idintegerOnly events of this member.
page_sizeintegerItems per page, 1-100 (default 25).

memberspace_list_custom_fields List custom signup fields

List the site's custom signup field definitions (label, type, required flag, which plans show it) and their ids. Use the ids with memberspace_list_members. MemberSpace API: GET /customSignupFields.

memberspace_list_coupons List coupons

List the site's coupons: code, enabled flag, availability window, discount, plans limited to, and redemption counts. A code can match two coupons (one-time and subscription). MemberSpace API: GET /coupons.

ParameterTypeDescription
codestringOnly coupons with this code.
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
page_sizeintegerItems per page, 1-100 (default 25).

memberspace_list_coupon_redemptions List coupon redemptions

List the members who redeemed one coupon, with the membership and plan each redemption applied to. MemberSpace API: GET /coupons/{couponId}/redemptions.

ParameterTypeDescription
coupon_id *integerThe coupon id (from memberspace_list_coupons).
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
page_sizeintegerItems per page, 1-100 (default 25).

memberspace_list_content_views List content views

List records of members who viewed Content Library items successfully, with the member, the content item and the time. Filter by member, item or time. MemberSpace API: GET /contentLibrary/views.

ParameterTypeDescription
cursorstringCursor from the previous page's next_cursor. Omit for the first page.
member_idintegerOnly views by this member.
node_idintegerOnly views of this content item.
page_sizeintegerItems per page, 1-100 (default 25).
viewed_afterstringViewed on or after this time (inclusive).
viewed_beforestringViewed before this time (exclusive).