B2C Storefront
The B2C storefront MCP server supports guest shopping flows — no customer login required. AI agents can search your product catalog, build a cart, and generate a checkout link on behalf of any shopper.
Example prompts
- “Find Nike running shoes size 10 that are under $120.”
- “Show me the top 5 bestsellers in ‘Hoodies’.”
- “I’m ready to check out.”
Tools
search_products
Search the storefront product catalog by keyword. Supports cursor-based pagination for browsing large result sets.
Returns a list of matching products including name, description, and available options. When nextCursor is null, there are no more results.
get_product_details
Fetch variants and images for a specific product by ID. Use this after search_products to retrieve the information needed before adding an item to the cart.
Returns product images and available variants with SKUs.
add_item_to_cart
Add a product to the cart. If no cart exists in the current session, one is created automatically.
Returns the updated cart.
update_cart_item
Change the quantity, variant, or options for an existing line item in the cart.
Returns the updated cart.
remove_item_from_cart
Remove a line item completely from the cart. To reduce quantity without removing the item, use update_cart_item instead.
Returns the updated cart.
create_checkout_url
Generate a checkout URL for the cart in the current session. Requires a cart to exist.
No inputs required.
Returns checkoutURL — redirect the shopper to this URL to complete their purchase.
Coming next
customer_login— authenticate shoppers to unlock personalized pricing, order history, and account features
Typical flow
Search for products
Call search_products with a keyword to find matching items. Use cursor to paginate through large result sets.
Get product details
Call get_product_details with the product ID. If the product has options (size, color, etc.), prompt the shopper to choose before proceeding.
Add to cart
Call add_item_to_cart with the selected product, variant, and quantity. A cart is created automatically if one does not already exist.
Example
Here is search_products in action inside Claude, searching a sample store for products related to coffee.

