EduBase MCP Server - AI 驱动的在线教育平台集成

EduBase MCP Server - AI 驱动的在线教育平台集成

简介

EduBase MCP Server 是 EduBase 平台官方推出的 Model Context Protocol 服务器实现,让 AI 助手能够与模块化在线教育平台深度交互。这个服务器为教育机构和企业提供了通过 AI 管理在线课程、协作创建考试题目、排程考试、分析学习结果的强大能力。EduBase 平台本身提供统一的学习环境、高级测验系统、参数化题目、实时作弊检测、LaTeX 公式排版等企业级功能。通过 MCP 协议集成,AI 助手可以自然语言创建题目、排程考试、分析学习数据,大幅提升教育内容创作和教学管理的效率。无论是教育机构的在线课程管理,还是企业的员工培训平台,都能通过这个 MCP Server 实现智能化的教育管理。

核心特性

  • AI 协作题目创建 - 通过自然语言描述快速创建各类考试题目
  • 考试排程和管理 - 灵活的考试时间安排和配置
  • 用户结果分析 - 详细的学习数据分析和成绩报告
  • 参数化题目支持 - 动态生成题目参数,确保每个学生的题目不同
  • 实时作弊检测 - 监控考试过程,识别异常行为
  • LaTeX 公式排版 - 完美支持数学、物理等学科的公式显示
  • 自动评分系统 - 客观题自动评分,主观题辅助评分
  • 多种传输协议 - 支持 stdio、SSE、HTTP 等多种通信方式
  • 企业级安全 - 完善的权限控制和数据安全措施

工具列表

用户管理工具

edubase_get_user

描述: 获取用户信息

参数:

  • userId (string): 用户的唯一标识符 [必需]

题目管理工具

edubase_create_question

描述: 创建考试题目

参数:

  • questionData (object): 题目数据对象 [必需]
    • title (string): 题目标题
    • type (string): 题目类型(multiple_choice、true_false、short_answer、essay、fill_blank)
    • content (string): 题目内容(支持 LaTeX 公式,如 $x^2 + y^2 = r^2$)
    • answers (array): 答案选项列表
      • text (string): 选项文本
      • is_correct (boolean): 是否为正确答案
    • correct_answer (string): 正确答案
    • points (number): 题目分值
    • difficulty (string): 难度级别(easy、medium、hard)
    • explanation (string): 答案解释

edubase_list_questions

描述: 列出题目

参数:

  • courseId (string): 课程 ID,用于过滤特定课程的题目 [可选]
  • limit (number): 返回数量限制,默认 20 [可选]
  • type (string): 题目类型过滤 [可选]
  • difficulty (string): 难度过滤 [可选]

考试管理工具

edubase_create_exam

描述: 创建考试

参数:

  • examData (object): 考试数据 [必需]
    • title (string): 考试标题
    • description (string): 考试描述
    • questions (array): 题目 ID 列表
    • duration (number): 考试时长(分钟)
    • scheduled_at (string): 排程时间(ISO 8601 格式)
    • passing_score (number): 及格分数
    • allow_review (boolean): 是否允许查看答案
    • shuffle_questions (boolean): 是否打乱题目顺序
    • time_limit_per_question (boolean): 是否限制每题时间

edubase_list_exams

描述: 列出考试

参数:

  • status (string): 考试状态(scheduled、ongoing、completed、cancelled) [可选]
  • courseId (string): 课程 ID 过滤 [可选]
  • limit (number): 返回数量限制 [可选]

edubase_get_exam_results

描述: 获取考试结果

参数:

  • examId (string): 考试 ID [必需]
  • userId (string): 用户 ID,不提供则返回所有用户结果 [可选]
  • include_details (boolean): 是否包含详细答题信息 [可选]

答题工具

edubase_submit_answer

描述: 提交答案

参数:

  • examId (string): 考试 ID [必需]
  • questionId (string): 题目 ID [必需]
  • answer (string): 提交的答案 [必需]
  • time_spent (number): 答题耗时(秒) [可选]

分析工具

edubase_get_analytics

描述: 获取学习分析数据

参数:

  • type (string): 分析类型(user_performance、course_statistics、question_difficulty、exam_completion) [必需]
  • userId (string): 用户 ID [可选]
  • courseId (string): 课程 ID [可选]
  • startDate (string): 开始日期 [可选]
  • endDate (string): 结束日期 [可选]

配置方式

Node.js 配置

1
2
3
4
5
6
7
8
9
10
11
12
13
{
"mcpServers": {
"edubase": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"EDUBASE_API_URL": "https://domain.edubase.net/api",
"EDUBASE_API_APP": "your_integration_app_id",
"EDUBASE_API_KEY": "your_integration_secret_key"
}
}
}
}

