Marketplace
Conversational product and menu discovery across independently operated Openfront stores, with carts and checkout kept on each store.
Repository · Product page · Live site
Marketplace is a chat interface for shopping across several independent stores. A buyer asks for something. The app searches the stores in its registry, shows product or menu cards in the chat through MCP UI, and builds a cart on the chosen store.
The marketplace has no database. It does not use Keystone, Prisma, or PostgreSQL. Products, prices, carts, customer accounts, orders, and payments live in the connected stores. The browser keeps chat threads, cart IDs, cart proofs, store session tokens, the store selection, and the AI settings in localStorage.
There are two adapters: openfront (Openfront E-commerce) and openfront-restaurant (Openfront Restaurant). Other platform names fail with an "Unsupported platform" error.
How it works
- The operator lists trusted stores in
marketplace.config.json. Each entry has a derivedid, an HTTPSbaseUrl, and aplatform. - A buyer opens the app and completes the setup dialog: marketplace name, theme, and AI mode (shared key or their own key).
- The buyer chats. The model calls
getAvailableStores, thendiscoverProductsfor retail ordiscoverRestaurantMenusfor food. - Product and cart cards render inside the chat. Buttons in those cards call MCP tools directly, without going through the model.
- Carts, addresses, shipping, and restaurant pickup or delivery details are saved on the store.
- The buyer pays in the chat with Stripe or PayPal (when the store has them set up), or follows a checkout link to the store's own site.
Who owns what
- Operator: the store registry, AI keys, and deployment.
- Buyer: their browser state and, optionally, their own AI key.
- Store: catalog, prices, inventory, carts, accounts, payment sessions, orders, and fulfillment.
The marketplace never holds card details. Stripe and PayPal elements load in the browser with the store's publishable key, and the store creates and completes the payment session.
Related products
Marketplace sits in front of database-backed Openfront products such as Openfront E-commerce and Openfront Restaurant. Openship is a separate operator tool for order routing and fulfillment.
Supported stores
| Platform | Adapter | Store |
|---|---|---|
openfront | adapters/openfront | Openfront E-commerce |
openfront-restaurant | adapters/openfront-restaurant | Openfront Restaurant |