Deterministic local test page

WebMCP Cart Lab

A visible cart with read-only and mutating tools for validating discovery, approval, execution, and dynamic toolchange handling.

Detecting WebMCP…

The page is checking the browser API.

Manual controls remain visible

Catalog

Visible tool result

Cart

Items 0 Total $0.00

Expected discovery

Registered tools

Use “Expose discount tool” to register apply_discount dynamically.