Catalog id: headless-api · Status: exists · Audience: developer
Banner app for this class: none
- the deliverable is only a backend serving structured content over REST, typed client, and MCP with no site of its own
- one content store feeding web, iOS, Android, and an AI agent via API or MCP
- applied as an overlay when other apps or agents consume a class starter's data purely over API/MCP as a first-class surface
- any human-facing site or custom UI is the primary deliverable — pick the matching class starter first (#3–#14) and apply headless-api as a mode overlay
- an ops team will do all their work inside the canned admin UI — that is #2, admin-only mode
- Seams:
S3,S5 - Matrix stress cells:
Schema & Data,API/MCP,Auth & Actors
- Auth & actors: per-agent actors + token auth
- Rendering: none
- Tenancy: single
- Transports used: REST, typed client, MCP
- Agent contracts used: none (external MCP callers)
In (from catalog: scopeIn)
- one schema served over three transports (REST, typed client, MCP)
- token auth and actor attribution
- S5 contract test suite parity across REST, client, and MCP (with examples/db-sqlite as the TanStack DB companion)
Deliberately out (from catalog: scopeOut)
- canned admin UI
- public HTML rendering
- sample web or mobile frontends
- database
- API token auth
pnpm install
pnpm --filter starter-headless-api devAcceptance instance for seams: S3, S5.
pnpm --filter starter-headless-api test:starterStart from this starter and compose any additional mode overlays (headless-api or admin-only) specified in starters/catalog.json. For full product patterns, see the reference banner apps in app/prm (#10) and app/base (#12).