Skip to main content
Glama
OSSKn4w7

chaoxing-mcp

by OSSKn4w7

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CX_COOKIE_FILENoPath to the cookie JSON file used for authentication persistence (e.g. ~/.chaoxing-mcp/teacher_cookies.json).
CX_ENABLE_AUTOMATIONNoSet 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OSSKn4w7/chaoxing-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server