Memberspot MCP by usefulapi
v1.2.1Read members, offers, courses, exams and progress; grant offers and set properties in Memberspot.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
memberspot_get_school Get school for API key
Return the Memberspot school that the API key belongs to. Good first call to confirm the connection. GET /api-auth.
memberspot_list_offers List offers
List all offers (products that grant course access) of the school with their ids and linked course ids. GET /v1/offers.
memberspot_list_courses List courses
List all courses of the school with id, name, type and description. GET /v1/courses.
memberspot_list_exams List exams
List all exams of the school with examId, name, required percentage and question count. GET /v1/exams.
memberspot_list_exam_results List exam results
List the results of members who took one exam, one page at a time. GET /v1/exams/{id}/results.
| Parameter | Type | Description |
|---|---|---|
exam_id * | string | The examId (from memberspot_list_exams). |
last_loaded_id | string | Paging cursor: pass the nextPage value from the previous response to load the next page. |
page_length | integer | Items per page (vendor default if omitted). |
memberspot_list_custom_user_properties List custom user properties
List the custom member properties defined for the school, with their type and options. GET /v1/custom-user-properties/list.
memberspot_list_users List members
List members of the school, one page at a time. Filter by offer, course or active state. Returns nextPage for the next call. GET /v1/users/list.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive (false) members. |
course_id | string | The course id (for example ABCD1234; the id after /courses/ in the course URL). |
last_loaded_id | string | Paging cursor: pass the nextPage value from the previous response to load the next page. |
offer_id | string | Only members with this offer (from memberspot_list_offers). |
page_length | integer | Items per page (vendor default if omitted). |
memberspot_find_member_by_email Find member by email
Return one member by email with progress, custom properties and login data, or null if not found. GET /v1/users/find-by-mail/{email}.
| Parameter | Type | Description |
|---|---|---|
email * | string | The member's email address. |
memberspot_find_member_by_uid Find member by uid
Return one member by uid with progress, custom properties and login data, or null if not found. GET /v1/users/find-by-uid/{uid}.
| Parameter | Type | Description |
|---|---|---|
uid * | string | The member's uid (from list or find tools). |
memberspot_list_member_offers List a member's offers
List the offers of one member with their grant date, expiry date and lock reason. GET /v1/users/offers/{uid}.
| Parameter | Type | Description |
|---|---|---|
uid * | string | The member's uid (from list or find tools). |
memberspot_list_course_progress_by_email List course progress by email
List the course progress of all courses for one member, identified by email, one page at a time. GET /v1/users/course-progress/list/{email}.
| Parameter | Type | Description |
|---|---|---|
email * | string | The member's email address. |
last_loaded_course_id | string | Paging cursor: the last course id from the previous response. Stop when nextPage is null. |
page_length | integer | Items per page (vendor default if omitted). |
memberspot_list_course_progress_by_uid List course progress by uid
List the course progress of all courses for one member, identified by uid, one page at a time. GET /v1/users/course-progress/list-by-uid/{uid}.
| Parameter | Type | Description |
|---|---|---|
uid * | string | The member's uid (from list or find tools). |
last_loaded_course_id | string | Paging cursor: the last course id from the previous response. Stop when nextPage is null. |
page_length | integer | Items per page (vendor default if omitted). |
memberspot_get_course_progress_by_email Get course progress by email
Return one member's progress in one course, identified by email. GET /v1/users/course-progress/{courseId}/{email}.
| Parameter | Type | Description |
|---|---|---|
course_id * | string | The course id (for example ABCD1234; the id after /courses/ in the course URL). |
email * | string | The member's email address. |
memberspot_get_course_progress_by_uid Get course progress by uid
Return one member's progress in one course, identified by uid. GET /v1/users/course-progress/{courseId}/by-uid/{uid}.
| Parameter | Type | Description |
|---|---|---|
course_id * | string | The course id (for example ABCD1234; the id after /courses/ in the course URL). |
uid * | string | The member's uid (from list or find tools). |
memberspot_grant_offer_by_email Grant an offer to a member by email
WRITE: grant a member access to an offer by email. Gives course access, so confirm with the user first. POST /v1/users/grant-user-offer-by-mail.
| Parameter | Type | Description |
|---|---|---|
email * | string | The member's email address. |
first_name * | string | The member's first name. |
grant_offer * | string | The offer id (from memberspot_list_offers). |
last_name * | string | The member's last name. |
order_id | string | Your order id, stored with the grant (optional). |
memberspot_set_offer_state Set an offer's state for a member
WRITE: turn one offer of a member on or off, by email. POST /v1/users/set-offer-state.
| Parameter | Type | Description |
|---|---|---|
active * | boolean | true to activate the offer, false to deactivate it. |
email * | string | The member's email address. |
offer_id * | string | The offer id (from memberspot_list_offers). |
memberspot_set_custom_property Set a custom property for a member
WRITE: set one custom property of a member by email. An empty or missing value sets it to an empty string. POST /v1/users/set-custom-property.
| Parameter | Type | Description |
|---|---|---|
email * | string | The member's email address. |
key * | string | The custom property name (from memberspot_list_custom_user_properties). |
value | string | null | The new value. Leave out or send null to set an empty string. |