# 2026-02-07 Memory

## Engage Project (Project Management Dashboard)

**Location:** `/mnt/work/dev/engage/`

### What It Is
- Project management dashboard for Jake & Nicholai's agency
- Tracks clients, delegates work, hits deadlines, sends notifications
- Kanban board with drag & drop (@hello-pangea/dnd)
- MCP server for Claude to manage tasks directly

### Team
- Nicholai, Jake (now)
- Reed (later)
- Arty (mortgage projects only)
- Jake's Discord: 938238002528911400, phone: 914-500-9208

### Deployment Status
**Dashboard (Cloudflare Pages):**
- Project: `engage-dashboard`
- URLs: `engage-dashboard-1m6.pages.dev`, `engage.nicholai.work`
- Account: `a19f770b9be1b20e78b8d25bdcfd3bbd` (nicholaivogelfilms@gmail.com)
- Build: `@cloudflare/next-on-pages` (NOT opennext - that had WASM issues)
- **BLOCKER:** Needs `nodejs_compat` flag set in dashboard > settings > functions

**MCP Worker:**
- URL: `https://engage-mcp.nicholai-d28.workers.dev/mcp`
- KV namespace: `ENGAGE_KV` (ID: `bfdede4414c84ecfbaf15905889fd87d`)
- 11 tools: list_tasks, create_task, update_task_status, delete_task, list_clients, create_client, update_client_status, get_stats, list_calls, schedule_call, complete_call
- **Note:** Deployed to WRONG account initially (d286084f3659ce5267adb06738c9c40b) - may need redeployment

### Build Commands
```bash
cd /mnt/work/dev/engage
bun run build:cf  # builds with @cloudflare/next-on-pages
bun run deploy    # builds + deploys to pages
bun dev           # local dev (localhost:3000)
bun run mcp:remote  # MCP server on localhost:3001
```

### Key Files
- Dashboard data: `/mnt/work/dev/engage/data/db.json`
- MCP server: `/mnt/work/dev/engage/mcp/server.ts`
- Workers MCP: `/mnt/work/dev/engage/workers/`

### Technical Notes
- Next.js 16.1.6 with React 19
- OpenNext/Cloudflare had issues (cloudflare/images.js missing, WASM bundling errors)
- Switched to @cloudflare/next-on-pages which works but needs nodejs_compat
- File-based JSON persistence for now, migrate to D1 later
- Discord for notifications (Buba/BlueBubbles unstable)

### Cloudflare Accounts
- `a19f770b9be1b20e78b8d25bdcfd3bbd` - Nicholaivogelfilms@gmail.com (correct for nicholai.work)
- `d286084f3659ce5267adb06738c9c40b` - Nicholai@biohazardvfx.com (biohazard stuff)
