Memberstack MCP by usefulapi
v1.2.1Manage members, their plan links and data table records; verify member tokens in Memberstack.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
memberstack_list_members List members
List members of the app, one page at a time (newest or oldest first). Page with endCursor as after while hasNextPage is true. Admin REST API: GET /members.
| Parameter | Type | Description |
|---|---|---|
after | integer | endCursor from the previous page. |
include_json | boolean | Include each member's json data (larger replies). |
limit | integer | Members per page (default 50, max 100). |
order | string | Sort order (default ASC). |
memberstack_get_member Get a member
Get one member by member id (mem_...) or by email address, with plan connections and custom fields. Admin REST API: GET /members/{id_or_email}.
| Parameter | Type | Description |
|---|---|---|
id_or_email * | A member id (mem_...) or the member's email address. | |
include_teams | boolean | Also return the member's team memberships. |
memberstack_verify_token Verify a member token
Check a member's JWT (from the browser) is valid and not expired, and return its payload. An invalid token returns valid: false. Admin REST API: POST /members/verify-token.
| Parameter | Type | Description |
|---|---|---|
token * | string | The member's JWT as received from the browser. |
memberstack_create_member Create a member
Create a member. Password is required unless the app uses passwordless sign-in. Plans must be free plans; paid plans need the browser checkout. Admin REST API: POST /members.
| Parameter | Type | Description |
|---|---|---|
email * | string | The member's email address. |
custom_fields | object | Custom field values keyed by the field key shown in the dashboard. |
free_plan_ids | array | Free plan ids (pln_...) to connect at creation. |
json | object | Free-form JSON data for the member. |
login_redirect | string | Path to redirect to after sign-in, for example /dashboard. |
meta_data | object | Metadata for the member. |
password | string | At least 8 characters. Omit only for passwordless apps. |
memberstack_update_member Update a member
Change a member's email, custom fields, metadata, JSON data, login redirect, verified flag or profile image. Only the fields you pass change. Admin REST API: PATCH /members/{id}.
| Parameter | Type | Description |
|---|---|---|
member_id * | string | |
custom_fields | object | Custom field values keyed by the field key shown in the dashboard. |
email | string | |
json | object | Free-form JSON data for the member. |
login_redirect | string | |
meta_data | object | Metadata for the member. |
profile_image | string | URL of the member's profile image. |
verified | boolean | Set the email-verified status. |
memberstack_add_free_plan Add a free plan to a member
Connect a free plan (no prices) to a member. Paid plans are rejected (plan-not-free). Admin REST API: POST /members/{id}/add-plan.
| Parameter | Type | Description |
|---|---|---|
member_id * | string | |
plan_id * | string |
memberstack_remove_free_plan Remove a free plan from a member
Disconnect a free plan from a member, which removes the access that plan grants. Only free plans can be removed this way. Admin REST API: POST /members/{id}/remove-plan.
| Parameter | Type | Description |
|---|---|---|
member_id * | string | |
plan_id * | string |
memberstack_list_data_tables List data tables
List the app's data tables with their fields and access rules. Admin REST API: GET /v2/data-tables.
memberstack_get_data_table Get a data table
Get one data table with its fields (key, type, required). Admin REST API: GET /v2/data-tables/{tableKey}.
| Parameter | Type | Description |
|---|---|---|
table_key * | string | The data table key (for example products) or table id (tbl_...). |
memberstack_query_records Query data table records
Find records in a data table with filters, sorting and cursor pages (take up to 100). Pass findMany for a list or findUnique for one record. A query that only reads does not change data. Admin REST API: POST /v2/data-tables/{tableKey}/records/query.
| Parameter | Type | Description |
|---|---|---|
query * | object | |
table_key * | string | The data table key (for example products) or table id (tbl_...). |
memberstack_create_record Create a data table record
Add a record to a data table. Pass member_id to link the record to a member. Admin REST API: POST /v2/data-tables/{tableKey}/records.
| Parameter | Type | Description |
|---|---|---|
data * | object | Field key → value pairs, keyed by each field's key in the table. |
table_key * | string | The data table key (for example products) or table id (tbl_...). |
member_id | string | Member to link the record to (mem_...). |
memberstack_update_record Update a data table record
Change the listed fields of one data table record. Other fields stay as they are. Admin REST API: PUT /v2/data-tables/{tableKey}/records/{recordId}.
| Parameter | Type | Description |
|---|---|---|
data * | object | Field key → value pairs, keyed by each field's key in the table. |
record_id * | string | The record id from a query or create reply. |
table_key * | string | The data table key (for example products) or table id (tbl_...). |