Workers + Static Assets
One deployment serves the storefront and powers its API and stateless MCP server at the edge.
An interactive storefront and agent-accessible commerce demo on Cloudflare. Here's what powers each experience—and where the sandbox stops.
One deployment serves the storefront and powers its API and stateless MCP server at the edge.
D1 is the source of truth for products, pricing, and demo orders. R2 holds product search documents and labeled AI-generated room concepts.
The Worker creates width-specific WebP variants from illustrative source photography and caches the result at the edge.
Managed indexing of product documents in R2 powers natural-language queries. Every result is rehydrated from D1 for current facts.
A vision model describes illustrative photo mood, while catalog dimensions supply size labels. Other models draft descriptions and create separately labeled room concepts—not replacement product photos.
An embedded Stream player demonstrates adaptive video delivery. The video shown is a Cloudflare sample, not furniture footage.
The Streamable HTTP MCP endpoint at /mcp lets an agent discover products, check current prices, quote a cart, and—with explicit approval—create a sandbox order.
No payment details or personal information are collected. No money changes hands. Orders are not fulfilled.
Connect an MCP client to https://ecommerce.agreatorganization.com/mcp. This protocol endpoint expects MCP requests rather than a browser GET.
Native Worker tracing captures platform calls and custom spans for discovery, quotes, checkout, media, and MCP. Structured logs omit raw search text and credentials; query strings are redacted.
The existing zone-level HTTP request dataset is queryable in Log Explorer. It retains its original zone-wide field selection and filter, separate from the Worker traces dashboard.
The dedicated R2 bucket has Basin Catalog enabled. The native Logpush-to-Basin connection and Iceberg table are not yet configured; raw Logpush JSON cannot be queried directly with Basin SQL.
Search: /api/search?q=cozy%20chair shows catalog.search around managed search and D1 reads. Only query length, provider, and result count are annotated.
Images: /media/solstice-sofa?w=640 shows media.delivery → product lookup → cache hit or miss → image source and optimization when uncached.
Agent: an MCP tool call to /mcp shows mcp.request and a named tool span; approved demo orders include item count and idempotency, never payment details.
Find them in Workers Observability under the forma-furniture-store Worker. Traces are sampled at 25%; repeat an example request if needed. Admin-only image and description generation adds its own AI spans.
Catalog, server-side quotes, idempotent sandbox orders, resized images, Stream sample playback, AI Search, admin-only AI generation, and privacy-conscious Worker traces and logs.
Connect a payment provider, customer OAuth for MCP, verified webhooks, taxes, inventory reservations, fulfillment, licensed product imagery, and operational fraud controls. None are claimed here.
Cloudflare Queues for background processing, AI Gateway for inference visibility, Turnstile for forms, and completing the native Logpush-to-Basin connection.