Docker 配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"mcpServers": {
"edubase": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "EDUBASE_API_URL",
"-e", "EDUBASE_API_APP",
"-e", "EDUBASE_API_KEY",
"edubase/mcp"
],
"env": {
"EDUBASE_API_URL": "https://domain.edubase.net/api",
"EDUBASE_API_APP": "your_integration_app_id",
"EDUBASE_API_KEY": "your_integration_secret_key"
}
}
}
}

环境变量

  • EDUBASE_API_URL - EduBase API 地址
  • EDUBASE_API_APP - 集成应用 ID
  • EDUBASE_API_KEY - 集成密钥

使用示例

安装(使用 Smithery)

1
npx -y @smithery/cli install @EduBase/MCP --client claude

传输协议支持

  • stdio - 标准输入输出
  • SSE - Server-Sent Events
  • HTTP - HTTP 请求

认证方式

  • Bearer Token
  • API Key
  • Integration App

使用场景示例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// 场景 1: 创建题目
// 自然语言:"Create a multiple choice question about Python data structures with 4 options"

// AI 将生成类似的调用:
{
"questionData": {
"title": "Python Data Structures",
"type": "multiple_choice",
"content": "Which data structure in Python is ordered, mutable, and allows duplicate elements?",
"answers": [
{"text": "List", "is_correct": true},
{"text": "Set", "is_correct": false},
{"text": "Dictionary", "is_correct": false},
{"text": "Tuple", "is_correct": false}
],
"points": 10,
"difficulty": "easy",
"explanation": "Lists in Python are ordered collections that are mutable and allow duplicate elements."
}
}

// 场景 2: 排程考试
// 自然语言:"Schedule an exam for next Monday at 10 AM with 30 questions about web development"

{
"examData": {
"title": "Web Development Midterm Exam",
"description": "Comprehensive test covering HTML, CSS, JavaScript, and React",
"questions": [...], // 30 个题目 ID
"duration": 120,
"scheduled_at": "2025-10-18T10:00:00Z",
"passing_score": 70,
"shuffle_questions": true
}
}

// 场景 3: 分析结果
// 自然语言:"Show me the results for the last exam and identify areas where students struggled"

// 场景 4: 生成报告
// 自然语言:"Generate a performance report for student ID 12345 across all courses"

LaTeX 公式支持示例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 创建数学题目
{
"questionData": {
"title": "Quadratic Equation",
"type": "short_answer",
"content": "Solve the equation: $x^2 + 5x + 6 = 0$. What are the values of $x$?",
"correct_answer": "x = -2 or x = -3",
"explanation": "Using the quadratic formula: $x = \\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}$"
}
}

// 物理题目示例
{
"content": "Calculate the force: $F = ma$, where $m = 10kg$ and $a = 2m/s^2$"
}

实际应用场景

1. 教育机构在线课程管理

教育机构使用 AI 助手快速创建课程内容、题库,排程考试,自动化学生成绩管理和分析。

2. 企业培训平台

企业利用 AI 创建员工培训课程和考核,跟踪员工学习进度,生成培训效果报告。

3. AI 辅助考试出题

教师通过自然语言描述题目需求,AI 自动生成符合要求的考试题目,包括题干、选项、答案和解释。

4. 自动化评分和反馈

客观题自动评分,主观题 AI 辅助评分,快速生成详细的成绩报告和学习建议。

5. 学习数据分析

AI 分析学生的答题数据,识别知识薄弱点,为个性化教学提供数据支持。

6. 个性化学习路径设计

基于学生的学习表现和数据分析,AI 推荐个性化的学习内容和练习。

技术实现

TypeScript 实现

使用 TypeScript(92.4%)开发,提供强类型安全和良好的开发体验。

多传输协议支持

支持 stdio、SSE、HTTP 等多种传输协议,适应不同的部署场景。

Claude Desktop 集成

原生支持 Claude Desktop,提供流畅的 AI 辅助教学体验。

模块化设计

采用模块化架构,易于扩展和定制,满足不同教育场景的需求。

企业级安全标准

完善的身份认证、权限控制、数据加密,确保教育数据的安全性。

EduBase 平台功能

  • 统一学习环境 - 一站式学习管理平台
  • 高级测验系统 - 多种题型、自动评分、防作弊
  • 参数化题目 - 动态生成题目参数,确保考试公平
  • 实时作弊检测 - 监控考试行为,识别作弊风险
  • LaTeX 公式排版 - 完美支持数学、物理等学科
  • 自动评分系统 - 客观题即时评分,主观题辅助评分
  • 企业级安全 - SSO 单点登录、数据加密、审计日志
  • 全面 API 支持 - RESTful API,易于集成
  • AI 辅助内容转换 - 自动将传统教材转换为在线课程

获取方式

相关资源

© 2026 Generative AI Discovery All Rights Reserved.
Theme by hiero