LearnUpon MCP by usefulapi

v1.2.1
io.usefulapi/learnupon Checked 3 days ago Published 2 days ago

List users and enrollments, and enroll users in courses in LearnUpon.

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

learnupon_list_users List users

List the users of the portal, 500 per page. Check pagination.has_next_page and request the next page for more. LearnUpon API: GET /users.

ParameterTypeDescription
login_enabledbooleantrue = enabled users only; false = disabled users only.
pageintegerPage of results, 500 per page (default 1).

learnupon_find_user Find a user

Find one user by email or username. Give one of the two. LearnUpon API: GET /users/search?email= or ?username=.

ParameterTypeDescription
emailstringUser email (a unique identifier in LearnUpon).
usernamestringUsername (the other unique identifier in LearnUpon).

learnupon_get_user Get a user

Get one user by numeric user id. LearnUpon API: GET /users/{id}.

ParameterTypeDescription
user_id *integerNumeric LearnUpon user id.

learnupon_list_custom_user_data_fields List custom user data fields

List the custom user data field definitions of the portal (their labels and types). It returns definitions, not values. LearnUpon API: GET /users/customuserdata.

learnupon_search_courses Search courses

Search courses by name (pattern match, case-insensitive) or by course_id. Returns published courses unless include_draft is true. LearnUpon API: GET /courses.

ParameterTypeDescription
course_idintegerNumeric course id (exact).
include_all_versionsbooleanWith name: also return archived versions.
include_draftbooleanAlso return draft courses.
namestringCourse name or part of it.
pageintegerPage of results, 500 per page (default 1).

learnupon_search_enrollments Search enrollments

Find enrollments by user (user_id, email or username) or by course (course_id or course_name). Give at least one of these. Optional date_from and date_to filter on the enrollment's updated_at date. LearnUpon API: GET /enrollments/search.

ParameterTypeDescription
course_idintegerNumeric course id.
course_namestringExact course title (the most recent published title).
date_fromstringStart date, YYYY-MM-DD (updated_at).
date_tostringEnd date, YYYY-MM-DD (updated_at).
emailstringUser email (a unique identifier in LearnUpon).
pageintegerPage of results, 500 per page (default 1).
user_idintegerNumeric user id.
usernamestringUsername (the other unique identifier in LearnUpon).

learnupon_get_enrollment Get an enrollment

Get one enrollment by its enrollment_id, with status, progress and dates. LearnUpon API: GET /enrollments/{enrollment_id}.

ParameterTypeDescription
enrollment_id *integerEnrollment id (from learnupon_search_enrollments or learnupon_enroll_user).

learnupon_get_enrollment_modules List modules of an enrollment

List the modules of one enrollment, with the learner's progress on each. LearnUpon API: GET /enrollments/{enrollment_id}/modules.

ParameterTypeDescription
enrollment_id *integerEnrollment id.

learnupon_list_markcompletes List completions

List mark-complete records: completions set by an admin or by the API (status completed, passed or failed, score, date). Filter by id, user_id, enrollment_id or course_id. LearnUpon API: GET /markcompletes.

ParameterTypeDescription
course_idintegerNumeric course id.
enrollment_idintegerEnrollment id.
idintegerMark-complete id.
pageintegerPage of results, 500 per page (default 1).
user_idintegerNumeric user id.

learnupon_enroll_user Enroll a user in a course

Enroll one user in one course, so the learner gets access and the course appears in their list. Give the user (email or username) and the course (course_id or course_name). Optional due_date (advisory) and expires_at (hard end of access), both YYYY-MM-DD. Sends no invitation email by itself. LearnUpon API: POST /enrollments.

ParameterTypeDescription
course_idintegerNumeric course id.
course_namestringExact course title (the most recent published title).
due_datestringAdvisory finish date, YYYY-MM-DD (UTC).
emailstringUser email (a unique identifier in LearnUpon).
expires_atstringAccess end date, YYYY-MM-DD (UTC). The learner loses access after it.
re_enroll_if_completedbooleantrue = enroll again even if the learner completed the course.
usernamestringUsername (the other unique identifier in LearnUpon).