Students Architecture MCP Server
학생 아키텍처
학생 관리를 위한 REST API 및 MCP 인터페이스를 구현하는 예제 프로젝트입니다.
저자: MsC Felipe Buitrago Carmona
소속: 칼다스 대학교(Universidad de Caldas), 인공지능 및 공학 학부, 시스템 및 정보학과
설명:
계층형 아키텍처:
presentation(REST + MCP),business(서비스),data(리포지토리),models(DTO 및 엔티티).JSON 및 SQLite 지속성을 지원하며
.env를 통해 동적으로 선택 가능합니다.
요구 사항
Python 3.12+ (가상 환경 권장)
requirements.txt에 나열된 종속성.
빠른 설치
가상 환경 생성 및 활성화:
python -m venv venv
& venv\Scripts\Activate.ps1종속성 설치:
pip install -r requirements.txt구성 (.env)
루트 디렉토리에
.env파일을 복사하거나 생성하고 다음과 같은 값을 설정합니다:
FASTMCP_STATELESS_HTTP=true
REPO_TYPE=json # o sqlite
JSON_PATH=students.json
SQLITE_PATH=students.db
API_PORT=5000
MCP_PORT=9000REPO_TYPE을 json과 sqlite 사이에서 변경하여 지속성 구현을 선택합니다.
참고: .env를 변경한 후에는 리포지토리 팩토리가 이를 읽을 수 있도록 서버를 재시작하십시오.
REST API 실행 (개발용)
venv\Scripts\python.exe -m uvicorn main_api_rest_server:app --reload --port 5000MCP 서버 실행
venv\Scripts\python.exe main_mcp_server.py주요 경로 (REST)
GET /students— 학생 목록 조회POST /students— 학생 생성GET /students/{id}— 학생 정보 조회PUT /students/{id}— 업데이트DELETE /students/{id}— 삭제
학생 생성을 위한 curl 예제:
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}'유용한 참고 사항
디버거(예: PyCharm)를 사용 중이고
loop_factory와 관련된TypeError가 발생하면,main_api_rest_server.py에asyncio.run에 대한 호환성 코드가 포함되어 있습니다.Pydantic v2에서
orm_mode를 사용하면 경고가 표시됩니다. Pydantic v2로 마이그레이션할 때는from_attributes를 사용하는 것이 좋습니다.
Claude Desktop 구성
Claude Desktop을 설치한 후, 왼쪽 하단 사용자 이름이 표시되는 곳으로 이동하여 설정(Configuración), 개발자(Desarrollador), 구성 편집(Editar Configuración) 섹션으로 이동한 다음 아래 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
}
}연락처 MsC Felipe Buitrago Carmona felipe.buitrago@ucaldas.edu.co 시스템 및 정보학과 칼다스 대학교(Universidad de Caldas)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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 gradedqualityBmaintenanceAI-powered Teacher Assistance MCP Server for managing student records with PostgreSQL, enabling create and read operations via MCP tools.MIT
- FlicenseNot gradedqualityCmaintenanceEnables 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.
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Public read-only MCP HTTP gateway for the Solapur software developers registry.
MCP server for the Inistate platform: module discovery, entry management, and activity submission.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/CesarRL23/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server