105 lines
4.5 KiB
Markdown
105 lines
4.5 KiB
Markdown
# SquareMCP — Video Production & LinkedIn Launch
|
||
**Date:** 2026-05-11
|
||
**Session agent:** Claude Sonnet 4.6 (claude-code)
|
||
**Repo:** `hermes-mcp` — branch `main`, pushed to origin
|
||
|
||
---
|
||
|
||
## What was done
|
||
|
||
### 1. Remotion video project scaffolded
|
||
- Created `videos/remotion-demo/` using `npx create-video@latest --blank --no-tailwind`
|
||
- Installed `@remotion/google-fonts` for Inter font
|
||
- `.gitignore` updated to exclude `videos/remotion-demo/node_modules` and `videos/remotion-demo/out`
|
||
|
||
### 2. Brand tokens extracted
|
||
- Logo fetched from `https://squaremcp.com/squaremcp-logo.svg` → saved to `public/`
|
||
- Gradient colors from SVG: `#7DB6FF` (light blue) → `#0E63F6` (electric blue)
|
||
- Dark background: `#09090f`, card surfaces: `#12121f`
|
||
- All tokens centralised in `src/styles.ts`
|
||
|
||
### 3. SquareMCPLinkedIn composition — 90s, 1080×1080
|
||
Six scenes, all spring-animated (`spring()` from Remotion, no CSS transitions):
|
||
|
||
| Scene | Duration | Content |
|
||
|---|---|---|
|
||
| 1 — Hook | 0–4s | "Your AI agent is powerful. / But can it safely touch your internal tools?" |
|
||
| 2 — Problem | 4–14s | 3 red warning cards: No access controls, No audit logs, No revocation |
|
||
| 3 — Solution | 14–22s | Logo scale reveal + SquareMCP name + tagline |
|
||
| 4 — Architecture | 22–55s | Animated 3-layer diagram: AI Agent → SquareMCP (auth/perms/audit/revocation) → Internal Tools |
|
||
| 5 — Benefits | 55–75s | 3 benefit cards with SVG icons, slide-in from right |
|
||
| 6 — CTA | 75–90s | Logo with pulsing blue glow + squaremcp.com |
|
||
|
||
Rendered: `out/squaremcp-linkedin.mp4` (5.2 MB, h264)
|
||
|
||
### 4. SquareMCPHeroLoop composition — 30s, 1920×1080 (seamless loop)
|
||
Three layered scenes cross-fading over a persistent node network:
|
||
|
||
| Window | Content |
|
||
|---|---|
|
||
| 0–30s (always) | 30-node SVG network, sin-wave pulse with periods 90 & 180 (both divide into 900 frames → seamless) |
|
||
| 8–18s overlay | SquareMCP 3-layer MCP diagram with animated audit lines + shield pulse |
|
||
| 18–26s overlay | Logo + "SquareMCP" wordmark + tagline fade-in over network |
|
||
| 26–30s | Overlays fade out, returns to pure network — loop point |
|
||
|
||
Rendered: `out/squaremcp-hero-loop.mp4` (9.5 MB, h264)
|
||
|
||
### 5. LinkedIn post published
|
||
Text-only post (video upload not yet supported by hermes-mcp LinkedIn tool):
|
||
- **URL:** https://www.linkedin.com/feed/update/urn:li:share:7459626744959025153
|
||
- Post ID: `urn:li:share:7459626744959025153`
|
||
- Visibility: PUBLIC
|
||
|
||
### 6. LinkedIn video upload plan created
|
||
No video-with-post support exists yet in hermes-mcp. Designed a 2-plan phase:
|
||
|
||
**`.planning/phases/01-linkedin-video-upload/01-01-PLAN.md`** — Client layer
|
||
- `uploadVideo()`: download → LinkedIn Videos API init → 4MB chunk PUT (ETag collection) → finalize → poll until AVAILABLE
|
||
- `createVideoPost()`: calls uploadVideo, publishes via `POST /rest/posts` (reads post ID from `x-restli-id` header)
|
||
|
||
**`.planning/phases/01-linkedin-video-upload/01-02-PLAN.md`** — Tool + Route wiring
|
||
- `linkedin_upload_video` MCP tool added to `src/tools.ts`
|
||
- `POST /api/linkedin/video` REST route added to `src/index.ts`
|
||
- Checkpoint: human verify real video post on LinkedIn
|
||
|
||
### 7. Git commits pushed to main
|
||
|
||
| Commit | Description |
|
||
|---|---|
|
||
| `0b9d863` | docs: create LinkedIn video upload phase plan |
|
||
| `e599431` | feat: add Remotion video project + SquareMCP brand compositions |
|
||
|
||
---
|
||
|
||
## Files created / modified
|
||
|
||
```
|
||
videos/remotion-demo/ ← new Remotion project (self-contained)
|
||
src/styles.ts ← brand tokens
|
||
src/Root.tsx ← both compositions registered
|
||
src/SquareMCPLinkedIn.tsx
|
||
src/SquareMCPHeroLoop.tsx
|
||
src/scenes/Scene1Hook.tsx ← through Scene6CTA.tsx
|
||
src/scenes/HeroNetwork.tsx
|
||
src/scenes/HeroMCPLayer.tsx
|
||
src/scenes/HeroLogoReveal.tsx
|
||
public/squaremcp-logo.svg
|
||
out/squaremcp-linkedin.mp4 ← gitignored
|
||
out/squaremcp-hero-loop.mp4 ← gitignored
|
||
|
||
.gitignore ← added videos/remotion-demo/node_modules and out/
|
||
.planning/phases/01-linkedin-video-upload/
|
||
01-01-PLAN.md
|
||
01-02-PLAN.md
|
||
```
|
||
|
||
---
|
||
|
||
## Next steps
|
||
|
||
1. **Manually attach video to LinkedIn post** — go to https://www.linkedin.com/feed/update/urn:li:share:7459626744959025153 and edit to attach `out/squaremcp-linkedin.mp4` until video upload is implemented
|
||
2. **Execute video upload plan** — `/gsd:execute-plan .planning/phases/01-linkedin-video-upload/01-01-PLAN.md`
|
||
3. **Use hero loop** — host `out/squaremcp-hero-loop.mp4` and embed as autoplay hero on squaremcp.com
|
||
4. **Studio** — `cd videos/remotion-demo && npm run dev` → http://localhost:3000
|
||
|