edumcp
EDUMCP is a protocol that integrates the Model Context Protocol (MCP) with applications in the education field, dedicated to achieving seamless interconnection and interoperability among different AI models, educational applications, smart hardware, and teaching AGENTs.
claude mcp add --transport stdio aieducations-edumcp python -m uvicorn aichildedu.user_service.main:app --reload --port 8001 \ --env MONGODB_DB="EDUMCP" \ --env SECRET_KEY="your_secret_key_change_in_production" \ --env MONGODB_URI="mongodb://mongodb:27017/" \ --env POSTGRES_USER="postgres" \ --env POSTGRES_PASSWORD="postgres"
How to use
EDUMCP is an Educational Model Context Protocol server that exposes a FastAPI-based API gateway and a collection of microservices for educational AI workflows. It enables interoperation between AI tutoring components, content generation modules, quizzes, multi-language resources, and analytics services. You can use the API gateway at http://localhost:8000 to access services such as story generation, quizzes, multimedia content assembly, and user management. The local development setup runs the user service (FastAPI) via Uvicorn, with a PostgreSQL database, MongoDB for storage, and Redis/Elasticsearch for caching and search capabilities. This MCP server structure allows diverse AI models and educational tools to share context, enabling richer and more personalized learning experiences.
Key capabilities include:
- Personalised Story Generation and Educational Content Creation
- Educational Quiz Creation and assessment tooling
- Multimedia Integration (text, images, voice, video) and language localization
- User Management with roles (parent, teacher, admin) and Parental Controls
- Asynchronous processing for long-running AI tasks to improve responsiveness
- A microservice architecture with an API Gateway coordinating dedicated services
To use the tools, start the server (as described in installation) and call the corresponding endpoints under the API Gateway, for example the text/story endpoints and the task management endpoints. The system is designed to allow other educational AI models and applications to connect through standardized MCP contexts, enabling interoperable workflows across tutoring, games, experiments, and content generation modules.
How to install
Prerequisites:
- Docker and Docker Compose (for quick setup)
- Python 3.10 or higher (for local development)
Install and run with Docker (recommended for quick startup):
-
Clone the repository: git clone https://github.com/CHILDEDUAI/aichildedu.git cd aichildedu
-
Start services with Docker Compose: docker-compose up -d
-
API Gateway will be available at: http://localhost:8000
Local development setup (Python/uvicorn):
-
Create and activate a virtual environment: python -m venv venv
On Windows: venv\Scripts\activate
On Unix/macOS: source venv/bin/activate
-
Install dependencies: pip install -r requirements.txt
-
Run the FastAPI/Uvicorn server (user service by default): uvicorn aichildedu.user_service.main:app --reload --port 8001
-
Access the API: API Gateway: http://localhost:8000 User Service: http://localhost:8001
Notes:
- Ensure environment variables for database connections are set (see .env in the project root if provided).
- For production, use a production-ready ASGI server setup and configure TLS/security as appropriate.
Additional notes
Tips and common considerations:
- Ensure PostgreSQL, MongoDB, and Redis are reachable at the configured URIs (adjust in your environment or docker-compose file).
- The SECRET_KEY should be a strong random value in production.
- If you use Docker, you can customize the docker-compose.yml to suit your deployment (scaling, traffic, or resource limits).
- The API Gateway exposes endpoints for story generation, quizzes, content retrieval, and user management; consult the API docs at http://localhost:8000/docs for details.
- If you encounter port conflicts, adjust the --port flag in the uvicorn command or modify docker-compose mappings accordingly.
Related MCP Servers
mcp-agent
Build effective agents using Model Context Protocol and simple workflow patterns
prism-insight
AI-based stock analysis and trading system
droidmind
Control your Android devices with AI using Model Context Protocol
lihil
2X faster ASGI web framework for python, offering high-level development, low-level performance.
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
metatrader
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform