Skip to main content
Glama
Felixlyf0913

Student Management MCP Prototype

by Felixlyf0913

学生管理 MCP 原型

目标

面向“学生成长画像与主动帮扶闭环”场景,提供一组已接入智能体平台的 MCP 工具,让智能体能够查询学生画像、筛选关注名单、创建和跟踪帮扶任务、写入帮扶记录、生成班级看板并联动钉钉群。

Related MCP server: School MCP

亮点

  • 从“问答式学生管理”升级为“数据驱动的主动发现”。

  • 把考勤、成绩、宿舍反馈、实训表现、资助状态、谈心记录合成学生成长画像。

  • 支持生成“今日需关注名单”,体现学生管理从被动响应到主动预警。

  • 支持写入帮扶记录,形成“发现问题-提出建议-落实跟进-记录回填”的闭环。

  • 可生成班级看板数据,适合比赛答辩展示。

工具清单

工具

用途

get_student_profile

按学号或姓名查询学生成长画像

list_attention_students

筛选中/高关注学生名单

create_followup_record

写入谈心谈话或帮扶跟进记录

create_student_support_task

根据画像创建帮扶任务,可按明确要求推送辅导员群

update_student_support_task

更新任务状态、进展并可同步帮扶记录

list_student_support_tasks

查询待办、逾期和已完成任务

get_support_task_audit

查询任务创建和状态变更审计台账

get_system_readiness

只读检查存储、任务数据和钉钉渠道配置

get_class_dashboard

生成班级学生状态看板数据

generate_and_send_class_weekly_report

生成匿名班级周报并推送教师工作群

本地运行

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.jsonsupport_tasks.json 的基础数据。

  • 健康检查 /health 会返回存储类型和记录数量,但不会返回数据库地址或钉钉密钥。

PostgreSQL 连接变量示例:

DATABASE_URL=postgresql://用户名:密码@主机:5432/数据库名

演示数据维护

恢复基线数据:

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
  }
}

平台接入建议

平台实测支持两种入口:

  1. 手动创建 MCP 服务

    • 服务名称

    • 描述

    • 链接方式:sse

    • 接口地址

    • Header 配置

    • 点击测试链接

  2. 从 JSON 导入

    • 格式为 mcpServers

    • 示例见 mcp_servers.example.json

当前 SSE MCP 服务已部署到 Render,平台通过 /sse 地址发现和调用工具。本机 127.0.0.1 仅用于开发验证,不能作为平台的公网接入地址。

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    A
    quality
    D
    maintenance
    Enables natural language queries about grades, GPA, attendance, and schedules by connecting Claude to StudentVue school dashboards. Includes analytical tools for grade simulation, what-if scenarios, and academic performance tracking based on live school data.
    Last updated
    19
  • A
    license
    A
    quality
    A
    maintenance
    Provides 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.
    Last updated
    5
    13
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only MCP server for ClassQuill, a tutoring-business-management platform.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

  • Read-only A2Me family context tools for AI assistants (members, dates, activity, relationships)

View all MCP Connectors

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/Felixlyf0913/student-growth-support-mcp'

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