irei-sensei-mcp
Allows the agent to read rows from Google Sheets, intended for accessing spreadsheet data through the Google Sheets API.
Uses Supabase as the backend database with service-role access server-side, including UUID validation for user IDs before database operations.
Enables sending WhatsApp messages to students using only approved templates from a whitelist, preventing free-form messaging and abuse.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Irei Sensei — MCP Admin Agent (esqueleto)
Esqueleto del agente admin. Las herramientas están definidas y validan
input, pero 3 puntos tienen TODO / NotImplementedError porque
dependen de credenciales que aún no configuras:
tools/sheets.py::_leer_filas_sheet— falta la integración real con Google Sheets API (service account).tools/plan_alimenticio.py::generar_pdf_plan— falta el render con WeasyPrint + subida a Storage.Parseo seguro del JSON que devuelve Claude en
generar_plan_alimenticio(por ahora se guarda el texto crudo).
Instalación
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # y llenar con tus credenciales realesRelated MCP server: Student MCP Server
Seguridad (ya aplicado en el esqueleto)
La
service_role_keyde Supabase solo vive en este servidor (variable de entorno), nunca en el frontend.Todo
usuario_idse valida como UUID antes de tocar la DB (_validar_uuid), evitando inyección de valores raros.enviar_whatsappsolo permite plantillas de una lista blanca (PLANTILLAS_PERMITIDAS) — el agente no puede componer texto libre hacia los alumnos, lo que bloquea abuso vía prompt-injection.revisar_vencimientosevita reenvíos duplicados el mismo día.Ningún secreto está hardcodeado;
config.pyfalla rápido si falta una variable de entorno obligatoria.
Pendiente antes de producción
Implementar
_leer_filas_sheet(Google Sheets API).Implementar
generar_pdf_plan(WeasyPrint + Storage).Parsear y validar el JSON de Claude con un schema (ej. Pydantic) antes de guardarlo o convertirlo en PDF.
Crear y aprobar en Meta las 3 plantillas de WhatsApp (
membresia_por_vencer_15,membresia_por_vencer_5,plan_alimenticio_listo).Desplegar en Railway/Render con cron diario para
revisar_vencimientos.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage fitness coaching clients, workouts, programs, chats and funnels from your assistant.
Connect an AI assistant to your Google Sheets, Drive, Docs, PDFs, BigQuery and Gmail.
Your gym in AI answers: listing, classes, bookings, members and your gym's coach.
Access approved FITsociety clients, schedules, bookings and coaching data with AI assistants.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered Slack workspace management with 18+ tools for messaging, channel management, conversation analysis, and real-time bot responses. Features an autonomous AI agent that can plan and execute complex multi-step tasks combining Slack operations with web research.2-
- FlicenseNot gradedqualityDmaintenanceEnables an AI assistant to help students by providing tools for math calculations, attendance tracking, marks analysis, reading PDF notes, searching lecture notes, and checking college regulations.-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with Moodle LMS, fetching assignments, grades, deadlines, course content, and syncing to Obsidian, with WhatsApp alerts and class-slot filtering.-
- FlicenseAqualityCmaintenanceEnables AI agents to manage tutoring workflows by listing students, tracking progress, logging session notes, assigning homework, and generating parent-friendly progress reports through natural language.5-