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.
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., "@irei-sensei-mcpCheck which student memberships expire this week and send the 15-day WhatsApp reminder."
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.
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: Slack 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage fitness coaching clients, workouts, programs, chats and funnels from your assistant.
Access approved FITsociety clients, schedules, bookings and coaching data with AI assistants.
WhatsApp AI sales agent on your own number via QR, no Meta API: audit chats, edit playbook, orders.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to seamlessly interact with Google Sheets through secure OAuth 2.0 authentication. Supports reading, searching, updating spreadsheet data, and managing sheets with smart text replacement and batch operations.184 npmMIT
- 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 gradedqualityDmaintenanceProvides AI assistants with access to Google Workspace APIs including Sheets, Calendar, Gmail, Tasks, Drive, and Docs. Enables full CRUD operations and management of Google services through natural language.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Google Sheets through 25 tools and 407 actions, supporting spreadsheet creation, data manipulation, advanced analytics, and enterprise features like safety rails and rate limiting.MIT