Connect your agent.
Connect Travaso MCP to find hotel rates, create card checkout links, and check reservations.
Get an agent key
Use an existing Travaso key or issue one free to get started.
Connect a client
Set TRAVASO_AGENT_TOKEN in the environment where Cursor runs, add this entry, then reload Cursor.
{
"mcpServers": {
"travaso": {
"url": "https://elitetravelsales.com/api/backend/mcp",
"headers": {
"Authorization": "Bearer ${env:TRAVASO_AGENT_TOKEN}"
}
}
}
}Run this in your project terminal, then check the connection with claude mcp list.
claude mcp add --transport http travaso https://elitetravelsales.com/api/backend/mcp \
--header "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN"Set TRAVASO_AGENT_TOKEN in the environment where Codex runs, add this entry, then restart Codex.
[mcp_servers.travaso]
url = "https://elitetravelsales.com/api/backend/mcp"
bearer_token_env_var = "TRAVASO_AGENT_TOKEN"Select Copilot in VS Code, set TRAVASO_AGENT_TOKEN in the environment where it runs, and add this server definition.
{
"mcpServers": {
"travaso": {
"type": "http",
"url": "https://elitetravelsales.com/api/backend/mcp",
"headers": {
"Authorization": "Bearer ${TRAVASO_AGENT_TOKEN}"
},
"tools": [
"*"
]
}
}
}Add this block to a server-side Messages request with the anthropic-beta header set to mcp-client-2025-11-20.
{
"mcp_servers": [
{
"type": "url",
"name": "travaso",
"url": "https://elitetravelsales.com/api/backend/mcp",
"authorization_token": "tk_live_travaso_REPLACE_WITH_YOUR_TOKEN"
}
],
"tools": [
{
"type": "mcp_toolset",
"mcp_server_name": "travaso"
}
]
}Use another MCP client
Choose Streamable HTTP and add bearer authorization. Clients that can only set a custom header can send the key as x-travaso-agent-token.
- Server URL
https://elitetravelsales.com/api/backend/mcp- Header
Authorization: Bearer YOUR_TRAVASO_KEY
Keep your key in a secret store and out of source control.
Check connection
The tools/list request checks your key and lists the booking tools without making a reservation.
curl https://elitetravelsales.com/api/backend/mcp \
-H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}'Quote and book
Find a rate
Search with the destination, check-in and check-out dates, and number of adults. Add rooms, children, or filters when needed. Ask for contact details after the traveler chooses an option.
Try a hotel quoteMCP
Replace the date placeholders with future dates. This example requests rates for full card payment.
MCP quote requestcurl https://elitetravelsales.com/api/backend/mcp \ -H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{ "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "search_competitive_hotel_quotes", "arguments": { "location": "Boston", "checkIn": "YYYY-MM-DD", "checkOut": "YYYY-MM-DD", "adults": 1, "rooms": 1, "maxResults": 3, "paymentCollectionType": "FULL_PAYMENT" } } }'Collect the lead traveler’s details privately
Ask for these details in a private chat or form once the traveler selects a room. For multiple rooms, include a named lead for each room in
guestswith the primary traveler first.- First name
firstName- Last name
lastName- Email for confirmation
email- Phone number
phoneNumber
Traveler fields and rate review templateMarkdown
Booking field template### Lead traveler details (private) - First name (firstName): [required] - Last name (lastName): [required] - Email for confirmation (email): [required] - Phone number (phoneNumber): [required] - Named guest list (guests): [for multiple rooms, include one lead per room and put the primary traveler first] ### Review this rate - Hotel, room, dates, guests, and room count: [selected option] - Total due by card and currency: [approved amount and currency] - Charges due at the property: [any known separate taxes or fees] - Cancellation terms and included perks: [selected rate terms] Ask: “Do you approve this rate and want me to open card checkout?”Review the rate and open checkout
Review the selected room, dates, full total and currency, cancellation policy, and included perks. Wait for explicit approval. Send the same quote inputs, the selected
recommendationId, and the lead traveler’s details to create the hosted card checkout. Ask for approval again if the rate or terms change.Create a checkout linkMCP
Use the approved rate’s ID and the original trip fields. The traveler enters card details on the hosted page.
MCP checkout requestcurl https://elitetravelsales.com/api/backend/mcp \ -H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{ "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": { "name": "create_offer_checkout_link", "arguments": { "location": "Boston", "checkIn": "YYYY-MM-DD", "checkOut": "YYYY-MM-DD", "adults": 1, "rooms": 1, "maxResults": 3, "paymentCollectionType": "FULL_PAYMENT", "recommendationId": "rec_from_hotel_quotes", "firstName": "LEAD_FIRST_NAME", "lastName": "LEAD_LAST_NAME", "email": "[email protected]", "phoneNumber": "+15555550100" } } }'Check for hotel confirmation
Save the returned
offerIdand checkget_offer_status. Once the hotel confirms, Travaso emails a private confirmation link to the lead traveler.
Agent prompt
Copy this into a private chat with your connected agent to guide the search, rate review, and booking steps.
You are a Travaso hotel booking agent. Use the connected Travaso tools.
Ask for the destination, check-in and check-out dates, and number of adults. Ask about rooms, children, or preferences when relevant. Request search_competitive_hotel_quotes using only trip details. Use paymentCollectionType: FULL_PAYMENT to offer full card payment. Present up to four options with their prices and terms. Show the Travaso nightly and stay prices alongside the estimated public nightly reference and nightly difference when available. Verify the same hotel, room, dates, guest count, currency, cancellation terms, taxes, fees, and perks before claiming savings from a comparison of full stay totals.
After the traveler selects a room, show the structured traveler fields below in a private conversation or form. Do not collect contact details in a group chat.
### Lead traveler details (private)
- First name (firstName): [required]
- Last name (lastName): [required]
- Email for confirmation (email): [required]
- Phone number (phoneNumber): [required]
- Named guest list (guests): [for multiple rooms, include one lead per room and put the primary traveler first]
### Review this rate
- Hotel, room, dates, guests, and room count: [selected option]
- Total due by card and currency: [approved amount and currency]
- Charges due at the property: [any known separate taxes or fees]
- Cancellation terms and included perks: [selected rate terms]
Ask: “Do you approve this rate and want me to open card checkout?”
Show the chosen hotel and room, dates, guest count, full total, currency, payment timing, cancellation terms, and included perks. Wait for explicit approval of that rate. Call create_offer_checkout_link with the same trip and payment inputs, the selected recommendationId, and the traveler fields. Share its hosted checkoutUrl exactly as returned. Never ask for card details in chat. Save offerId and check get_offer_status for supplier confirmation. A card payment can precede confirmation. Travaso sends the lead traveler a private confirmation link by email after the hotel confirms. If the rate changes or expires, request a fresh quote and ask for approval again.Coding-agent handoffPrompt
You are integrating Travaso hotel commerce into this codebase.
Configure the remote MCP server at https://elitetravelsales.com/api/backend/mcp with an Authorization bearer token from a server-side secret. A prompt does not install tools by itself. If the runtime cannot use MCP, call the REST fallback from server-side code.
Ask for the destination, check-in and check-out dates, and number of adults. Ask about rooms, children, or preferences when relevant. Request search_competitive_hotel_quotes using only trip details. Use paymentCollectionType: FULL_PAYMENT to offer full card payment. Show the Travaso nightly and stay prices alongside the estimated public nightly reference and nightly difference when available. Verify the same hotel, room, dates, guest count, currency, cancellation terms, taxes, fees, and perks before claiming savings from a comparison of full stay totals.
After the traveler selects an option, ask privately for the lead traveler’s firstName, lastName, email, and phoneNumber. Collect named guests only as required. Show the chosen hotel and room, dates, guest count, full total, currency, payment timing, cancellation terms, and included perks. Wait for explicit approval of that rate. Call create_offer_checkout_link with the same trip and payment inputs, the selected recommendationId, and the traveler fields. Share its hosted checkoutUrl exactly as returned. Never ask for card details in chat. Save offerId and check get_offer_status for supplier confirmation. A card payment can precede confirmation. Travaso sends the lead traveler a private confirmation link by email after the hotel confirms. If the rate changes or expires, request a fresh quote and ask for approval again.
Only use cancel_offer when the key has cancellation scope and the traveler asks. Keep keys out of client-side code and source control. Commission is tracked on eligible bookings and becomes payable after the stay is complete.Booking tools
search_competitive_hotel_quotes- Compare live hotel rates and get recommendation IDs.
create_offer_checkout_link- Create a hosted card checkout for an approved rate.
get_offer_status- Check payment, supplier confirmation, and earnings.
cancel_offer- Cancel an eligible booking with a key that has cancellation scope.
REST API
Call these endpoints from your server when your client cannot use MCP.
Search hotels directlyPOST /agent/hotel-quotes
curl https://elitetravelsales.com/api/backend/agent/hotel-quotes \
-H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"location": "Boston",
"checkIn": "YYYY-MM-DD",
"checkOut": "YYYY-MM-DD",
"adults": 1,
"rooms": 1,
"maxResults": 3,
"paymentCollectionType": "FULL_PAYMENT"
}'Create a checkout linkPOST /agent/checkout-link
curl https://elitetravelsales.com/api/backend/agent/checkout-link \
-H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"location": "Boston",
"checkIn": "YYYY-MM-DD",
"checkOut": "YYYY-MM-DD",
"adults": 1,
"rooms": 1,
"maxResults": 3,
"paymentCollectionType": "FULL_PAYMENT",
"recommendationId": "rec_from_hotel_quotes",
"firstName": "LEAD_FIRST_NAME",
"lastName": "LEAD_LAST_NAME",
"email": "[email protected]",
"phoneNumber": "+15555550100"
}'Read sales and payout statsGET /agent/portal/stats
curl https://elitetravelsales.com/api/backend/agent/portal/stats \
-H "Authorization: Bearer tk_live_travaso_REPLACE_WITH_YOUR_TOKEN"