Hosted platform apps
These fourapps/ services are proprietary, monorepo-hosted surfaces in the Better Data stack. They sit next to — but are not the same as — the OSS packages published from Commerce Gateway and Loop Engine.
For gateway-console and a focused comparison of Registry MCP vs hosted commerce MCP, see MCP surfaces first. This page adds the Loop Engine pair (hosted-loops, registry-loop) and places all four on one map.
At a glance
One line each
-
hosted-gateway-mcp— Serves tenant-scoped commerce MCP tools built from@commercegateway/commerce-gateway; org resolution and tooling are still evolving (e.g.demo-keystub paths in source). Not registry discovery. -
registry-mcp-server— The hosted Registry MCP app: same discovery story as the OSS@commercegateway/registry-mcppackage, delivered as a deployable Next.js route. Operators wireREGISTRY_URL/ keys per deploy notes (e.g.apps/registry-mcp-server/DEPLOY.mdin the monorepo). -
hosted-loops— The service boundary for governed workflows: starts, transitions, cancellations, and audit-loop events for tenant workloads; external callers use signed JWTs and must not write the loops DB except through this API. Aligns with Hosted Loop Engine and Loops product narrative. -
registry-loop— Catalog only: stores loop IDs, semver-style versions, JSON definitions, manifests, and integrity metadata (seeregistry_loops/registry_loop_versionsin Prisma). Consumed when a runtime needs a pinned, published definition — distinct from executing an instance in hosted-loops.
How the four fit together
- Discovery vs execution (MCP): registry-mcp-server answers “which gateway / merchant?”; hosted-gateway-mcp answers “run the tool session for this tenant.” Same split as in MCP surfaces.
- Catalog vs runtime (loops): registry-loop is the definition store (what shipped, which version, integrity). hosted-loops is the runtime plane (state, guards, evidence, events). Product-level context: Loops.
HTTP surface (hosted-gateway-mcp)
Fromapps/hosted-gateway-mcp/src/index.ts (monorepo truth):
Implementation detail pending verification: mapping from
demo-key to production org resolution / non-demo keys.
Monorepo paths
Related
- SCM workspace (apps/scm) — tenant CCO app; SCM vs DCM split and billing
- MCP surfaces — gateway-console, Registry MCP, hosted gateway MCP (canonical MCP comparison)
- Commerce Agent pattern (C9) — discover → execute → govern
- Loops — governed workflows and hosted runtime overview
- MCP Tool Reference