Travaso

Hotel booking MCP for AI agents

Travaso’s Model Context Protocol (MCP) server gives an AI agent tools to search live hotel rates, send the traveler a hosted card checkout link, and check booking status.

Connect Codex, Claude Code, or Cursor

Set TRAVASO_AGENT_TOKEN in the environment where your client runs. Add the matching configuration, then reload the client.

Server URL
https://elitetravelsales.com/api/backend/mcp
Transport and authentication
Streamable HTTP with Authorization: Bearer YOUR_TRAVASO_KEY
Codex ~/.codex/config.toml
[mcp_servers.travaso]
url = "https://elitetravelsales.com/api/backend/mcp"
bearer_token_env_var = "TRAVASO_AGENT_TOKEN"
Claude Code .mcp.json
{
  "mcpServers": {
    "travaso": {
      "type": "http",
      "url": "https://elitetravelsales.com/api/backend/mcp",
      "headers": {
        "Authorization": "Bearer ${TRAVASO_AGENT_TOKEN}"
      }
    }
  }
}
Cursor .cursor/mcp.json
{
  "mcpServers": {
    "travaso": {
      "url": "https://elitetravelsales.com/api/backend/mcp",
      "headers": {
        "Authorization": "Bearer ${env:TRAVASO_AGENT_TOKEN}"
      }
    }
  }
}

For more clients and a connection check, use the agent key setup guide.

Request your first hotel quote

Enter future check-in and check-out dates as YYYY-MM-DD. A quote needs a destination, both dates, and the number of adults. Rooms default to one. This Boston example searches without traveler contact details and runs without creating checkout.

CHECK_IN=YYYY-MM-DD
CHECK_OUT=YYYY-MM-DD

curl --fail-with-body https://elitetravelsales.com/api/backend/mcp \
  -H "Authorization: Bearer ${TRAVASO_AGENT_TOKEN:?Set TRAVASO_AGENT_TOKEN first}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  --data @- <<JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_competitive_hotel_quotes",
    "arguments": {
      "location": "Boston",
      "checkIn": "$CHECK_IN",
      "checkOut": "$CHECK_OUT",
      "adults": 1,
      "rooms": 1,
      "paymentCollectionType": "FULL_PAYMENT",
      "maxResults": 3
    }
  }
}
JSON

Parse the JSON in result.content[0].text and read the recommendations list. If the tool response has isError: true, check its error message.

REST API fallback

Use the same quote fields to search from a server without an MCP client.

CHECK_IN=YYYY-MM-DD
CHECK_OUT=YYYY-MM-DD

curl --fail-with-body https://elitetravelsales.com/api/backend/agent/hotel-quotes \
  -H "Authorization: Bearer ${TRAVASO_AGENT_TOKEN:?Set TRAVASO_AGENT_TOKEN first}" \
  -H "Content-Type: application/json" \
  --data @- <<JSON
{
  "location": "Boston",
  "checkIn": "$CHECK_IN",
  "checkOut": "$CHECK_OUT",
  "adults": 1,
  "rooms": 1,
  "paymentCollectionType": "FULL_PAYMENT",
  "maxResults": 3
}
JSON

How does an AI agent book a hotel?

  1. search_competitive_hotel_quotesquotes.create scope

    Search using destination, dates, and adult count. Add room count if needed. Review the quoted stay price and terms with the traveler.

  2. create_offer_checkout_linkcheckout.create scope

    After the traveler approves checkout, send the recommendation ID, original search inputs, and lead traveler contact details. Share the returned hosted checkout link.

  3. get_offer_statusoffers.read scope

    Use the offer ID returned at checkout to check payment and supplier confirmation.

  4. cancel_offeroffers.cancel scope

    Request cancellation of an eligible offer with a key that has cancellation scope.

Keep the selected recommendationId and reuse the search inputs in checkout, including paymentCollectionType: FULL_PAYMENT for a prepaid rate. Pass the lead traveler’s firstName, lastName, email, and phoneNumber as top-level fields. For a single room, you can omit guests. If you pass a guest list, include the lead traveler first and a named guest for each room.

Present the latest total and terms for approval again if the selected rate changes. The traveler enters their card on the Stripe-hosted checkout page. With FEES_ONLY, the online payment can cover a deposit or fees. Review the payment amount, currency, and any amount due at the property before paying.

Build the traveler experience

Use this flow in chat or build it into your app with your own layout.

  1. Search

    Label destination, check-in, check-out, adults, and optional rooms. Check that check-out follows check-in and counts are positive whole numbers before requesting quotes.

  2. Review the rate

    Show the hotel, room, dates, party size, quoted stay price and currency, cancellation terms, and included benefits. Show any property charges the rate discloses.

  3. Request checkout

    After the traveler picks a rate, ask for the lead traveler’s first and last names, email, and phone. Use email and telephone input types. Keep the selected rate visible and use a separate Create checkout link action to confirm it before calling Travaso. Direct card entry to Stripe.

  4. Show progress

    Use visible field labels and link error text to its field with aria-describedby. Keep the entered values when a field needs correction. Make controls keyboard accessible and announce payment and confirmation updates with text in a role="status" region.

Example chat script
Search
Where would you like to stay? Share your check-in and check-out dates and how many adults and rooms you need.

Review
{Hotel}, {room} for {dates}. The quoted stay price is {amount and currency}. {Cancellation terms and included benefits}. Which rate would you like?

Prepare checkout
To prepare the link, enter the lead traveler’s first name, last name, email, and phone in this private chat or form. Travaso sends the private booking confirmation to that email.
Create a secure checkout link for {hotel}, {room}, and {amount and currency}?

When paid
Payment received. We’re waiting for the hotel to confirm your stay.

When the hotel confirms
Your hotel is confirmed. Check the lead traveler’s email for the private booking link.

For more copy-ready prompts, see the agent setup templates.

Can a free key book a hotel?

A free key can request hotel quotes, create card checkout links, and check booking status. The traveler pays for the selected stay at checkout. Monthly and annual plans offer a higher share of booking margin on eligible completed stays.

Already using a free key? Choose Upgrade an existing key to keep your agent configuration and booking history. Paid benefits apply during the active paid period; your key returns to free access when it ends.

See how booking earnings work

How do I know the hotel is confirmed?

Successful card payment and supplier confirmation are separate steps. Use get_offer_status with the offer ID and wait for a booked or completed status before telling the traveler the reservation is confirmed. Travaso emails the traveler a private link to the booking reference and stay details.

How do I compare hotel quotes?

Travaso can return an estimated public nightly rate alongside its own quote. Compare full stay totals in the same currency for the same hotel, dates, room type, and guests. Check taxes, fees, cancellation terms, and included benefits before calculating savings.

How do usage limits work?

The configurable defaults are 12 quote calls and 4 checkout-link calls per rolling minute per partner on Free, and 36 quote calls and 12 checkout-link calls on paid plans. When a request reaches the limit, wait for retryAfterSeconds in the MCP tool response or the Retry-After header on a REST 429 before retrying.