Educational MCP Server
Enables AI assistants to access educational domain tools including grading, cognitive diagnosis, knowledge tracing, learning path recommendations, and sentiment analysis through FastAPI-powered small models.
README
AI 教学智能体
- LLM 负责理解自然语言与决策;所有“教育小模型”通过 FastAPI 暴露,接口统一。
- 状态(掌握度/情绪/作答历史)用轻量内存存储演示,后续可替换数据库(SQLAlchemy 等)。
目录结构
main.py # FastAPI 入口,挂载所有路由
schemas.py # Pydantic 数据模型(请求/响应)
database.py # 轻量内存“数据库”(可换持久化)
models/ # 小模型业务逻辑(可换训练模型)
cognitive_diagnosis.py
knowledge_tracking.py
emotion_analysis.py
path_planning.py
routers/ # FastAPI 路由拆分
cognitive.py
tracking.py
emotion.py
planning.py
接口一览
POST /diagnose:认知诊断(规则占位,可换 CDM/IRT)。POST /track:知识追踪(规则占位,可换 DKVMN/AKT)。POST /emotion,/emotion/sentiment:情感状态与文本情感。POST /plan:路径规划。
所有请求支持 request_id;响应带 mode/model_version,标注实现可靠度。
启动
pip install -r requirements.txt
python main.py
默认监听 http://127.0.0.1:8000,访问 /docs 可在线调试。LLM 侧可直接把这些 HTTP 路由注册为 MCP 工具。
演进建议
- 用持久化数据库替换
database.py,保留同名接口即可平滑升级。 - 将
models/*内的规则逻辑替换为训练模型;对外 schema 不变。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Neon Database
MCP server for interacting with Neon Management API and databases