Kourses MCP by usefulapi
v1.7.1List memberships, check member access, add members and grant or revoke access in Kourses.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kourses_list_memberships List memberships
List the published memberships of the Kourses website this key belongs to. Each has an id, name, slug and URL. Kourses API: GET /memberships.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Results per page (default 100). |
kourses_list_member_memberships List a member's memberships
List the memberships a member can access now (permissions that have not expired). Give the member by id or email. Kourses API: GET /members/{member}/memberships.
| Parameter | Type | Description |
|---|---|---|
member * | string | Member id or email address. |
kourses_create_member Create or update a member
Create a member on the Kourses website. If a member with this email already exists, the given fields OVERWRITE the stored ones and the status is 'updated'. Sends an activation email only when send_activation_notification is true (default false here; the API default is true). Kourses API: POST /members.
| Parameter | Type | Description |
|---|---|---|
email * | string | Member email address (the member's identity in Kourses). |
address | string | |
address_2 | string | Apartment, suite, etc. |
city | string | |
country | string | |
first_name | string | First name (Kourses default: 'Unnamed'). |
last_name | string | Last name (Kourses default: 'Member'). |
send_activation_notification | boolean | Email an activation link to a new member (default false). |
state | string | |
title | string | Profile title. |
zip | string | Postal code. |
kourses_grant_membership_access Grant membership access
Give a member access to a membership, optionally until a date. No email is sent unless send_notification is true. Repeating a call keeps one permission, but sends the email again when send_notification is true. Kourses API: POST /members/{member}/memberships/{membership}/permissions.
| Parameter | Type | Description |
|---|---|---|
member * | string | Member id or email address. |
membership_id * | string | Membership id (from kourses_list_memberships). |
ends_at | string | When the access stops working: YYYY-MM-DD or YYYY-MM-DD hh:mm:ss. |
run_email_integrations | boolean | Run the membership's email integrations (default false). |
send_notification | boolean | Email the member about the new access (default false). |
skip_drip_schedule | boolean | Skip the membership's drip schedule (default false). |
kourses_revoke_membership_access Revoke membership access
Remove a member's access to a membership now, or on ends_at when it is given. The member loses the content they paid for; confirm first. Kourses API: DELETE /members/{member}/memberships/{membership}/permissions.
| Parameter | Type | Description |
|---|---|---|
member * | string | Member id or email address. |
membership_id * | string | Membership id (from kourses_list_memberships). |
ends_at | string | When the access stops working: YYYY-MM-DD or YYYY-MM-DD hh:mm:ss. |