Students Architecture MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Students Architecture MCP Serverlist all students"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Students Architecture
Example project that implements a REST API and an MCP interface to manage students.
Author: MsC Felipe Buitrago Carmona
Affiliation: Department of Systems and Informatics, Faculty of Artificial Intelligence and Engineering, University of Caldas
Description:
Layered architecture:
presentation(REST + MCP),business(service),data(repositories),models(DTOs and entities).Supports JSON and SQLite persistence with dynamic selection via
.env.
Requirements
Python 3.12+ (virtual environment recommended)
Dependencies listed in
requirements.txt.
Quick Installation
Create and activate a virtualenv:
python -m venv venv
& venv\Scripts\Activate.ps1Install dependencies:
pip install -r requirements.txtConfiguration (.env)
Copy or create a
.envfile in the root with values such as:
FASTMCP_STATELESS_HTTP=true
REPO_TYPE=json # o sqlite
JSON_PATH=students.json
SQLITE_PATH=students.db
API_PORT=5000
MCP_PORT=9000Changing REPO_TYPE between json and sqlite selects the persistence implementation.
Note: after changing .env restart the server so the repository factory reads it.
Run REST API (development)
venv\Scripts\python.exe -m uvicorn main_api_rest_server:app --reload --port 5000Run MCP server
venv\Scripts\python.exe main_mcp_server.pyMain routes (REST)
GET /students— list studentsPOST /students— create studentGET /students/{id}— get studentPUT /students/{id}— updateDELETE /students/{id}— delete
curl example to create a student:
curl -X POST http://localhost:5000/students -H "Content-Type: application/json" -d '{"name":"Ana","email":"ana@example.com","age":21,"career":"Ingenieria","semester":4}'Useful notes
If you use a debugger (e.g., PyCharm) and see a
TypeErrorrelated toloop_factory, the startup contains a compatibility forasyncio.runinmain_api_rest_server.py.Pydantic shows a warning if you use
orm_modewith v2; it is recommended to usefrom_attributeswhen migrating to Pydantic v2.
Claude Desktop Configuration
Install Claude Desktop, then go to the bottom left, where the username appears, then the Settings section, then the Developer section, Edit Config, and paste the following JSON.
{
"mcpServers": {
"students_architecture": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:9000/mcp",
"--allow-http"
],
"env": {
"MCP_TRANSPORT_STRATEGY": "http-only"
}
}
},
"preferences": {
"coworkScheduledTasksEnabled": false,
"sidebarMode": "chat",
"coworkWebSearchEnabled": true,
"ccdScheduledTasksEnabled": false
}
}Contact MsC Felipe Buitrago Carmona felipe.buitrago@ucaldas.edu.co Department of Systems and Informatics University of Caldas
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables users to manage data in a simple JSON file database through MCP tools and REST API. Supports creating, reading, updating, and deleting items organized in collections with auto-generated UUIDs.-
- AlicenseNot gradedqualityCmaintenanceAI-powered Teacher Assistance MCP Server for managing student records with PostgreSQL, enabling create and read operations via MCP tools.MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to manage student records through natural language by wrapping a simple HTTP student server's endpoints as MCP tools.-
- FlicenseNot gradedqualityBmaintenanceMCP server for student management with CRUD operations, supporting user authentication and student record management.-