No signup, no wallet, no funds. Point your MCP client at the hosted testing endpoint (or import the SDK), then run verify → search → book. The sandbox provisions a throwaway wallet and self-signs for you.
Add the hosted server to your MCP client — Streamable HTTP, no install. Your agent gets the toolset automatically.
// testing sandbox (recommended) { "mcpServers": { "booking-layer": { "url": "https://booking-layer.ianb-sia.workers.dev/test/mcp" } } }
A zero-dependency client, imported straight from the URL — no npm install.
import BookingLayer from "https://booking-layer.ianb-sia.workers.dev/sdk/booking-layer.mjs"; const bl = new BookingLayer(); // testing by default await bl.connect();
Three calls. budgetUsdc is the cap per item; you escrow the sum.
await bl.verify({ budgetUsdc:80, kinds:["flight","restaurant"] }) await bl.search({ type:"flight", location:"LHR", destination:"CDG" }) await bl.book({ type:"flight", location:"LHR", destination:"CDG" }) // ← booked ✓ captured from budget · margin refunded