fuxam-student-mcp
Fuxam 学生 MCP
使用 Codex、Claude 和其他本地 MCP 客户端来探索你的 Fuxam 模块、学习单元、进度、日程和学期选项。
该服务器在你的计算机上运行,并直接与 Fuxam 通信。它向代理提供有用的源事实和可组合的工具,而不是试图替你选择学期。
让代理为你设置
将以下提示词复制到与 Codex 或 Claude 的新聊天中:
Set up Fuxam Student MCP for me using this documentation:
https://codecampus.tools/docs/fuxam-student-mcp
Detect which supported MCP client I am using and follow only its current instructions. Install the latest public release locally and configure it as a stdio MCP server. Complete every step you can directly, and pause only for a client UI or secret-entry action I must perform.
Never ask me to paste my Fuxam `__client` cookie into this chat, and never print or log it. When the credential is required, tell me exactly how to enter it directly into the client's local MCP configuration or secure installer prompt.
After configuration:
1. Verify the MCP entry exists without displaying the credential.
2. Start the server and confirm its tools are available.
3. Tell me if I need to restart the client or open a new chat.
4. Run one read-only check: show the module categories and learning units I can currently choose from.
Do not book or unbook courses, or join or leave waitlists, during setup.更喜欢自己安装?请按照下面的手动步骤操作。
Related MCP server: MCP UJI Academic Server
要求
一个 CODE University Fuxam 账户
用于命令行安装的 Node.js 26 或更高版本
Codex、Claude Code 或 Claude Desktop
获取你的 Fuxam 会话 Cookie
Fuxam 的短期会话令牌会从其 Clerk __client cookie 中续期。
在浏览器中登录 fuxam.app。
打开浏览器开发者工具。
在应用程序/存储 cookie 视图中,选择
https://clerk.fuxam.app。复制
__clientcookie 的值。
将此值视为密码。不要将其粘贴到聊天中、提交到代码库,或包含在屏幕截图中。
安装
ChatGPT/Codex 应用和 Codex CLI
已安装的 ChatGPT/Codex 应用和 Codex CLI 共享本地 Codex MCP 配置:
codex mcp add fuxam \
--env FUXAM_CLERK_CLIENT='<your __client cookie>' \
-- npx -y fuxam-student-mcp添加服务器后,打开一个新的 Codex 任务。
Claude Code
claude mcp add --scope user \
-e FUXAM_CLERK_CLIENT='<your __client cookie>' \
fuxam -- npx -y fuxam-student-mcpClaude Desktop
从匹配的 GitHub Release 下载 .mcpb 文件,使用 Claude Desktop 打开,并在提示时粘贴 Clerk cookie。该捆绑包在本地运行相同的 MCP,并将 cookie 标记为敏感配置。
其他本地 MCP 客户端
使用此可执行文件和环境变量配置 stdio 服务器:
{
"command": "npx",
"args": ["-y", "fuxam-student-mcp"],
"env": {
"FUXAM_CLERK_CLIENT": "<your __client cookie>"
}
}外部配置键因客户端而异。请使用客户端常规的本地 stdio MCP 设置。
试试看
适合首次尝试的提示词包括:
“向我展示我目前可以选择的模块类别和学习单元。”
“帮我比较这三个模块,包括要求、进度、讲师、日期和工作量。”
“查看我的学习计划和当前进度,然后帮我制定一个切实可行的学期计划。”
“检查这组提议的学习单元是否存在时间冲突。”
“下个月我有哪些截止日期和预约?”
代理可以按类别/标签或文本浏览,批量检查模块和学习单元,将结果与你的进度进行比较,并检查提议的课程集是否存在冲突。
功能
规划与发现:
explore_learning_optionssearch_fuxamget_study_planlist_enrolled_courseslist_bookable_coursesget_learning_unit_detailsget_module_detailsget_module_attemptsget_exam_details
日程与工作量:
list_student_appointmentslist_course_appointmentslist_course_deadlineslist_applicable_excluded_dateslist_todoslist_pinned_coursesget_layer_pathcheck_course_conflicts
账户更改:
book_courseunbook_coursejoin_waitlistleave_waitlist
这四个账户更改工具会影响你的真实 Fuxam 账户。它们被标记为 MCP 客户端的写操作,并且每次更改都会验证产生的 Fuxam 状态。预订不会静默地先运行冲突检查。
代理应如何使用
对于开放式规划,请从 explore_learning_options 和 list_enrolled_courses 开始。按类别或搜索查询缩小范围,然后通过 get_module_details、get_learning_unit_details 和 get_module_attempts 批量处理候选列表。在呈现权衡之前,使用 check_course_conflicts 检查完整的提议集。
标识符名称很重要:
课程
id用于预订、候补名单和冲突检查;layerId或layer_id用于预约和截止日期;courseModuleId是稳定的模块 ID;moduleVersionId标识一个课程版本;organizationTermId标识一个学期。
Fuxam 从导入中得出的完成总数有时会滞后于具体的尝试或 gradedAt 记录。当它们不一致时,代理应优先使用具体的记录。
故障排除
FUXAM_AUTH_REQUIRED
: 重新登录 Fuxam,复制当前的 Clerk __client cookie,删除旧的 MCP 条目,然后使用新值重新添加。
codex mcp remove fuxam
claude mcp remove --scope user fuxamFUXAM_UNSUPPORTED_INSTITUTION
: 此版本支持 CODE University Fuxam 环境。
FUXAM_CONTEXT_REQUIRED
: 服务器无法识别一个有效的群组和学习项目上下文。在提交 issue 时请包含完整错误,但切勿包含你的 cookie、请求头或 Fuxam 原始响应数据。
部分结果
: 某些精选读取会组合多个 Fuxam 部分。如果可选的上游部分暂时不可用,MCP 会返回其能够检索到的部分,并带有 partial: true,同时指出哪些可以重试。
隐私
0.1 版本不收集任何遥测数据。你的 Fuxam 凭据和学生数据保留在你的计算机上,本地 MCP 直接向 Fuxam 和 Clerk 发出的请求除外。工具结果会发送给你选择的 MCP 客户端,并受该客户端自身数据控制策略的约束。
许可证
非商业使用根据 PolyForm 非商业许可证 1.0.0 授权。商业使用需要获得 Maximilian Spitzer 的单独书面许可;请通过 GitHub 联系作者。
开发
npm ci
npm run check
npm run test:package
npm run package:mcpb包冒烟测试会将生成的 npm tarball 安装到一个干净的临时目录中,通过 stdio 协商 MCP,列出其工具,并验证无需凭据的启动行为。测试从不使用真实的学生凭据或执行 Fuxam 更改操作。
项目状态
这是一个非官方的学生构建客户端,经 CODE University 和 Fuxam 许可发布。Fuxam 仍然是学术记录、要求、可用性和账户状态的权威来源。
Available Tools
21 toolsbook_courseBook CourseA
Book one learning-unit course ID on the real student account and verify it with a fresh enrolled-course read. This does not implicitly check conflicts; call check_course_conflicts first when schedule compatibility matters.
Inputs: courseId (required).
check_course_conflictsCheck Course ConflictsARead-onlyIdempotent
Ask Fuxam to evaluate a proposed set of learning-unit course IDs against one another and known appointments. An empty upstream array means Fuxam reported no conflict. This tool does not book or modify anything.
Inputs: courseIds (required), includeAppointmentsForCourseIds.
explore_learning_optionsExplore Learning OptionsARead-onlyIdempotent
Explore the catalog when the student does not yet know module or LU names. With no filters, returns the complete raw study plan, elective-group facets with module/current-LU counts, and concise summaries of all current bookable LUs. It tolerates an unavailable study-plan or catalog section and reports partial results in warnings. Call it again with electiveGroupIds to browse those categories or with query for thematic text search. Then use get_module_details and get_learning_unit_details for the shortlist.
Inputs: query, electiveGroupIds.
get_exam_detailsGet Exam DetailsBRead-onlyIdempotent
Drill into one assessment attempt. Returns dates, scheduling, submission eligibility, published outcome, request history, alternative-assessment state, and academic gates unchanged. Omit cohortId to use the configured student's cohort.
Inputs: examId (required), moduleVersionId (required), organizationTermId (required), cohortId, +1 more.
get_layer_pathGet Layer PathARead-onlyIdempotent
Resolve a Fuxam layer ID to its structural hierarchy. This is useful for understanding where a course, module, or content layer sits in the curriculum or organization tree.
Inputs: layerId (required).
get_learning_unit_detailsGet Learning Unit DetailsARead-onlyIdempotent
Batch-inspect several learning-unit course IDs. Returns each complete current course record plus a large page of its appointments and deadlines, preserving upstream fields. Missing IDs are reported separately; schedule or deadline sections report unavailable when Fuxam exposes the catalog LU but withholds that course endpoint. Use this after narrowing a semester shortlist; it does not rank, check conflicts, or mutate anything.
Inputs: courseIds (required), language, includeDeadlines, includeAppointments.
get_module_attemptsGet Module AttemptsARead-onlyIdempotent
Batch attempt history, assessment requirements, attendance fulfillment, grades, and academic rules for several module versions. Each module is returned independently so one unavailable record does not discard the others. Use moduleVersionIds from the study plan or courses' connectedModule records.
Inputs: moduleVersionIds (required).
get_module_detailsGet Module DetailsARead-onlyIdempotent
Batch-inspect several module versions. For each module, returns Fuxam's catalog settings and requirements, module information, associated learning units for the optional academic term, and the student's attempt and academic-rule state. In a learning-unit connectedModule record, pass moduleId as courseModuleId and pass moduleVersionId unchanged.
Inputs: modules (required).
get_study_planGet Study PlanARead-onlyIdempotent
Return the student's module elections, elective pools, available terms, attempt summaries, and study-plan state unchanged. Use returned organizationTermId and moduleVersion.id values with the drill-down tools.
Inputs: focusId, organizationTermId.
join_waitlistJoin WaitlistB
Join a course waitlist on the real student account and re-read the booking catalog to report the resulting position.
Inputs: courseId (required).
leave_waitlistLeave WaitlistADestructive
Leave a course waitlist on the real student account and re-read the booking catalog to verify the resulting state.
Inputs: courseId (required).
list_applicable_excluded_datesList Applicable Excluded DatesARead-onlyIdempotent
Return institution-wide excluded dates applicable to the student in an ISO-8601 date or datetime interval, such as holidays or closure periods that affect scheduling.
Inputs: to (required), from (required).
list_bookable_coursesList Bookable CoursesARead-onlyIdempotent
Return one upstream page of bookable learning units unchanged, including capacity, enrollment, waitlist state, descriptions, and connected modules. Use id for booking/waitlists, layerId for course schedules, and connectedModule.moduleVersionId for curriculum tools. Follow pageCount to inspect further pages.
Inputs: page, search, perPage.
list_course_appointmentsList Course AppointmentsARead-onlyIdempotent
Return one course's appointment page unchanged. Supply layerId from enrolled or bookable course data, not the learning-unit course id.
Inputs: layerId (required), limit, cursor, direction.
list_course_deadlinesList Course DeadlinesBRead-onlyIdempotent
Return one course's deadline items and pagination metadata unchanged. Supply layerId from enrolled or bookable course data.
Inputs: layerId (required), limit, cursor, language.
list_enrolled_coursesList Enrolled CoursesARead-onlyIdempotent
Return the student's enrolled course records unchanged, including descriptions, educators, tags, content blocks, status, and identifiers. A course id and layer_id are different identifiers.
Inputs: search.
list_pinned_coursesList Pinned CoursesARead-onlyIdempotent
Return the student's pinned-course records unchanged. Pinned courses can indicate the student's current working set but are not a recommendation signal.
Inputs: no named parameters.
list_student_appointmentsList Student AppointmentsCRead-onlyIdempotent
Return one page of the student's agenda unchanged, including appointment times, locations, organizers, attendance settings, and pagination state. Use the returned cursor for another page.
Inputs: limit, cursor, direction, showPastAppointments.
list_todosList To-DosARead-onlyIdempotent
Return the student's Fuxam content-block workload and current statuses unchanged. This exposes concrete outstanding, in-progress, completed, reviewed, and locked work for planning workload.
Inputs: showLocked, timePeriod, showReviewed, showCompleted, +2 more.
search_fuxamSearch FuxamARead-onlyIdempotent
Search Fuxam entities and return the upstream result unchanged. Use this to discover course, module, term, appointment, and exam IDs before calling specialized tools.
Inputs: query (required), limit, types, offset.
unbook_courseUnbook CourseADestructive
Unbook one learning-unit course ID from the real student account and verify its absence with a fresh enrolled-course read.
Inputs: courseId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Each tool has a clearly distinct purpose, ranging from search and listing to booking and waitlist management. Overlaps like list_enrolled_courses vs list_bookable_courses are differentiated by their scope (enrolled vs bookable), and get_learning_unit_details vs get_module_details target different entities.
Most tools follow a verb_noun pattern (list_*, get_*, book_*, unbook_*, join_*, leave_*). Minor inconsistencies exist, such as 'search_fuxam' and 'explore_learning_options' not using the same prefix structure, but the overall naming is coherent and readable.
With 21 tools, the set is fairly large but justified by the breadth of student operations: reading data, booking, waitlists, conflict checking, and scheduling. The count is on the higher end but still within a reasonable range for a comprehensive student management server.
The tool surface covers core student actions: search, list, view details, book/unbook, join/leave waitlists, check conflicts, and access appointments, deadlines, exams, todos, and pinned courses. Minor gaps like a dedicated 'get_student_info' or update operation exist, but the core domain is well represented.
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Remote MCP for TehProf Booking: browse resources & availability, create & cancel reservations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying academic data from Universitat Jaume I, including subjects, degrees, locations, and schedules, via MCP-compatible clients.MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying academic data such as subjects, degrees, locations, and schedules from Universitat Jaume I via MCP tools.MIT
- FlicenseNot gradedqualityDmaintenanceRemote MCP connector providing live, structured access to CMU Courses public data including courses, prerequisites, schedules, instructors, gen-eds, and final-exam times to help students plan schedules.-
- FlicenseNot gradedqualityDmaintenanceMCP server for querying student information, validating result data, and analyzing student results from a local database.-