WebMCP · JavaScript examples
WebMCP JavaScript examples you can run.
Small, independently selectable examples using fictional data. No account access, purchases or messages.
Try a result in one minute
Select a sample below, then run the manual handler or the explicitly enabled tool path. Valid input returns one desk lamp; invalid input is rejected; an empty search is a successful empty result.
Valid sample: lamp, maximum price 50 → lamp-01.
Choose an example
Result and execution path
Choose an example and run it.
Verify what happened
The manual control calls the application handler directly. “Discover and invoke tool” uses getTools and executeTool with the discovered Tool object on the detected API. Polyfill execution is an experiment, not native browser-agent verification.
Choose your next step
Review readiness evidence · Download security test cases · Find current API references