Files
conversation-history/SquareMCP/2026-05-13-build-ready.md
T

163 lines
6.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SquareMCP — Build Ready Brief
**Date:** 2026-05-13
**Status:** Ready to deploy first users + build chat UI
> This note captures everything from today's session. Pick up from here next time.
---
## What's Been Validated Today
### User Interview — Mortgage Broker (called 2026-05-13)
> "I send out lots of emails and social media, it burns my time, and I get little response.
> I want a way to push out information and videos and monitor my email and respond with
> appropriate answers and questions."
Three things confirmed unprompted:
1. **Outbound pain** — posting burns time, low return
2. **Inbound need** — monitor email, draft appropriate responses
3. **Video is first-class** — not just text posts
The product in one sentence:
> **An AI that manages your entire business communications loop — drafts and posts your content, monitors your inbox, and drafts your replies — so you can focus on closing deals.**
---
## What's Already Built (Backend — Ready Now)
| Feature | Status |
|---|---|
| Multi-tenant auth (signup/login/JWT/API key) | ✅ Live at app.squaremcp.com |
| Per-customer AES-256-GCM credential storage (Redis) | ✅ Done |
| LinkedIn posts + video upload | ✅ Done |
| Facebook page posts / photo / video | ✅ Done |
| Instagram posts + reels | ✅ Done (credentials need K8s deploy) |
| Twitter/X tweets | ✅ Done |
| TikTok video publish | ✅ Done (app review pending) |
| WhatsApp send/template | ✅ Done |
| Telegram send | ✅ Done |
| Discord send | ✅ Done |
| Email outbound (SMTP — 7 accounts) | ✅ Done |
| **Email inbound monitoring (IMAP)** | ✅ Done — needs to be wired as core feature |
| Usage tracking + invoicing | ✅ Done |
| Admin panel | ✅ Done |
| Marketing site squaremcp.com | ✅ Live |
---
## What Needs to Be Built (Chat UI — Sprint Now)
### The Product Loop
```
OUTBOUND:
User opens chat → sees 5 vertical prompt chips →
types or taps → Claude generates per-platform variants →
user approves → posts to LinkedIn / Facebook / Instagram / Email / etc.
INBOUND:
Email arrives in inbox → system monitors via IMAP →
Claude reads context → drafts reply →
user sees draft in UI → approves → sends via SMTP
```
### Mortgage Broker Prompt Chips (v1)
- "Rate update post"
- "New listing announcement"
- "Client testimonial"
- "Market commentary"
- "Refinance education"
### Platform Specs for Content Generation
| Platform | Length | Format | Notes |
|---|---|---|---|
| LinkedIn | 800–1300 chars | Paragraphs | Text only for initial post |
| Facebook | 150–400 chars | Conversational | Text + optional image URL |
| Instagram | 138–150 chars | Caption + hashtags | User provides image URL in v1 |
| Email | 200–400 chars | Subject + body | Via SMTP — works independently of password reset gap |
### Database Tables Needed
- `drafts` (user_id, session_id, platform, draft_text, status: pending/approved/rejected, scheduled_at, error_message)
- `user_content_examples` (user_id, platform, prompt_input, approved_output, created_at) — for vertical learning
- `inbound_emails` (user_id, from, subject, body, received_at, draft_reply, status)
### Autonomous Mode (v1 unlock)
- After 10 approved posts → settings toggle appears: "Auto-post without review"
- Track `approved_post_count` in `users` table
- Background job (setTimeout/setInterval worker in Node.js for v1)
- Toggle can be disabled at any time; queued posts cancelled on disable
---
## Blocking Items Before First User Goes Live
| Blocker | Fix | Effort |
|---|---|---|
| SMTP password reset not wired | Wire smtp.ts to password reset flow | ~2 hrs |
| Instagram credentials not in K8s | kubectl secret create or deploy | ~30 min |
| squaremcp.com hero copy | Change to "AI that posts for you" not "MCP gateway" | ~1 hr |
| Chat UI doesn't exist yet | Build it (see above) | Main sprint |
| MCP session → customer threading | Launch in single-tenant mode for now | Already decided |
---
## First Users — Give Go-Ahead Now
Both users are waiting. Backend handles them today.
- **Mortgage broker** — sign up at app.squaremcp.com, connect LinkedIn + Facebook + Email
- **Book/magazine publisher** — sign up, connect their platforms
Even before the chat UI exists, they can use the existing dashboard to connect accounts.
The chat interface is what turns it from "connected" to "actually using it."
---
## YC Application — Status
Full draft answers saved at:
- **Repo:** `hermes-mcp/product/YC_APPLICATION_ANSWERS.md`
- **Vault:** `SquareMCP/2026-05-13-yc-application-draft.md`
### Key answers drafted
- Company description (50 chars): "AI agent for your business communications"
- What you're building: full paragraph ✅
- How far along: full paragraph ✅
- Tech stack: complete ✅
- Why this idea / domain expertise: **updated with mortgage broker quote** ✅
- Competitors: Buffer/Hootsuite + Composio/Kong ✅
- Revenue model: $199–$100k tiers + $0.05/action metering ✅
### Still needed for YC app
- [ ] Work history / resume (found in local Obsidian — not yet extracted)
- [ ] Re-record video with updated story: lead with mortgage broker quote
- [ ] Change company name on form from "Herons LLC" to "SquareMCP"
- [ ] Update squaremcp.com hero before reviewer visits
### The mortgage broker quote to use in the video
> "Before I finished explaining it, he said: 'I send out lots of emails and social media,
> it burns my time, and I get little response. I want to push out information and videos
> and monitor my email and respond with appropriate answers.' He described the exact
> product I built, unprompted."
---
## Design Doc Location
Full approved design doc (chat-first architecture, platform specs, DB schema, autonomous mode):
`~/.gstack/projects/garfield-hermes-mcp/garfieldheron-main-design-20260513-105353.md`
Run `/plan-eng-review` to lock in the full architecture before building the chat UI.
---
## Next Session Priorities (in order)
1. **Give mortgage broker go-ahead to sign up** — this week, not next week
2. **Fix SMTP password reset** (~2 hrs) — blocks account recovery
3. **Deploy Instagram credentials to K8s** (~30 min)
4. **Update squaremcp.com hero copy** (~1 hr)
5. **Build chat UI** — guided onboarding + prompt chips + draft/approve + per-platform variants
6. **Wire IMAP email monitoring into the chat UI** — inbound drafts as first-class feature
7. **Complete YC application** — extract work history from resume, re-record video