Browser integration
A Manifest V3 extension reads only user-visible, user-authorized page data and calls a configurable API origin.
XHS MCP combines a Chrome extension, a cloud API and durable storage into a reproducible reference architecture for collection, analysis and content-draft automation.
Chrome Extension
└─ user-authorized page data
↓ authenticated request
Next.js API · Vercel (sin1)
├─ analysis and generation routes
└─ shared-token middleware
↓ server-side access
Supabase · PostgreSQL + StorageThe repository documents the security boundaries, serverless constraints and Mainland China deployment trade-offs.
A Manifest V3 extension reads only user-visible, user-authorized page data and calls a configurable API origin.
Next.js route handlers keep AI credentials and the Supabase service role on the server, behind shared-token middleware.
PostgreSQL stores structured application state while object storage holds generated media outside ephemeral functions.