MCP Educational Tutor
An intelligent tutoring server that uses GitHub documentation repositories to provide structured educational prompts and tools.
Educational Tutor
An experimental system that transforms documentation repositories into interactive educational content using AI and the Model Context Protocol (MCP).
🌟 Overview
This project consists of two main components:
- 📚 Course Content Agent - Generates structured learning courses from documentation repositories
- 🔧 MCP Educational Server - Provides standardized access to course content via MCP protocol
🏗️ Architecture
Documentation Repository → Course Content Agent → Structured Courses → MCP Server → AI Tutors
The system processes documentation, creates educational content, and exposes it through standardized tools for AI tutoring applications.
📂 Project Structure
tutor/
├── course_content_agent/ # AI-powered course generation from docs
│ ├── main.py # CourseBuilder orchestration
│ ├── modules.py # Core processing logic
│ ├── models.py # Pydantic data models
│ ├── signatures.py # DSPy LLM signatures
│ └── about.md # 📖 Detailed documentation
├── mcp_server/ # MCP protocol server for course access
│ ├── main.py # MCP server startup
│ ├── tools.py # Course interaction tools
│ ├── course_management.py # Content processing
│ └── about.md # 📖 Detailed documentation
├── course_output/ # Generated course content
├── nbs/ # Jupyter notebooks for development
└── pyproject.toml # Project configuration
🚀 Quick Start
1. Install Dependencies and Create Virtual Environment
This project uses uv for fast Python package management.
# Create a virtual environment
python -m uv venv
# Install dependencies in editable mode
.venv/bin/uv pip install -e .
2. Generate Courses from Documentation
# Generate courses from a repository
.venv/bin/uv run python course_content_agent/test.py
Customize for Your Repository: Edit course_content_agent/test.py to change:
- Repository URL (currently uses MCP docs)
- Include/exclude specific folders
- Output directory and caching settings
3. Start MCP Server
# Serve generated courses via MCP protocol
.venv/bin/uv run python -m mcp_server.main
# Or customize course directory
COURSE_DIR=your_course_output .venv/bin/uv run python -m mcp_server.main
4. Test MCP Integration
# Test server capabilities
.venv/bin/uv run python mcp_server/stdio_client.py
📖 Detailed Documentation
For comprehensive information about each component:
-
Course Content Agent: See
course_content_agent/about.md- AI-powered course generation
- DSPy signatures and multiprocessing
- Document analysis and learning path creation
-
MCP Educational Server: See
mcp_server/about.md- MCP protocol implementation
- Course interaction tools
- Integration with AI assistants
🔌 MCP Integration with Cursor
To use the educational tutor MCP server with Cursor, create a .cursor/mcp.json file in your project root:
{
"mcpServers": {
"educational-tutor": {
"command": "/path/to/tutor/project/.venv/bin/uv",
"args": [
"--directory",
"/path/to/tutor/project",
"run",
"mcp_server/main.py"
],
"env": {
"COURSE_DIR": "/path/to/tutor/project/course_output"
}
}
}
}
Setup Steps:
- Create a virtual environment:
python -m uv venv - Install dependencies:
.venv/bin/uv pip install -e . - Update the
commandpath and the path inargsto your project directory. - Restart Cursor or reload the window.
- Use
@educational-tutorin Cursor chat to access course tools.
🔧 Development Status
Current Status: ✅ Functional MVP
- Course generation from documentation repositories
- MCP server for standardized content access
- Multi-complexity course creation (beginner/intermediate/advanced)
Future Enhancements:
- Support for diverse content sources (websites, videos)
- Advanced search and recommendation systems
- Integration with popular AI platforms
🛠️ Technology Stack
- AI Framework: DSPy for LLM orchestration
- Content Processing: Multiprocessing for performance
- Protocol: Model Context Protocol (MCP) for standardization
- Models: Gemini 2.5 Flash for content generation
- Data: Pydantic models for type safety
📄 License
This project is experimental and intended for educational and research purposes.
관련 서버
Simple Voice MCP Server
A simple text-to-speech server that plays audio from text, supporting multiple voice models.
Odoo-MCP
Integrate with Odoo ERP systems to manage business data and operations. Requires external configuration for connection parameters.
mocoVoice MCP Server
Transcribe audio and video files using the mocoVoice API, with integration for Claude Desktop.
Adfin
The only platform you need to get paid - all payments in one place, invoicing and accounting reconciliations with Adfin.
MCP Handoff Server
Manages AI agent handoffs with structured documentation and seamless task transitions.
Todoist
Manage tasks and projects on Todoist using natural language.
SS&C Next Generation
Connects AI agents to the SS&C Next Generation REST API to automate business processes.
MCP Sound Tool
A sound tool for MCP-compatible IDEs like Cursor. Plays sounds for events like completion, error, and notification.
Draw.io
Integrates Draw.io's diagramming capabilities with AI agents, enabling programmatic diagram control and analysis.
Strateegia
Integrates with the Strateegia API, allowing AI assistants to access and interact with Strateegia projects.