Threshold
सत्यापित स्वतंत्र अवकाश किराये की सीधे मेज़बानों से खोजें और बुक करें, बिना किसी अतिथि शुल्क के।
होस्ट किया गया MCP सर्वर
npx add-mcp 'https://threshold.rentals/api/mcp'Claude Code, Codex, Cursor और अन्य में इंस्टॉल होता है
दस्तावेज़
MCP
Add this remote MCP server to Claude, ChatGPT or any MCP client (step-by-step for travelers):
https://threshold.rentals/api/mcp
Tools: search_stays, get_property, check_availability, get_quote, request_booking, get_booking, get_messages, send_message, cancel_booking, ask_host. Send Authorization: Bearer <any stable token> to keep your bookings tied to your agent.
Server card: /api/mcp/server-card (also at /.well-known/mcp/server-card.json, and listed in /.well-known/ai-catalog.json).
REST API
Full description for agent frameworks, custom GPT actions and code generators: https://threshold.rentals/openapi.json (OpenAPI 3.1). The property record's JSON Schema is at /schemas/property.schema.json.
GET https://threshold.rentals/api/v1/search?place=Asheville,NC&check_in=2026-10-09&check_out=2026-10-12&adults=2&pets=1&amenities=hot_tub
GET https://threshold.rentals/api/v1/properties/{id}
GET https://threshold.rentals/api/v1/properties/{id}/availability?from=…&to=…
POST https://threshold.rentals/api/v1/properties/{id}/quotes {check_in, check_out, party}
POST https://threshold.rentals/api/v1/booking_requests {quote_id, buyer, house_rules_accepted, special_requests}
GET https://threshold.rentals/api/v1/bookings/{id}
GET https://threshold.rentals/api/v1/bookings/{id}/messages (POST {body} to message the host)
GET https://threshold.rentals/api/v1/bookings/{id}/cancellation_preview
POST https://threshold.rentals/api/v1/bookings/{id}/cancel {expected_refund}
POST https://threshold.rentals/api/v1/properties/{id}/questions {question}
GET https://threshold.rentals/api/v1/events
GET https://threshold.rentals/.well-known/jwks.json
Money is in cents. Search is cached; a quote re-reads the host's calendars and is the only binding price. Errors are application/problem+json with a stable code. Requests are rate limited per IP and per agent token (for example 60 searches and 30 quotes a minute, 10 booking requests an hour); over the limit you get 429 with a Retry-After header. A guest can have at most 3 unconfirmed booking requests open at once.
How booking works
Check each quote's booking_mode. With instant, the booking is confirmed as soon as the guest pays. With host_confirms, it's a request the host accepts or declines within the listing's response window (1–24 hours). Check each quote's payment object. When collected_by is threshold, request_booking returns a payment_url: the guest opens it and adds a card on a secure Stripe page, and only then does the request reach the host. The card is authorized and charged only if the host accepts, or, with plan: pay_later, charged on charge_date. Agents never handle card details. On the REST API (not over MCP), agents with a wallet that issues Stripe shared payment tokens (such as Stripe's Link agent wallet) can skip the page: when the response includes agent_payment, POST to its url, answer the 402 challenge (Machine Payments Protocol, method stripe) with a token for its network_id, and the hold is placed once the guest approves in their wallet. When collected_by is host, the host arranges payment after accepting. Tell guests plainly which applies, and show them the quote's house rules before setting house_rules_accepted.