Student Registration MCP Server
by MaizaAymen
README.md
# Student Registration System
This project implements a Student Registration System with:
- **FastAPI Backend**: Manages student data
- **MCP Server**: Exposes tools for AI integration
- **AI Assistant**: Handles natural language commands
## Features
- Register new students with validation
- List all registered students
- Get specific student by ID
- Duplicate email detection
- Data validation
## Setup
1. Install dependencies:
```bash
pip install fastapi uvicorn pydantic mcp
```
2. Run the FastAPI backend:
```bash
python backend.py
```
3. Run the MCP server:
```bash
python mcp_server.py
```
## Usage Examples
**Register a student:**
> "Register student John Doe, email john@example.com, password 1234, role student, phone 123456, bio loves AI, specialite Computer Science, ville Tunis."
**List all students:**
> "List all students."
**Get a specific student:**
> "Get student with ID 1."
## Student Fields
- `id`: Unique identifier (integer)
- `nom`: Last name (string)
- `prenom`: First name (string)
- `email`: Email address (string, must be unique)
- `mdp`: Password (string)
- `role`: Role (string, e.g., "student", "admin")
- `phone`: Phone number (string)
- `bio`: Biography (string)
- `specialite`: Specialization/Major (string)
- `ville`: City (string)
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues