CurAI
by jpoyarzun
README.md
# CurAI PoC
App mínima: notas de texto e imágenes por usuario, CRUD en la web y desde Claude vía MCP.
## URLs
| Qué | URL |
|-----|-----|
| App (principal) | https://curai-coral.vercel.app |
| App (alias) | https://curai-poc.vercel.app |
| MCP | **https://curai-coral.vercel.app/api/mcp** |
| Consent OAuth | https://curai-coral.vercel.app/oauth/consent |
| Código | https://github.com/jpoyarzun/curai-poc |
## Estado técnico
- Vercel projects: `jpama/curai` (dominio coral) y `jpama/curai-poc`, ambos con el mismo código y env.
- Repo GitHub conectado: builds automáticos desde `main`.
- Supabase proyecto: `curai-poc` (`gvhboflvlsnobthnmwle`) — tablas + RLS + bucket listos.
- Env `NEXT_PUBLIC_*` configuradas como **non-sensitive** (requerido para que Next las inline en el cliente).
## Configuración OAuth en Supabase (manual)
En https://supabase.com/dashboard/project/gvhboflvlsnobthnmwle :
1. Authentication → Providers → Email ON (desactivar Confirm email para el PoC).
2. Authentication → **OAuth Server** → ON.
3. Authorization Path: `https://curai-coral.vercel.app/oauth/consent`
4. **Dynamic Client Registration** → ON.
5. URL Configuration → Site URL: `https://curai-coral.vercel.app`
Redirect URLs: `https://curai-coral.vercel.app/**`, `https://curai-poc.vercel.app/**`, `http://localhost:3000/**`
## Local
```bash
cp .env.example .env.local
# URL: https://gvhboflvlsnobthnmwle.supabase.co
# ANON key del dashboard
# APP_URL=http://localhost:3000
npm install
npm run dev
```
## Claude
Conector personalizado:
- Name: `CurAI`
- URL: `https://curai-coral.vercel.app/api/mcp`
- Client ID/Secret: vacíos
Sin Deployment Protection en Vercel.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessSyncing