MemberSpace MCP by usefulapi
v1.2.1Read 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
page_size | integer | Items per page, 1-100 (default 25). |
status | string | Only plans with this status. |
type | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
plan_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Created on or after this time (inclusive). |
created_before | string | Created before this time (exclusive). |
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
expires_after | string | Expires on or after this time (inclusive). |
expires_before | string | Expires before this time (exclusive). |
member_id | integer | Only memberships of this member. |
page_size | integer | Items per page, 1-100 (default 25). |
plan_id | integer | Only memberships on this plan. |
renews_after | string | Current billing period ends on or after this time (inclusive). |
renews_before | string | Current billing period ends before this time (exclusive). |
status | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Created on or after this time (inclusive). |
created_before | string | Created before this time (exclusive). |
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
custom_signup_field_id | integer | Custom field id (from memberspace_list_custom_fields). Use with custom_signup_field_value. |
custom_signup_field_value | string | Only members whose answer to that field matches this value. |
email | string | Exact match on email address. |
first_name | string | Exact match on first name. |
last_name | string | Exact match on last name. |
member_ids | array | Only these member ids (up to 100). |
page_size | integer | Items per page, 1-100 (default 25). |
status | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
created_after | string | On or after this time (inclusive). |
created_before | string | Before this time (exclusive). |
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
event_types | array | Only events of these types, for example planAdded or logIn. |
member_id | integer | Only events of this member. |
page_size | integer | Items 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.
| Parameter | Type | Description |
|---|---|---|
code | string | Only coupons with this code. |
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
page_size | integer | Items 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.
| Parameter | Type | Description |
|---|---|---|
coupon_id * | integer | The coupon id (from memberspace_list_coupons). |
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
page_size | integer | Items 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous page's next_cursor. Omit for the first page. |
member_id | integer | Only views by this member. |
node_id | integer | Only views of this content item. |
page_size | integer | Items per page, 1-100 (default 25). |
viewed_after | string | Viewed on or after this time (inclusive). |
viewed_before | string | Viewed before this time (exclusive). |