How henryhengabriel-dotcom/comunidad-vida works
Comunidad Vida is a Flask/MySQL contact-registration site with a separate FastMCP server exposing user CRUD tools to Claude. The web flow renders pages and lists contacts, while form submissions are handled by Flask routes and persisted through the ORM. The MCP flow invokes SQL-backed tools through its own session factory. Major web pages and the MCP capabilities are documented in the README; sampled sources confirm route, configuration, and database wiring. Templates and styling are represented at their exact tree paths; their detailed behavior was not sampled.
Main entry points: contacto.py Page and contact routes · app.py Flask application · db_mcp.py MCP database sessions · db.py SQLAlchemy extension
Components 14
Web experience
- Flask application
app.py - Page and contact routes
routes/contacto.py - Home page
templates/home.html - About page
templates/acerca.html - Contact form and list
templates/contactanos.html - Browser interactions
static/js/main.js
Configuration and data
- Flask configuration
config/config.py - SQLAlchemy extension
utils/db.py - User model
models/usuarios.py - MySQL database
MCP integration
- MCP CRUD tools
servidor_mcp.py - MCP database sessions
db_mcp.py
Other components
- Community visitor
- Claude Desktop
Connections 15
- Community visitor → Page and contact routes: requests pages
README.md - Flask application → Page and contact routes: registers routes
app.py - Flask application → Flask configuration: loads config
app.py - Flask application → SQLAlchemy extension: initializes ORM
app.py - Page and contact routes → Home page: renders
routes/contacto.py - Page and contact routes → About page: renders
routes/contacto.py - Page and contact routes → Contact form and list: renders
routes/contacto.py - Page and contact routes → User model: queries and creates
routes/contacto.py - User model → SQLAlchemy extension: defines table with
models/usuarios.py - SQLAlchemy extension → MySQL database: persists records
- Claude Desktop → MCP CRUD tools: invokes tools
README.md - MCP CRUD tools → MCP database sessions: gets sessions
servidor_mcp.py - MCP database sessions → Flask application: reads database config
db_mcp.py - MCP database sessions → MySQL database: opens sessions
- Page and contact routes → Browser interactions: form behavior