Student Management MCP Prototype
学生管理 MCP 原型
目标
面向“学生成长画像与主动帮扶闭环”场景,提供一组已接入智能体平台的 MCP 工具,让智能体能够查询学生画像、筛选关注名单、创建和跟踪帮扶任务、写入帮扶记录、生成班级看板并联动钉钉群。
Related MCP server: TeacherAssist-MCP
亮点
从“问答式学生管理”升级为“数据驱动的主动发现”。
把考勤、成绩、宿舍反馈、实训表现、资助状态、谈心记录合成学生成长画像。
支持生成“今日需关注名单”,体现学生管理从被动响应到主动预警。
支持写入帮扶记录,形成“发现问题-提出建议-落实跟进-记录回填”的闭环。
可生成班级看板数据,适合比赛答辩展示。
工具清单
工具 | 用途 |
| 按学号或姓名查询学生成长画像 |
| 筛选中/高关注学生名单 |
| 写入谈心谈话或帮扶跟进记录 |
| 根据画像创建帮扶任务,可按明确要求推送辅导员群 |
| 更新任务状态、进展并可同步帮扶记录 |
| 查询待办、逾期和已完成任务 |
| 查询任务创建和状态变更审计台账 |
| 只读检查存储、任务数据和钉钉渠道配置 |
| 生成班级学生状态看板数据 |
| 展示 Word/Excel/PDF 业务台账的文件入库状态和记录统计 |
| 查询学生考勤、实训、筛查建议、谈话、任务和预警时间线 |
| 查询班级动态台账和治理概览 |
| 查询即将到期或逾期的复访提醒 |
| 生成匿名班级周报并推送教师工作群 |
| 查询指定实训室在指定时段是否有排课或预约冲突 |
| 按日期、时段、容量和设备条件筛选可用实训室 |
| 查询班级实训安排与场地信息 |
| 查询异常设备、报修工单与预计处理状态 |
本地运行
cd D:\教育信息技术应用大赛\学生管理MCP原型
python -m uvicorn student_management_mcp_api:app --host 127.0.0.1 --port 8765公网部署与智能体平台使用的是 student_management_mcp_sse:app,本地验证可运行:
python -m uvicorn student_management_mcp_sse:app --host 127.0.0.1 --port 8000数据持久化
配置
DATABASE_URL时使用 PostgreSQL,源台账入库、任务、跟进记录和审计台账可跨 Render 部署保留。未配置时自动使用
.data/student_management.db本地 SQLite,适合开发测试,但 Render 重新部署后可能丢失。首次启用数据库时会自动迁移仓库内
followup_records.json和support_tasks.json的基础数据。首次部署还会读取
演示业务源文件中的 5 份 Excel、1 份 Word 和 1 份 PDF,将比赛演示名册、考勤学业、实训、筛查建议、谈话、任务以及实训室资源排课台账规范化后写入数据库;后续 MCP 新增的谈话和任务会继续累积。健康检查
/health会返回存储类型和记录数量,但不会返回数据库地址或钉钉密钥。
PostgreSQL 连接变量示例:
DATABASE_URL=postgresql://用户名:密码@主机:5432/数据库名演示数据维护
演示业务源文件 内全部为比赛演示模拟数据,不对应真实个人。推荐的录屏主线为:
工作人员维护 Excel / Word / PDF 台账
-> 服务自动解析并入库 PostgreSQL
-> 班级态势与学生成长时间线
-> 生成帮扶任务并回写谈话记录
-> 按期复访提醒与任务审计
-> 按日期、时段、容量和设备条件查询可用实训室可先调用 get_data_ingestion_status 展示文件、入库数量和数据链路,再按角色调用受控查询工具:
get_authorized_student_growth_timeline:学生限本人,班主任和辅导员限授权班级。get_authorized_class_operational_records:班主任和辅导员查看授权班级动态,行政人员仅匿名聚合。list_authorized_followup_reminders:班主任和辅导员查看授权范围内的复访待办。
恢复基线数据:
python demo_data_maintenance.py --mode baseline --confirm RESET-DEMO-DATA生成两条固定演示任务:
python demo_data_maintenance.py --mode sample --confirm RESET-DEMO-DATA该脚本会清理当前任务和审计台账,因此只允许维护人员在录屏准备阶段使用;它不是 MCP 工具,也不会发送钉钉消息。
调用示例
查询学生画像:
{
"tool": "get_student_profile",
"arguments": {
"query": "S004"
}
}查询需关注名单:
{
"tool": "list_attention_students",
"arguments": {}
}写入帮扶记录:
{
"tool": "create_followup_record",
"arguments": {
"student_id": "S002",
"owner": "辅导员",
"summary": "已完成首次谈心,学生反馈近期课程压力较大,实训日志补交意识不足。",
"next_action": "联系实训指导教师确认补交要求,三天后复访。",
"status": "跟进中"
}
}生成班级看板:
{
"tool": "get_class_dashboard",
"arguments": {
"class_name": "智能制造2401"
}
}创建帮扶任务(默认不推送):
{
"tool": "create_student_support_task",
"arguments": {
"student_query": "S004",
"owner": "辅导员",
"due_date": "2026-07-18",
"push_to_dingtalk": false
}
}完成任务并同步帮扶记录:
{
"tool": "update_student_support_task",
"arguments": {
"task_id": "任务编号",
"status": "已完成",
"progress_note": "已完成线下谈心。",
"next_action": "联系任课教师并于一周后复访。",
"sync_followup": true
}
}平台接入建议
平台实测支持两种入口:
手动创建 MCP 服务
服务名称
描述
链接方式:
sse接口地址
Header 配置
点击测试链接
从 JSON 导入
格式为
mcpServers示例见
mcp_servers.example.json
当前 SSE MCP 服务已部署到 Render,平台通过 /sse 地址发现和调用工具。本机 127.0.0.1 仅用于开发验证,不能作为平台的公网接入地址。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides AI-powered educational tools for teachers including lesson planning, quiz creation, student progress analysis, learning path recommendations, and rubric generation. Enables educators to automate administrative tasks and personalize learning experiences through natural language interactions.59MIT
- AlicenseNot gradedqualityBmaintenanceAI-powered Teacher Assistance MCP Server for managing student records with PostgreSQL, enabling create and read operations via MCP tools.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage student profiles, track assessments, calculate topic mastery, identify learning gaps, and recommend focus areas. Integrates with Claude Desktop and Claude Code for interactive learning analytics.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables an AI assistant to help students by providing tools for math calculations, attendance tracking, marks analysis, reading PDF notes, searching lecture notes, and checking college regulations.
Related MCP Connectors
Makuri (EU AI tutoring for immigrant children): 11 tools, 2 interactive panels, no user data.
Generate tailored quality criteria and scoring guides from your task descriptions. Refine objectiv…
Simulation, evaluation and monitoring for voice agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Felixlyf0913/student-growth-support-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server