# Parcel booking — Complete Documentation (SANDBOX: fake orders and payments) > Quote and book parcels, ending with a payment link. Never takes payment. Public, no sign-in, stateless. ## Endpoints - MCP endpoint (Streamable HTTP, stateless, no auth): https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp - REST API base: https://p2g-mcp-sandbox.dotnethelp.workers.dev/v1 - OpenAPI 3.1 schema: https://p2g-mcp-sandbox.dotnethelp.workers.dev/openapi.json - Live prices (WebMCP-enabled): https://p2g-mcp-sandbox.dotnethelp.workers.dev/prices - Landed duty & tax calculator (WebMCP-enabled): https://p2g-mcp-sandbox.dotnethelp.workers.dev/prices/landed - Health check: https://p2g-mcp-sandbox.dotnethelp.workers.dev/health ## Connect - **Claude (web and desktop)**: Settings -> Connectors -> Add custom connector -> `https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp` (no auth) - **Claude Code**: `claude mcp add --transport http parcel-booking-sandbox https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp` - **Cursor** (`.cursor/mcp.json`): `{"mcpServers":{"parcel-booking-sandbox":{"url":"https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp"}}}` - **VS Code** (`.vscode/mcp.json`): `{"servers":{"parcel-booking-sandbox":{"type":"http","url":"https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp"}}}` - **ChatGPT / OpenAPI clients**: Connect `https://p2g-mcp-sandbox.dotnethelp.workers.dev/mcp` in Developer Mode or import `https://p2g-mcp-sandbox.dotnethelp.workers.dev/openapi.json`. - **MCP Prompt**: `book_a_parcel` (optional args: `from`, `to`, `parcel`). ## Units, Limits, and Safety - **Units**: Money is in integer minor units of the sender's currency (`{minor, currency, display}`), weight in kg, dimensions in cm. Convert lb and inches before calling. - **Rate limits**: ~120 requests/minute per IP on `/mcp`, `/v1/*`, and `/prices*`; 3 orders/minute per IP on `create_order`. Max body size 64 KB. - **Booking safety**: Quotes are indicative; only `validate_order` returns the final price and a signed 30-minute `confirmationToken`. `create_order` re-checks the total before booking and never retries automatically. Payment links (`/pay/{token}`) expire after ~24 hours. - **Never invent data**: Do not fabricate postcodes, tax IDs, EORI, phone numbers, tariff codes, or IOSS numbers to clear validation errors. Ask the user. ## Booking Journey 1. **Get quotes** (`get_quotes`): Send the sender and destination countries and postcodes, and each parcel's weight and size. Show the user a few options. Quotes are indicative. 2. **Check what the service needs** (`get_booking_requirements`): Use the service slug and the from and to codes that get_quotes returned. Ask the user only for the fields it lists as required. 3. **Pick a drop-off shop (drop-off services only)** (`search_drop_shops`): Search the service's drop-off network near the sender, and let the user choose a shop. 4. **Validate the order** (`validate_order`): Send the full order. Fix any issues and validate again. Show the user the total, the breakdown and every warning, and get a clear yes. 5. **Create the order** (`create_order`): Send the confirmationToken from validate_order, once. Give the user the payment link. Nothing is booked until they pay. ### Batching - `get_quotes.moreShipments`: Price up to 10 shipments in one call (one upstream request per sender country). - `validate_order.moreItems`: Put up to 5 shipments on one order, one total, and one payment link (same sender country). ### Same-day delivery (Great Britain only) - Pass `includeSameDay: true` on `get_quotes`. Requires both postcodes in mainland Great Britain. - Priced by distance and vehicle (often £20 to over £1,000), collected the next working day 06:00-19:00 and delivered the same day. - Vehicle limits are checked per parcel: sum total weight and pick the smallest fitting vehicle (motorcycle 5 kg, small van 400 kg, large van 800 kg, extra-large van 1,100 kg). Receiver phone is required. Validate straight before booking. ### Prepaid duty and tax (DDP) - Set `dutyTerms: "ddp"` on `get_quotes` and `customs.dutyTerms: "ddp"` on `validate_order`. Quotes show only the admin fee; full duty and tax appear on `validate_order`. ## Supported Sender Countries | Country | Code | Currency | Drop-off shop search | | --- | --- | --- | --- | | United Kingdom | `GB` | GBP | Yes | Other sender countries may get few or no services. Quotes from India (IN), Thailand (TH), and Vietnam (VN) are international only. ## Browser WebMCP Tools When opened in a Chromium browser with WebMCP enabled (`document.modelContext`), the interactive price pages expose read-only client-side tools alongside declarative `