LearnUpon MCP by usefulapi
List users and enrollments, and enroll users in courses in LearnUpon.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWlearnupon_list_custom_user_data_fields에서
- LOWlearnupon_get_enrollment_modules에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"learnupon": {
"url": "https://learnupon.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://learnupon.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (10)
🟢learnupon_list_users(page, login_enabled)
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.
입력 스키마
{
"type": "object",
"properties": {
"page": {
"description": "Page of results, 500 per page (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"login_enabled": {
"description": "true = enabled users only; false = disabled users only.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_find_user(email, username)
Find one user by email or username. Give one of the two. LearnUpon API: GET /users/search?email= or ?username=.
입력 스키마
{
"type": "object",
"properties": {
"email": {
"description": "User email (a unique identifier in LearnUpon).",
"type": "string"
},
"username": {
"description": "Username (the other unique identifier in LearnUpon).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_get_user(user_id)
Get one user by numeric user id. LearnUpon API: GET /users/{id}.
입력 스키마
{
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric LearnUpon user id."
}
},
"required": [
"user_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_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.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_search_courses(name, course_id, include_draft, include_all_versions, page)
Search courses by name (pattern match, case-insensitive) or by course_id. Returns published courses unless include_draft is true. LearnUpon API: GET /courses.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Course name or part of it.",
"type": "string"
},
"course_id": {
"description": "Numeric course id (exact).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"include_draft": {
"description": "Also return draft courses.",
"type": "boolean"
},
"include_all_versions": {
"description": "With name: also return archived versions.",
"type": "boolean"
},
"page": {
"description": "Page of results, 500 per page (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_search_enrollments(user_id, email, username, course_id, course_name, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"user_id": {
"description": "Numeric user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"email": {
"description": "User email (a unique identifier in LearnUpon).",
"type": "string"
},
"username": {
"description": "Username (the other unique identifier in LearnUpon).",
"type": "string"
},
"course_id": {
"description": "Numeric course id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"course_name": {
"description": "Exact course title (the most recent published title).",
"type": "string"
},
"date_from": {
"description": "Start date, YYYY-MM-DD (updated_at).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"date_to": {
"description": "End date, YYYY-MM-DD (updated_at).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page of results, 500 per page (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_get_enrollment(enrollment_id)
Get one enrollment by its enrollment_id, with status, progress and dates. LearnUpon API: GET /enrollments/{enrollment_id}.
입력 스키마
{
"type": "object",
"properties": {
"enrollment_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Enrollment id (from learnupon_search_enrollments or learnupon_enroll_user)."
}
},
"required": [
"enrollment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_get_enrollment_modules(enrollment_id)
List the modules of one enrollment, with the learner's progress on each. LearnUpon API: GET /enrollments/{enrollment_id}/modules.
입력 스키마
{
"type": "object",
"properties": {
"enrollment_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Enrollment id."
}
},
"required": [
"enrollment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢learnupon_list_markcompletes(id, user_id, enrollment_id, course_id, page)
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.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"description": "Mark-complete id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"user_id": {
"description": "Numeric user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"enrollment_id": {
"description": "Enrollment id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"course_id": {
"description": "Numeric course id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page": {
"description": "Page of results, 500 per page (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴learnupon_enroll_user(email, username, course_id, course_name, due_date, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"email": {
"description": "User email (a unique identifier in LearnUpon).",
"type": "string"
},
"username": {
"description": "Username (the other unique identifier in LearnUpon).",
"type": "string"
},
"course_id": {
"description": "Numeric course id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"course_name": {
"description": "Exact course title (the most recent published title).",
"type": "string"
},
"due_date": {
"description": "Advisory finish date, YYYY-MM-DD (UTC).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"expires_at": {
"description": "Access end date, YYYY-MM-DD (UTC). The learner loses access after it.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"re_enroll_if_completed": {
"description": "true = enroll again even if the learner completed the course.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거