Interactive WebMCP Flight Booking Demo
This is a working, interactive WebMCP demo. The page exposes real flight search and booking tools to the agent in your browser, and every tool the agent calls appears in the “What the agent is doing” panel.
For example, you can ask the agent to “find a flight from Tel Aviv to London two weeks from now and book the cheapest one for Jane Doe”.
WebMCP not turned on in your browser yet? The WebMCP guide explains how to turn it on and lists the agents that support it.
Tools in this demo
Every tool in the demo is registered in JavaScript, with the Imperative API:
list_destinationsreturns the destinations and their airport codes.search_flightssearches flights for a route and a date.get_flight_detailsreturns one flight from the results.select_flightselects a flight.book_flightbooks the selected flight.get_booking_statereturns the current booking state.