chaoxing-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CX_COOKIE_FILE | No | Path to the cookie JSON file used for authentication persistence (e.g. ~/.chaoxing-mcp/teacher_cookies.json). | |
| CX_ENABLE_AUTOMATION | No | Set to '1' to enable automation tools (equivalent to --enable-automation). | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cx_loginA | 登录学习通(超星账号)。密码仅在本次调用内存中使用,不会写入日志或返回值。若平台要求二次验证(短信/扫码),会返回 login_verification_required,此时请引导用户浏览器登录后改用 cx_import_cookies。 |
| cx_session_statusA | 检查学习通登录态是否有效(回读个人空间首页判断)。 |
| cx_list_coursesA | 列出学习通课程(学生返回『我学的课』,教师返回任教课程),含 courseId/clazzId/cpi——后续所有课程相关操作都靠这三个 ID 定位。 |
| cx_import_cookiesA | 从浏览器导入学习通 Cookie(登录后 F12 复制,或用编辑器插件导出)。传入 [{name,value,domain?,path?}, ...]。适用于平台强制二次验证、密码登录被风控等场景。 |
| cx_logoutA | 退出学习通并删除本地 Cookie 文件。 |
| cx_s_list_learning_coursesA | 列出『我学的课』(courseId/clazzId/cpi/教师名),后续操作用这些 ID 定位。 |
| cx_s_list_chaptersB | 列出课程章节树(章节名/链接)。 |
| cx_s_list_homeworksB | 列出课程作业(标题/状态/时间/详情链接)。 |
| cx_s_get_homework_detailA | 读取作业详情:题目列表(题干/选项/题型)、附件列表、standardEnc。不会自动作答或提交。 |
| cx_s_download_attachmentC | 下载作业/资料附件到本地(objectId 定位)。 |
| cx_s_list_examsA | 列出课程考试(标题/状态/入口链接)。只读取,不进入答题。 |
| cx_s_list_materialsA | 列出课程『资料』目录的文件(名称/objectId)。 |
| cx_s_download_materialC | 按 objectId 下载课程资料(getYunFiles 直链优先)。 |
| cx_s_get_study_recordsC | 查看课程学习记录(菜单『学习记录/统计』页解析)。 |
| cx_s_sign_inA | 学生签到:normal(一键)/location(位置)/code(签到码)/photo(拍照)。 |
| cx_s_submit_homeworkA | 作业作答:submit=false 为暂存(安全);submit=true 为正式提交(★高影响,首次调用返回 confirmToken,确认后携带 token + 同参数重调)。answers 格式: [{"stem":"题干关键词","answer":"A"}]。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools have clearly scoped purposes, but cx_s_list_learning_courses and cx_list_courses overlap heavily for student course listing, and cx_s_download_material vs cx_s_download_attachment both perform objectId-based downloads from different sources. Descriptions help clarify the intended resource, but an agent could still misselect between these pairs.
The set largely follows a verb_noun pattern with a consistent cx_s_ prefix for student operations and cx_ for auth/session operations. Minor inconsistencies exist: cx_session_status is noun-style, cx_s_list_learning_courses vs cx_list_courses use different names for similar listing actions, and material/materials singular/plural are mixed.
16 tools is at the upper edge but still reasonable for a platform server covering auth, courses, chapters, materials, homework, exams, sign-in, and downloads. There is some redundancy that could be trimmed, but no tool feels entirely out of place.
The server covers the main student workflows: login/session management, course listing, content/material access, homework reading and submission, sign-in, and exam listing. The most notable gap is that exams are read-only with no submission workflow, but the core learning-assistant surface is otherwise coherent.