Skip to main content
Glama

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:

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)

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaizaAymen/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server