Memberful MCP by usefulapi

v1.42.1
io.usefulapi/memberful Checked 3 days ago Published 2 days ago

Manage Memberful members, subscriptions, plans, passes and coupons via the GraphQL API.

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

memberful_get_member Get a member

Fetch one Memberful member by id: profile, Stripe customer id, unrestricted-access flag, total spend, metadata, address, and their subscriptions (each with plan). Memberful GraphQL: member(id).

ParameterTypeDescription
id *stringThe member id.

memberful_list_members List members

List members (Relay connection): each edge has a cursor + node (profile, Stripe customer id, unrestricted-access flag, total spend, and their subscriptions). Paginate with `first` + `after` (pass the last edge's `cursor`); `first` defaults to 25 (max 1000). Set `activeOnly` to return only members with an ACTIVE membership state. For member-state filters beyond active, use memberful_query. Memberful GraphQL: members connection.

ParameterTypeDescription
activeOnlybooleanOnly return members with an ACTIVE membership state.
afterstringCursor for the next page (the `cursor` of the last edge from a prior call).
beforestringCursor for the previous page.
firstintegerMax members to return, from the start (page size). Default 25 when neither first nor last is given.
lastintegerMax members to return, from the end.

memberful_get_subscription Get a subscription

Fetch one subscription by id: status, activated/expires/trial timestamps, plan, member, orders, coupon. Memberful GraphQL: subscription(id).

ParameterTypeDescription
id *stringThe subscription id.

memberful_list_subscriptions List subscriptions

List subscriptions (Relay connection): each edge has a cursor + node (status, expires/created timestamps, plan, member). Paginate with `first` + `after` (pass the last edge's `cursor`); `first` defaults to 50. NOTE: this uses the top-level `subscriptions` connection, which is sourced from the community SDK — validate against a live account. Memberful GraphQL: subscriptions connection.

ParameterTypeDescription
afterstringCursor for the next page (the `cursor` of the last edge from a prior call).
beforestringCursor for the previous page.
firstintegerMax subscriptions to return, from the start (page size).
lastintegerMax subscriptions to return, from the end.

memberful_list_plans List plans

List all plans (Memberful dashboard 'Prices'): name, interval, price (cents), for-sale flag, plan group. Memberful GraphQL: plans.

memberful_list_passes List passes

List all passes (Memberful dashboard 'Plans' — the access groups a member subscribes to): id, name. Memberful GraphQL: passes.

memberful_query Run a GraphQL query (read-only)

Escape hatch: run an arbitrary Memberful GraphQL QUERY (read-only) against your account's /api/graphql endpoint with optional variables. Mutations are REJECTED — use the dedicated write tools or memberful_graphql for those. Useful for fields not covered by the curated read tools (e.g. member-state filters beyond active).

ParameterTypeDescription
query *stringA GraphQL query document (must be a query, not a mutation).
variablesobjectVariables object for the query.

memberful_create_member Create a member

MUTATES Memberful data: create a new member with an email (and optional full name). Memberful GraphQL: memberCreate(email, fullName).

ParameterTypeDescription
email *stringThe new member's email (required).
fullNamestringThe new member's full name.

memberful_update_member Update a member

MUTATES Memberful data: update a member's metadata (a JSON string; max 50 keys, 40-char keys, 500-char values). Only metadata is supported here; for other inline member fields use memberful_graphql. Memberful GraphQL: memberUpdate(id, metadata).

ParameterTypeDescription
id *stringThe member id (required).
metadatastringMetadata as a JSON string (max 50 keys, 40-char keys, 500-char values).

memberful_change_subscription_expiration Change subscription expiration

MUTATES Memberful data: change WHEN a subscription expires (extend or shorten access). expiresAt is a Unix timestamp in SECONDS (Int). Memberful GraphQL: subscriptionChangeExpirationTime(id, expiresAt).

ParameterTypeDescription
expiresAt *integerNew expiration as a Unix timestamp in SECONDS (Int, required).
id *stringThe subscription id (required).

memberful_create_coupons Create coupons

MUTATES Memberful data: create one or more coupon codes for a discount. Provide the discount id (discountId) and the coupon code strings. Memberful GraphQL: createCoupons(discountId, coupons).

ParameterTypeDescription
codes *arrayCoupon code strings to create (at least one, required).
discountIdstringThe discount id to attach the coupons to.

memberful_graphql Run a GraphQL operation (query or mutation)

MUTATES Memberful data (potentially): escape hatch to run an arbitrary Memberful GraphQL operation — including any mutation — against your account's /api/graphql endpoint with optional variables. Prefer memberful_query for read-only calls.

ParameterTypeDescription
query *stringA GraphQL query or mutation document.
variablesobjectVariables object for the operation.