STU MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STU_MCP_HOME | No | 数据默认位于当前用户的系统数据目录,开发时可用 `STU_MCP_HOME` 指定独立目录。 |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_capabilitiesA | 查看可用校园功能、每个来源的登录状态和缓存时间;不会要求一次配置全部账号。 |
| open_setupA | 在用户本机打开设置页,用学校官方页面完成登录。不要向用户索要密码或 token。 |
| refresh_sourceA | 按需获取 public/oa/jw/mystu/yuketang;1–50 条/课程,报告范围和部分失败。教务学期可留空。 |
| search_noticesA | 搜索本地通知缓存;空结果不能证明学校没有通知。先根据范围刷新,再读正文确认条件。 |
| get_noticeB | 读取通知正文及附件列表;refresh=true 从已缓存的学校链接获取正文,不接受任意 URL。 |
| read_attachmentB | 提取已缓存通知的 PDF/文本附件,序号从 0 开始。最多 8 MiB、100 页,扫描件不做 OCR。 |
| get_gradesA | 读取本人教务成绩缓存,支持课程/学期关键词。需要先在本地登录并刷新 jw。 |
| academic_summaryB | 按已缓存的全部成绩计算学分加权均分/绩点;包含计算口径,不替代学校官方认定。 |
| get_examsB | 读取本人考试安排缓存,包含考场/时间等信息;以学校页面为准。 |
| get_coursesB | 读取 MySTU/雨课堂课程缓存;各来源独立登录,使用最新可用学期。 |
| get_tasksC | 读取作业/测验待办、截止时间和学校提供的提交状态;本地状态与学校状态分开。 |
| get_course_resourcesA | 查询课程资料、Moodle/ELC 活动链接缓存。工具不会提交作业或修改学校记录。 |
| get_scheduleB | 读取 MySTU 个人日程缓存,刷新范围为过去 7 天至未来 31 天。 |
| get_service_linksC | 查询学校公开服务入口,不需要登录。 |
| set_task_statusA | 将本地待办标记为 todo/done/ignored。仅改本机状态,不向学校提交或修改作业。 |
| set_student_profileB | 保存可选的学院/专业/年级/兴趣,帮助用户的 agent 筛选机会。不接收认证信息。 |
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
Each tool targets a distinct campus resource or local action: refresh_source handles cache population, get_* tools read specific cached domains, and set_* tools change local state. The only potential overlap is refresh_source versus get_* refresh behavior, but the descriptions make the cache-refresh/read split clear.
All tools use snake_case and are mostly verb_noun, such as refresh_source, get_notice, and set_task_status. The lone exception is academic_summary, a noun phrase, but it remains readable and does not undermine the overall pattern.
16 tools is slightly above the typical 3-15 sweet spot, but the broad campus aggregation purpose justifies coverage across notices, grades, courses, tasks, schedule, setup, and local state. No tool appears redundant.
The surface covers the major lifecycle needs: source refresh, notice search/read/attachment extraction, grades/GPA, exams, courses/resources, tasks, schedule, service links, profile, capabilities, and setup. Minor gaps like no explicit get_profile or cache-clear exist but are workable.