HiveLearn

io.github.williamechevarria由 GitHub 帳號 williamechevarria 發布v0.4.0更新於 Oct 25, 2026

Read and author HiveLearn courses, events, quizzes, certificates, resources, leaderboards, tracks.

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶溝通與協作

概覽

AI 產生的概覽

HiveLearn 讓助理在單一 HiveLearn 社群中讀取與編寫課程、單元、測驗、活動、貼文、成員與證書等內容。

可以做什麼
讀取社群資訊與成員,並變更成員角色或封鎖狀態。列出、建立與編輯社群貼文,包含置頂。列出、建立與編輯活動,包含取消與人數上限。建立課程:模組、單元、課程大綱、單元內容、排序與發佈。管理測驗及其題目,以及選課、進度、成績冊和證書。
適用情境
適合讓助理協助經營 HiveLearn 社群:草擬並發佈課程結構、填寫單元內容、撰寫測驗,或查看選課、進度與證書。也適合處理貼文、活動和成員角色等社群管理事務。
執行需求
需要一組 HiveLearn API 金鑰(hl_live_...),在社群的 Admin → API Keys 中建立;本機 npm 套件透過環境變數 HIVELEARN_API_KEY 傳入,遠端端點則透過標頭 X-Hivelearn-Api-Key 傳入。金鑰綁定固定社群,無法切換。
安裝前請注意
金鑰僅限一個社群,權限取決於其角色。許多工具會寫入資料:建立與編輯貼文、活動、課程、單元、測驗和選課,變更成員角色與封鎖成員,以及發佈課程。發佈時會檢查每個單元是否已有內容。批次修改與角色變更需謹慎。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 HiveLearn,將其新增到工作區。
  2. 連接 X-Hivelearn-Api-Key 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.williamechevarria%2Fhivelearn-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "hivelearn": {
      "type": "http",
      "url": "https://mcp.hivelearn.app/",
      "headers": {
        "X-Hivelearn-Api-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

該儲存庫沒有 README。

工具

96

hivelearn_get_community_me

Returns the community the current API key is scoped to. Use this first whenever you need the community_id, owner, slug, or tier — the API key determines tenancy, you cannot switch community.

無需輸入參數。

hivelearn_list_members

List members of the authenticated community. Returns id (profile uuid), role, email, display_name, avatar_url, and joined_at. Filter by role to find admins/owners.

輸入參數rolelimitoffset

hivelearn_get_member

Fetch a single member by profile uuid. Returns the same fields as list_members for one row.

輸入參數id必填

hivelearn_update_member

Change a member's role or ban status. role accepts member/moderator/admin (owner cannot be assigned via the API). Set is_banned=true to ban, false to lift. At least one field required.

輸入參數id必填roleis_banned

hivelearn_list_posts

List community feed posts, newest first. Use category to filter (e.g. "announcements"). Returns id, title, content, category, author, reply counts, timestamps.

輸入參數limitoffsetcategory

hivelearn_get_post

Fetch one post with full content. Reply thread is NOT included — this is the post itself only.

輸入參數id必填

hivelearn_create_post

Publish a new post to the community feed. Either content (markdown) or content_json (tiptap) is required. content_format must match which field you sent. category is optional — omit for default "general".

輸入參數contentcategorycontent_jsoncontent_format

hivelearn_update_post

Edit an existing post. Only include fields you want to change. Use is_pinned to pin/unpin a post from the top of the feed.

輸入參數id必填contentcategoryis_pinnedcontent_jsoncontent_format

hivelearn_list_events

List community events. Use upcoming=true for future events only (recommended for calendar UI). Returns id, title, start/end dates, event_type, location/meeting_url, attendee counts.

輸入參數limitoffsetupcoming

hivelearn_get_event

Fetch one event by id with full description and RSVP metadata.

輸入參數id必填

hivelearn_create_event

Create a calendar event. Dates are ISO 8601 strings in UTC. For virtual events set meeting_url; for in-person set location. event_type controls which field the UI shows.

輸入參數tagstitle必填end_date必填locationtimezoneevent_type必填start_date必填descriptionmeeting_urlmax_attendeescover_image_urldescription_json另有 1 個

hivelearn_update_event

Edit an event. Set is_cancelled=true to cancel (preserves history). Set max_attendees=null to lift the cap.

輸入參數id必填tagstitleend_datelocationtimezoneevent_typestart_datedescriptionmeeting_urlis_cancelledmax_attendees另有 3 個

hivelearn_list_courses

List courses in the authenticated community. status=published returns only courses visible to learners. Returns id, title, visibility, is_published, thumbnail_url, timestamps.

輸入參數limitoffsetstatus

hivelearn_get_course

Fetch one course with full metadata (description, instructor, tags, flags). For the lesson tree use hivelearn_get_course_structure instead.

輸入參數id必填

hivelearn_create_course

Create an empty course (no modules/lessons). Prefer hivelearn_create_course_outline when you already know the structure — it scaffolds course + modules + lesson placeholders in one call.

輸入參數tagstitle必填difficultyvisibilitydescriptionthumbnail_urlinstructor_namedescription_jsondescription_formatinstructor_avatar_url

hivelearn_update_course

Edit course metadata. Use hivelearn_publish_course instead of setting is_published=true directly — publish runs validation.

輸入參數id必填tagstitleis_pinneddifficultyvisibilitydescriptionis_featuredis_publishedthumbnail_urlinstructor_namedescription_json另有 2 個

hivelearn_list_course_modules

List modules (sections) of a course, ordered by sort_order. Modules group lessons; a course has 1..N modules.

輸入參數course_id必填

hivelearn_create_module

Add a module to a course. sort_order is optional — server auto-appends if omitted.

輸入參數title必填course_id必填sort_order

hivelearn_update_module

Rename or reorder a module. To reorder lessons within a module use hivelearn_reorder_module_lessons.

輸入參數id必填titlesort_order

hivelearn_list_course_lessons

List lessons of a course, optionally filtered to one module. Use hivelearn_get_course_structure for a nested tree.

輸入參數course_id必填module_id

hivelearn_create_lesson

Add a lesson to a course. content_type must match content_url (e.g. youtube URL → content_type:youtube). Set module_id=null to leave the lesson unassigned; otherwise pass a module uuid from list_course_modules.

輸入參數title必填course_id必填module_idis_previewsort_ordercontent_url必填descriptioncontent_jsoncontent_typeis_publishedthumbnail_urlcontent_format另有 1 個

hivelearn_update_lesson

Edit lesson metadata or move it between modules. To edit ONLY the content body use hivelearn_update_lesson_content (narrower scope, safer).

輸入參數id必填titlemodule_idis_previewsort_ordercontent_urldescriptioncontent_jsoncontent_typeis_publishedthumbnail_urlcontent_format另有 1 個

hivelearn_create_course_outline

Scaffold an entire course in one call: course + modules + lesson placeholders (title/description only, no content yet). After this, loop over the returned lesson ids with hivelearn_update_lesson_content to fill in video/document URLs. This is the preferred first step when authoring a new course from a plan.

輸入參數tagstitle必填modules必填difficultyvisibilitydescriptionthumbnail_urlinstructor_namedescription_jsondescription_formatinstructor_avatar_url

hivelearn_update_lesson_content

Replace just the content of a lesson — URL, content_type, and optional description/duration/thumbnail. Narrower than update_lesson; safe for bulk agent writes. Does NOT change title, sort_order, or module assignment.

輸入參數id必填content_urldescriptioncontent_jsoncontent_typethumbnail_urlcontent_formatduration_seconds

hivelearn_reorder_module_lessons

Set the full lesson order within a module in one atomic call. Pass the desired final order as lesson_ids — every lesson currently in the module must appear exactly once.

輸入參數module_id必填lesson_ids必填

hivelearn_publish_course

Publish a course: sets is_published=true after validating that every lesson has content_url. Returns error if any lesson is still empty — run hivelearn_get_course_structure to diagnose.

輸入參數id必填

hivelearn_get_course_structure

Return a compact titles-only tree of the course: course → modules → lessons. Ideal for agents to plan reorders, spot empty lessons, or summarize a course. Does NOT include lesson body content.

輸入參數id必填

hivelearn_list_quizzes

List quizzes, optionally scoped to a course or a specific lesson. Each quiz belongs to one lesson.

輸入參數limitoffsetcourse_idlesson_id

hivelearn_get_quiz

Fetch one quiz with metadata (passing_score, time_limit, max_attempts). Questions are NOT included — use hivelearn_list_quiz_questions.

輸入參數id必填

hivelearn_create_quiz

Create a quiz attached to a lesson. passing_score is 0-100 (percent). Omit time_limit_seconds or max_attempts for unlimited.

輸入參數title必填lesson_id必填descriptionmax_attemptspassing_scoreshuffle_questionstime_limit_seconds

hivelearn_update_quiz

Edit quiz settings. Cannot move a quiz to a different lesson — create a new one instead.

輸入參數id必填titledescriptionmax_attemptspassing_scoreshuffle_questionstime_limit_seconds

hivelearn_list_quiz_questions

List all questions for a quiz, ordered by sort_order. Each question carries its options and correct answer.

輸入參數quiz_id必填

hivelearn_create_quiz_question

Add a question to a quiz. Supply the answer field for the type: multiple_choice → options [{text, is_correct}] with exactly one is_correct:true; multi_select → options with one or more correct; true_false → correct_answer (boolean); fill_in_blank → accepted_answers; matching → pairs [{left, right}]; ordering → items [{text}] in correct order (or with position 1..n).

輸入參數itemspairspointsoptionsquiz_id必填sort_orderexplanationquestion_text必填question_type必填correct_answeraccepted_answers

hivelearn_update_quiz_question

Edit a question. Sending question_type or any answer field (options, correct_answer, accepted_answers, pairs, items) rebuilds the answer key, so supply the full answer for the effective type.

輸入參數id必填itemspairspointsoptionssort_orderexplanationquestion_textquestion_typecorrect_answeraccepted_answers

hivelearn_list_enrollments

List course enrollments, optionally scoped to one course or one user. Returns enrollment_id, user_id, course_id, status, progress %, enrolled_at, completed_at.

輸入參數limitoffsetuser_idcourse_id

hivelearn_get_enrollment

Fetch one enrollment with status and progress.

輸入參數id必填

hivelearn_create_enrollment

Enroll a user in a course. Both user_id and course_id must belong to the authenticated community. Duplicate enrollments are rejected.

輸入參數user_id必填course_id必填

hivelearn_get_course_progress

Aggregate lesson-completion progress for a course across enrolled users. Returns per-user percent_complete, last_accessed_at, completed_lesson_count.

輸入參數limitoffsetuser_idcourse_id必填

hivelearn_get_course_gradebook

Quiz-score gradebook for a course: per-user quiz attempts, scores, pass/fail. Use for analytics or grading dashboards.

輸入參數limitoffsetuser_idcourse_id必填

hivelearn_list_certificates

List issued certificates, optionally scoped to one user or one course. Returns id, user, course, verification_code, status, issued_at.

輸入參數limitoffsetuser_idcourse_id

hivelearn_get_certificate

Fetch one certificate by id. Includes verification_code and download URL.

輸入參數id必填

hivelearn_create_certificate

Issue a certificate of completion to a user for a course. Normally the platform auto-issues on course completion — use this tool for bulk backfill or manual awards.

輸入參數user_id必填course_id必填expires_atfinal_scorecompletion_dateinstructor_name

hivelearn_update_certificate

Change a certificate status. Use "revoked" to invalidate (verify endpoint will reject).

輸入參數id必填status必填

hivelearn_verify_certificate

Public verification lookup by verification_code. Returns { valid, certificate } if found and active. Use this when a third party presents a certificate code.

輸入參數code必填

hivelearn_list_resources

List published resources in the authenticated community, newest first. Filter by folder_id, resource_type, or access_level. Returns id, title, resource_type, resource_url/file_url, access_level, counts (downloads, views, favorites), author. The internal storage key is never exposed.

輸入參數limitoffsetfolder_idaccess_levelresource_type

hivelearn_get_resource

Fetch one published resource by id, with joined author. 404 if unpublished or in another community.

輸入參數id必填

hivelearn_create_resource

Add a resource to the community library. Supply either resource_url (external link) or file_url (already-uploaded file) — at least one is required. price must be > 0 if set (omit for free). access_level defaults to public.

輸入參數tagspricetitle必填file_urlfolder_idis_premiumdescriptionaccess_levelis_publishedresource_urlresource_typecover_image_url

hivelearn_update_resource

Edit a resource. Only include fields you want to change. Set is_featured to surface it; set is_published=false to unlist.

輸入參數id必填tagspricetitlefile_urlfolder_idis_premiumdescriptionis_featuredaccess_levelis_publishedresource_url另有 2 個

hivelearn_get_leaderboard

Ranked member leaderboard for the community. period chooses the window: all_time (default), 30_day, or 7_day. Each entry carries rank and the points for the selected period, plus level info.

輸入參數limitoffsetperiod

hivelearn_get_member_points

Full points breakdown for one member (by auth user id) in the community: total, per-category (posts/comments/events/courses/engagement), period totals, level. 404 if the member has no points record here.

輸入參數user_id必填

hivelearn_list_tracks

List published learning tracks (curated course sequences) in the community, newest first. Returns id, title, description, difficulty_level, estimated_hours, flags.

輸入參數limitoffset

hivelearn_get_track

Fetch one learning track by id with full metadata. For its ordered curriculum use hivelearn_list_track_courses.

輸入參數id必填

hivelearn_list_track_courses

Return the ordered curriculum of a track: its courses with sort_order, is_required, and unlock_after_course_id (prerequisite gating).

輸入參數track_id必填

hivelearn_get_track_progress

Per-member progress through a learning track: enrolled_at, started_at, completed_at, total_courses, completed counts. Use for cohort/track analytics.

輸入參數limitoffsettrack_id必填

hivelearn_create_track

Create a learning track (curated course sequence). After this, add courses in order with hivelearn_add_track_course. is_published defaults to false — publish once the curriculum is set.

輸入參數title必填descriptionis_featuredis_publishedthumbnail_urlestimated_hoursdifficulty_level

hivelearn_update_track

Edit a learning track. Only include fields you want to change. Set is_published=true to make it live.

輸入參數id必填titledescriptionis_featuredis_publishedthumbnail_urlestimated_hoursdifficulty_level

hivelearn_add_track_course

Add a course to a track at a given position. sort_order sets the order within the track. Set unlock_after_course_id to a prerequisite course that must be completed first (omit/null for no gate). is_required defaults to true.

輸入參數track_id必填course_id必填sort_order必填is_requiredunlock_after_course_id

hivelearn_get_ai_credits

AI credit balance for the API key's creator: monthly allowance remaining, purchased top-ups (never expire), total available, reset date, and whether the AI Course Builder is enabled for this community. Check this before generating. Needs scope read:ai.

無需輸入參數。

hivelearn_list_ai_jobs

List the key creator's AI course generation jobs in this community, newest first, with status and progress. Needs scope read:ai.

輸入參數limitoffset

hivelearn_get_ai_job

Status and progress of one AI generation job. Poll after hivelearn_generate_ai_course. status is queued | processing | completed | failed | refunded; current_step shows the phase; course_id is the resulting course. A job that stays queued with started_at null was never picked up and is failed and refunded automatically within about an hour. Needs scope read:ai.

輸入參數job_id必填

hivelearn_generate_ai_course

Generate a full course with AI and return a job_id to poll with hivelearn_get_ai_job. SPENDS the key creator's AI credits: 1 credit, or 5 for hybrid_chapters (paid plans only), plus 1 when include_recap_video is true in a video mode. Confirm with the user before calling. Requires the explicit generate:ai_courses scope, which admin:* does NOT include. source_type video_url imports a public YouTube/Vimeo/Loom link; every other type needs a file already uploaded to HiveLearn media storage (external URLs are rejected). Limited to 2 running and 10 per hour.

輸入參數source_url必填video_modecontext_urlsource_type必填style_presetcontent_depthbrand_intensityinclude_quizzessource_filenameinclude_intro_videoinclude_recap_videoquiz_questions_per_chapter

hivelearn_list_event_attendees

List an event's attendees with check-in status and basic profile. source='rsvp' (default) for free RSVPs, 'ticket' for paid ticket purchases. Requires scope read:events.

輸入參數limitoffsetsourceevent_id必填rsvp_statuspayment_status

hivelearn_list_event_waitlist

List an event's waitlist in queue order (oldest first) with position and basic profile. Requires scope read:events.

輸入參數limitoffsetevent_id必填

hivelearn_list_post_comments

List comments on a feed post, oldest first. Returns id, content, parent_comment_id, author, likes_count, timestamps. 404 if the post is not in this community.

輸入參數limitoffsetpost_id必填

hivelearn_create_post_comment

Comment on a feed post as the API key's owner. The comment is visible to all members immediately, notifies the post author, and awards comment points. Set parent_comment_id to reply to another comment on the same post.

輸入參數contentpost_id必填content_jsoncontent_formatparent_comment_id

hivelearn_list_discussions

List published discussions (forum threads), pinned first then newest. Returns id, title, content, category, tags, reply/like counts, is_locked, author.

輸入參數limitoffsetcategory

hivelearn_get_discussion

Fetch one discussion by uuid, with author. Use list_discussion_replies for its replies.

輸入參數id必填

hivelearn_create_discussion

Start a discussion as the API key's owner. It is published and visible to all members immediately, and notifies every member who has new-discussion notifications on.

輸入參數tagstitle必填contentcategorycontent_jsoncontent_format

hivelearn_list_discussion_replies

List replies in a discussion, oldest first. Returns id, content, parent_reply_id, is_accepted_answer, author, likes_count.

輸入參數id必填limitoffset

hivelearn_create_discussion_reply

Reply to a discussion as the API key's owner. The reply is visible to all members immediately and notifies the discussion author. Fails with 409 if the discussion is locked. Set parent_reply_id to nest under another reply.

輸入參數id必填contentcontent_jsoncontent_formatparent_reply_id

hivelearn_get_analytics_summary

Community analytics over a trailing window of `days` (default 30): total and new members, posts created, enrollments (total, new, completions, completion rate), published courses, and events created/held with RSVPs and check-ins. Definitions match the admin dashboard. Requires read:analytics.

輸入參數days

hivelearn_get_course_analytics

Per-course analytics for the community (newest course first): enrollments, new enrollments and completions in the last `days`, completion rate, average progress, and average rating. Paginated. Requires read:analytics.

輸入參數dayslimitoffset

hivelearn_list_quiz_attempts

List attempts for one quiz: learner, score (0-100), points, passed, started_at and completed_at (null = in progress). Never includes answers or answer keys. Requires read:courses.

輸入參數limitoffsetquiz_id必填user_id

hivelearn_list_assignment_submissions

List assignment submissions in the community, newest first, with student profile and lesson title. Filter by course_id, lesson_id or status. Requires read:courses.

輸入參數limitoffsetstatuscourse_idlesson_id

hivelearn_get_assignment_submission

Fetch one assignment submission: text/url, status, instructor feedback and reviewer. Requires read:courses.

輸入參數id必填

hivelearn_grade_assignment_submission

Review an assignment submission: sets status (reviewed, approved, revision_requested, submitted) and instructor feedback, recorded as reviewed by the API key's creator. This changes a member's record and the student will see it. revision_requested requires feedback. Requires write:grades.

輸入參數id必填status必填feedback

hivelearn_list_resource_folders

List resource-library folders in the authenticated community, ordered by position then name. Folders nest via parent_folder_id; pass parent_folder_id="root" for top-level only, or a folder id for its children. Each folder includes resource_count.

輸入參數limitoffsetparent_folder_id

hivelearn_get_resource_folder

Fetch one resource folder by id, with its resource_count. 404 if it belongs to another community.

輸入參數id必填

hivelearn_create_resource_folder

Create a resource-library folder. parent_folder_id (optional) must be a folder in the same community. Names must be unique among siblings (409). price must be > 0 if set.

輸入參數iconname必填colorpricepositiondescriptionparent_folder_id

hivelearn_update_resource_folder

Update a resource folder (rename, recolor, reorder, reprice, or move). parent_folder_id=null moves it to top level; moving a folder into itself or a descendant is rejected. Only supplied fields change.

輸入參數id必填iconnamecolorpricepositiondescriptionparent_folder_id

hivelearn_list_question_banks

List question banks (reusable question pools that bank-draw quizzes sample from), newest first.

輸入參數limitoffset

hivelearn_get_question_bank

Fetch one question bank with its item_count. Items are listed separately via hivelearn_list_question_bank_items.

輸入參數id必填

hivelearn_create_question_bank

Create an empty question bank. Add questions with hivelearn_create_question_bank_item.

輸入參數name必填description

hivelearn_update_question_bank

Rename a question bank or change its description.

輸入參數id必填namedescription

hivelearn_list_question_bank_items

List the questions in a bank, WITH the answer key (is_correct, pairs/items, explanation). Authoring view for admins.

輸入參數limitoffsetbank_id必填

hivelearn_create_question_bank_item

Add a question to a bank. Supports all 6 types; supply the answer field for the type: options (multiple_choice / multi_select), correct_answer (true_false), accepted_answers (fill_in_blank), pairs (matching), items (ordering).

輸入參數itemspairspointsbank_id必填optionsexplanationquestion_text必填question_type必填correct_answeraccepted_answers

hivelearn_update_question_bank_item

Edit a bank question. Changing question_type or any answer field rebuilds the answer key, so resupply the answer field for the (new) type.

輸入參數id必填itemspairspointsoptionsexplanationquestion_textquestion_typecorrect_answeraccepted_answers

hivelearn_list_member_notes

List private admin notes on a member, newest first.

輸入參數limitoffsetuser_id必填

hivelearn_create_member_note

Add a private admin note to a member. The author is the API key's creator.

輸入參數note必填user_id必填

hivelearn_list_member_tags

List the community's member tags (id, name, color).

輸入參數limitoffset

hivelearn_create_member_tag

Create a member tag. Names are unique per community (409 on duplicate).

輸入參數name必填color

hivelearn_list_member_tag_assignments

List the tags assigned to a member.

輸入參數user_id必填

hivelearn_add_member_tag

Assign a tag to a member. Idempotent: returns the existing assignment if already tagged.

輸入參數tag_id必填user_id必填

hivelearn_list_segments

List saved member segments with their filter rules.

輸入參數limitoffset

hivelearn_list_segment_members

List members matching a segment's rules, evaluated server-side the same way the admin CRM does.

輸入參數limitoffsetsegment_id必填

hivelearn_get_member_health

Get a member's health score (engagement, activity, risk level). 404 until the daily job has scored them.

輸入參數user_id必填

版本歷史

2
  1. v0.4.0最新Sep 21, 2026
  2. v0.3.0Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。