LearnUpon MCP by usefulapi

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

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
87%
命名品質
76%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(2)

  • LOWTool 'learnupon_list_custom_user_data_fields' name length outside 3-30 range在 learnupon_list_custom_user_data_fields 中
  • LOWTool 'learnupon_get_enrollment_modules' name length outside 3-30 range在 learnupon_get_enrollment_modules 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,859Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 1.45%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本10 個工具