Skip to main content
Glama
MaizaAymen

Student Registration MCP Server

by MaizaAymen

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

Related MCP server: py-mcp-students

Setup

  1. Install dependencies:

pip install fastapi uvicorn pydantic mcp
  1. Run the FastAPI backend:

python backend.py
  1. Run the MCP server:

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)

Related MCP Connectors

Related MCP Servers