MemberSuite MCP by usefulapi

v1.9.1
io.usefulapi/membersuite Checked 1 day ago Published 6 hours ago

Search members, memberships and saved searches; update contact fields in MemberSuite.

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

membersuite_whoami Who am I

Return the API user and tenant that this connection uses, including ReceivesMemberBenefits status fields. Good first call. REST: GET /platform/v2/whoami.

membersuite_search_individuals Search individuals

Search individual contacts (people) with an MSQL statement, for example SELECT LocalID, FirstName, LastName, EmailAddress FROM Individual WHERE (LastName = 'Smith'). Use the ID column to update a person later. REST: GET /crm/v1/individuals/{tenantId}?msql=.

ParameterTypeDescription
msql *stringMSQL statement, from a MemberSuite Console Advanced Search (choose MSQL in the output dropdown).
pageintegerPage number, starting at 1.
page_sizeintegerRecords per page (1-100).

membersuite_search_memberships Search memberships

Search membership records with an MSQL statement, for example SELECT Owner.Name, Type.Name, JoinDate, ExpirationDate, ReceivesMemberBenefits FROM Membership. ReceivesMemberBenefits = true means an active member. REST: GET /membership/v1/memberships/{tenantId}?msql=.

ParameterTypeDescription
msql *stringMSQL statement, from a MemberSuite Console Advanced Search (choose MSQL in the output dropdown).
pageintegerPage number, starting at 1.
page_sizeintegerRecords per page (1-100).

membersuite_run_msql Run an MSQL query

Run any MSQL statement across modules, including joins. Use it for event registrations, for example SELECT LocalID, Individual.FirstName, Individual.LastName FROM EventRegistration('{eventGuid}') WHERE (CancellationDate IS NULL AND OnWaitList = 0). Pages with startPosition (row offset). REST: POST /platform/v2/dataSuite/executeSearch.

ParameterTypeDescription
msql *stringMSQL statement, from a MemberSuite Console Advanced Search (choose MSQL in the output dropdown).
start_positionintegerRecord offset of the first row (0 = first page).

membersuite_list_saved_searches List public saved searches

List the public saved searches in the Console, with their IDs. Filter by part of the name (letters, digits, spaces, _ . -). Use an ID with membersuite_run_saved_search. REST: POST /platform/v2/dataSuite/executeSearch with SavedSearch MSQL.

ParameterTypeDescription
name_containsstringPart of the saved search name.

membersuite_update_individual Update an individual

Change the listed fields of one individual (contact). Only the fields you pass change. Pass standard fields in fields (for example FirstName, EmailAddress, Work_PhoneNumber) and custom fields (names ending __c) in custom_fields. Idempotent: the same call twice leaves the same data. Test in a MemberSuite Sandbox first. REST: PATCH /crm/v1/individuals/patch/{individualId}.

ParameterTypeDescription
individual_id *stringIndividual GUID (the ID column from membersuite_search_individuals).
custom_fieldsobjectCustom fields to change; names end in __c, for example { "AreaofExpertise__c": "Doctor" }.
fieldsobjectStandard fields to change, for example { "FirstName": "Joey" }.