Student

Student

🚀 学生 MCP 服务器

这个学生 MCP 服务器专为学生设计,能助力他们管理学习内容、跟踪学习进度并优化学习时间,是提升学习效率的得力工具。

🚀 快速开始

本服务器功能强大,能帮助学生和教育工作者更高效地管理学习内容。通过跟踪进度、创建测验和分析结果,可更好地优化学习过程并取得优异成果。

✨ 主要特性

  • 维护学习连续性:跟踪你在多个学习会话中所学的内容
  • 优化学习时间:关注高优先级的作业和概念
  • 跟踪学术进展:监控课程、作业和知识掌握情况的完成状态
  • 准备考试:组织学习材料并跟踪对考试的准备情况
  • 管理截止日期:保持对即将到期的作业和考试的关注
  • 连接知识:查看不同概念之间的关系,跨越多个课程
  • 优先处理工作:关注高优先级的作业和学习任务
  • 结构化学习:创建相关概念的逻辑顺序
  • 跟踪状态:监控作业、项目和学习活动的状态

📦 安装指南

从源代码构建

# 克隆仓库
git clone https://github.com/tejpalvirk/contextmanager.git
cd contextmanager

# 安装依赖项
npm install

# 构建服务器
npm run build

# 运行服务器
cd student
node student_index.js

使用 Docker

docker build -t mcp/student -f student/Dockerfile .

📚 详细文档

配置

与 Claude Desktop 结合使用

将以下内容添加到 claude_desktop_config.json

从 GitHub 安装并运行 npx
{
"mcpServers": {
"student": {
"command": "npx",
"args": [
"-y",
"github:tejpalvirk/student"
]
}
}
}
全局安装并直接运行

首先全局安装包:

npm install -g github:tejpalvirk/student

然后配置 Claude Desktop:

{
"mcpServers": {
"student": {
"command": "contextmanager-student"
}
}
}
使用 Docker
{
"mcpServers": {
"student": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp/student"
]
}
}
}

环境变量

学生 MCP 服务器支持以下环境变量来定制数据存储位置:

  • MEMORY_FILE_PATH:数据图将存储的位置路径
    • 可以是绝对路径或相对路径(相对路径使用当前工作目录)
    • 默认值:./student/memory.json
  • SESSIONS_FILE_PATH:学习会话数据将存储的路径
    • 可以是绝对路径或相对路径(相对路径使用当前工作目录)
    • 默认值:./student/sessions.json

示例用法:

# 将数据存储在当前目录
MEMORY_FILE_PATH="./student-memory.json" SESSIONS_FILE_PATH="./student-sessions.json" npx github:tejpalvirk/contextmanager-student

# 使用默认设置运行服务器
npx github:tejpalvirk/student

💻 使用示例

基础用法

创建基本学习计划

const mcp = require('mcp');

mcp.createCourse({
title: '计算机科学基础',
description: '学习编程和算法的基础知识',
topics: [
{ name: 'JavaScript', duration: '2周' },
{ name: '数据结构', duration: '3周' }
]
});

跟踪学习进度

const mcp = require('mcp');

mcp.trackProgress({
course: '计算机科学基础',
topic: 'JavaScript',
progress: 60,
notes: '理解了基本语法,但需要更多练习'
});

创建测验

const mcp = require('mcp');

mcp.createQuiz({
title: '数学测验',
questions: [
{
question: '2 + 3 等于多少?',
options: ['5', '6', '7'],
correctAnswer: '5'
},
// 更多问题...
]
});

分析学习成果

const mcp = require('mcp');

mcp.analyzeResults({
course: '数学',
students: [
{ id: 1, score: 85 },
{ id: 2, score: 90 }
]
});

高级用法

扩展服务器功能

const mcp = require('mcp');

// 添加自定义功能
mcp.extend({
customFunction: function() {
// 自定义逻辑
}
});

创建插件

const mcp = require('mcp');

// 创建新插件
mcp.plugin('myPlugin', {
init: function() {
console.log('插件已初始化');
},
destroy: function() {
console.log('插件已销毁');
}
});

📄 许可证

该软件受 MIT 许可证的约束。有关详细信息,请参阅 LICENSE 文件。

🔗 文档贡献

欢迎为文档做出贡献!请访问 GitHub 仓库 提交您的更改。

  • 0 关注
  • 0 收藏,34 浏览
  • system 提出于 2025-10-03 03:03

相似服务问题

相关AI产品