# Living Soil Farms — agent shopping Connect a remote MCP client to https://www.livingsoilhq.com/api/agent/mcp (Streamable HTTP, no login). REST OpenAPI: https://www.livingsoilhq.com/api/agent/openapi Discovery manifest: https://www.livingsoilhq.com/.well-known/agent-commerce.json Live catalog: https://www.livingsoilhq.com/api/agent/products 1. search_products: live variants, prices, images and availability. All amounts INR paise. 2. quote_cart: submit items [{variantId,quantity}] and optional Indian pincode. To edit/add/remove, send the complete desired replacement list. Quotes expire after 15 minutes and do not reserve stock. 3. Show total and https://www.livingsoilhq.com/policies to the buyer. Obtain explicit consent to terms and no returns. 4. create_checkout: supply cartToken, confirmedTotal, customer {name,email,phone,address,address2,city,state,pincode}, consent:true, policyVersion:"2026-11-15", UUID id, cryptographically random 32+ character token. Persist id/token before calling. Retry identical requests using the SAME id/token; changed details require a new checkout. Stock reservations expire after 30 minutes. 5. Checkout returns an UNPAID Cashfree session plus paymentUrl and reference. In an MCP Apps host, call NewCardPaymentTool({paymentSessionId:sessionId,orderId:reference}) after the buyer chooses card, or UpiTool({paymentSessionId:sessionId,paymentApp:"qr"}) for UPI. The official Cashfree Here widget renders inside compatible chat hosts. Buyer enters card details through Cashfree Elements or authorizes UPI. Bank authentication may require user interaction. Other agents can use the SDK session or paymentUrl fallback. Autonomous delegated card/token charging is not exposed. Never send card numbers, CVV, OTP or wallet secrets to merchant tools. 6. order_status with id/token verifies payment and returns shipment tracking. REST: GET /api/agent/order?id=UUID with Authorization: Bearer TOKEN. Report purchased only after status=paid. Tokens and payment links are private; do not publish/log them. Customer account sign-in (optional browser flow): - Guest shopping and the commerce API do not require SMS login. Use account login only for account features requested by the buyer. - Open https://www.livingsoilhq.com/account or choose Sign in with mobile at checkout in the SAME browser session that will continue shopping. A login in the buyer's separate phone/browser does not sign in an agent's cloud browser. - The phone field is name="phone". Complete the human CAPTCHA through a user handoff before requesting a code; do not loop Send code while CAPTCHA is incomplete. - data-login-state="awaiting-code" means the provider accepted a request. It does NOT prove delivery to the phone or that the agent can read the SMS inbox. Ask the buyer to complete the code in the agent browser's secure handoff if SMS access is unavailable. Do not report a delivery failure merely because an inbox cannot be read. - The current unbranded MSG91 SMS uses sender CInfoS and text mentioning InfoT Portal / Team CPaaS Info; do not assume the code is absent because the message does not mention Living Soil Farms. Only use the code for the buyer-initiated login request. - The verification field is a single, labelled input name="otp", autocomplete="one-time-code". It accepts six digits, including leading zeroes, or pasted text. Submit using Verify and sign in. A full six-digit value is required; do not use fixed/test codes. - Keep the page open if an SMS is delayed; a late provider acknowledgement opens the code field. If a code has arrived, use it in the existing request before considering a resend. Respect the displayed 60-second resend cooldown. - Never log OTPs, extract session cookies, or send login OTPs to commerce/payment tools. After verification, continue in that browser; the HttpOnly customer session is managed by the website. CAPTCHA, rate limits and server verification apply equally to agents. Delivery: India only, prepaid, shipping included; PIN serviceability checked at checkout. Maximum 10 per variant, 5 distinct variants. Stock and prices are validated server-side. No account or website browsing required for discovery, cart, delivery quote, checkout creation or order status. Payment handoff may still be required. Native HTTP callers omit Origin; cross-origin browser requests are rejected. Rate limits: 5 checkout attempts/minute/IP, 20 read/quote requests/minute/IP. Retry 429 after one minute. Do not create orders just to test discovery.