trip1
官方搜尋並預訂200多個國家、300多萬間飯店。代理商在Base上透過x402以USDC按預訂次數付費。託管式,無需驗證。
你可以用 trip1 MCP 做什麼?
- 按目的地和日期搜尋飯店 — 請您的助理為旅程尋找飯店,並可透過
search_hotels依價格、評分或距離排序。 - 比較房型、房價與空房情況 — 使用
get_hotel_details要求詳細的飯店資訊,包括房型、每晚房價及取消條款。 - 以加密貨幣預訂並付款 — 讓您的代理透過
purchase_hotel建立預訂並在 Base 上以 USDC 結算付款,並提供 CoinGate 作為手動結帳的備案。 - 追蹤訂房確認 — 請您的助理輪詢訂單,直到供應商透過
get_order_details回傳預訂參考編號。
託管 MCP 伺服器
npx add-mcp 'https://trip1.com/api/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
從你的 Agent 預訂飯店
trip1 將飯店搜尋、房價與訂房功能包裝為 MCP 工具。涵蓋 200 多個國家、約 300 萬間住宿,透過 x402 以 Base 鏈上的 USDC 付款。結算發生在 agent 已發出的同一個 HTTP 請求內。
Claude Desktop Claude Code ChatGPT 其他
透過 Claude Desktop 介面安裝:
- 01開啟「設定」→「自訂」→「外掛程式」。
- 02點擊「新增市集」並輸入
trivial-corp/agents。 - 03在市集清單中找到 trip1,然後點擊「安裝」。
Pro、Max、Team 與 Enterprise 方案的確切步驟略有不同。Anthropic 的連接器設定指南涵蓋了各方案的說明。
- 飯店
- 300 萬+ 間住宿
- 涵蓋範圍
- 200+ 個國家
- 結算
- Base 鏈上的 USDC,約 2 秒
流程
- 01搜尋Agent 依目的地與日期查詢飯店(入住人數固定為 2 位成人)。
- 02比較取得所選飯店的房型、房價與即時空房狀況。
- 03訂房以旅客資料與房價 ID 建立訂單。
- 04付款透過 x402 在 Base 鏈上簽署 USDC 轉帳。促成者提交交易並確認結算,通常約兩秒完成。
- 05確認持續輪詢訂單,直到供應商回傳訂房參考編號。
範例
技能可端對端處理的提示詞
將以下任一提示詞貼到已安裝 trip1 的對話中。Agent 會自行搜尋、比較房價、收集旅客資料、與你確認,並完成付款結算。
- > 幫我找一間巴塞隆納 5 月 30 日至 31 日的飯店。
- > 里斯本 Bairro Alto 附近這週末最便宜的飯店是哪間?
- > 從週五開始在澀谷住三晚。挑一間評價好的並完成訂房。
- > 檢查巴塞隆納的訂單。持續輪詢直到供應商參考編號回傳。
付款
Agent 透過 x402 付款
x402 是 agent 付款的開放協定。它讓 HTTP 402 在程式化使用中重獲新生:當 agent 呼叫 purchase_hotel 時,trip1 會回傳付款挑戰;agent 在 Base 鏈上簽署 USDC 授權並重試。促成者提交轉帳,款項一經清算,訂房流程便繼續進行。Agent 全程自行處理,無需任何錢包介面操作。
Agent 需要具備 x402 能力的錢包才能自行付款。最簡單的選項是 Coinbase Payments MCP,與 trip1 一起載入:
npx @coinbase/payments-mcp
若未附加付款 MCP,purchase_hotel 會改為回傳 CoinGate URL。你可以在瀏覽器中自行完成付款,支援 120 多種加密貨幣,包括 USDC。
工具
四個工具,依序呼叫
每個工具都附有完整的 JSON schema、讀寫註記,以及 agent 在呼叫前會閱讀的說明。無需猜測。
search_hotels- 依目的地與日期範圍查詢飯店。可依價格、評價或與搜尋中心的距離排序。
get_hotel_details- 取得單一飯店的房型、每晚房價、取消政策與即時空房狀況。
purchase_hotel- 以旅客資料與 get_hotel_details 取得的房價 ID 建立訂單。回傳 x402 挑戰,或以防萬一回傳 CoinGate URL。
get_order_details- 依 ID 查詢訂單。付款後輪詢;訂房清算後即會出現供應商參考編號。
技能
外掛程式隨附技能
MCP 伺服器提供工具。技能則提供判斷力:何時觸發、下一步該呼叫哪個工具、如何與使用者確認訂房細節、如何在搜尋與結帳之間房價變動時復原。上述 Claude Desktop 與 Claude Code 安裝方式會自動捆綁技能。
對於支援通用 SKILL.md 格式的用戶端(Cursor、Codex CLI、Gemini CLI),可單獨加入:
npx skills add trivial-corp/agents
ChatGPT 及其他僅支援遠端 MCP 的介面不會載入 SKILL.md。伺服器上的工具說明已足以傳達意圖。
常見問題
常見疑問
使用 trip1 需要加密貨幣錢包嗎?+
trip1 是加密貨幣原生服務,因此流程中一定會有錢包的角色。作為人類使用者,CoinGate 會提供託管結帳 URL,你可以用 120 多種加密貨幣(包括 USDC)付款。Agent 則在載入具備 x402 能力的錢包 MCP(如 Coinbase Payments MCP)時,透過 x402 自行付款。
如果搜尋與訂房之間房價變動怎麼辦?+
trip1 會回傳明確的「房價已失效」錯誤。技能會指示 agent 以新的房價 ID 重新執行 search_hotels 與 get_hotel_details。絕不會默默自動替換。
trip1 會儲存 agent 或使用者的付款憑證嗎?+
不會。trip1 是非託管的商家端點。x402 轉帳透過 agent 選擇的促成者在鏈上結算。CoinGate 負責瀏覽器流程,trip1 永遠不會看到卡片或錢包詳細資料。
伺服器支援哪個 MCP 協定版本?+
Streamable HTTP,規範版本 2025-06-18,無狀態模式。相容於所有現代 MCP 用戶端(Claude Desktop、Claude Code、ChatGPT、Cursor、Codex CLI、Gemini CLI)。
訂房確認後可以取消嗎?+
取消與否取決於房價方案。get_hotel_details 會在訂房前回傳每個方案的取消政策,技能也會明確標示不可退款方案。訂房後的變更,請持訂房參考編號聯絡 trip1 支援。
MCP 伺服器有速率限制嗎?+
trip1 會依 IP 與簽署的工作階段進行速率限制。若 agent 需大規模執行,請在啟動前聯絡我們,以便提高配額。
trip1 自 2025 年起便接受來自人類的加密貨幣付款。
MCP 伺服器只是讓 agent 也能做同樣的事。GitHub 上的外掛程式原始碼。
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://trip1.com/#organization","name":"trip1","url":"https://trip1.com","logo":{"@type":"ImageObject","@id":"https://trip1.com/#logo","url":"https://trip1.com/trip1-logo.png"},"image":{"@id":"https://trip1.com/#logo"},"description":"trip1 is a hotel booking platform that helps travelers find and book accommodations from 3M+ hotels worldwide. Pay with crypto.","foundingDate":"2025","founder":{"@type":"Person","name":"Tomas Achmedovas","url":"https://trip1.com/authors/tomas-achmedovas"},"address":{"@type":"PostalAddress","addressLocality":"Vilnius","addressCountry":"LT"},"email":"support@trip1.com","numberOfEmployees":{"@type":"QuantitativeValue","minValue":2,"maxValue":10},"sameAs":["https://www.instagram.com/trip1com","https://www.facebook.com/trip1com","https://x.com/trip1com","https://www.linkedin.com/company/trip1","https://github.com/trivial-corp","https://www.trustpilot.com/review/trip1.com","https://coingate.com/stores/trip1","https://smithery.ai/servers/trip1/trip1"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://trip1.com/help"}},{"@type":"WebSite","@id":"https://trip1.com/#website","name":"trip1","url":"https://trip1.com","description":"Find and book hotels effortlessly with trip1. Compare deals from 3M+ hotels worldwide and pay with crypto.","publisher":{"@id":"https://trip1.com/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://trip1.com/search/hotels?query={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebAPI","@id":"https://trip1.com/agents#mcp","name":"trip1 MCP server","description":"trip1 MCP server lets AI agents book hotels and pay with USDC on Base via x402. 3M+ hotels, settled on-chain in seconds. Works with Claude, ChatGPT, and any MCP client.","url":"https://trip1.com/agents","documentation":"https://trip1.com/agents","provider":{"@id":"https://trip1.com/#organization"}},{"@type":"SoftwareApplication","@id":"https://trip1.com/agents#app","name":"trip1 MCP server","description":"trip1 MCP server lets AI agents book hotels and pay with USDC on Base via x402. 3M+ hotels, settled on-chain in seconds. Works with Claude, ChatGPT, and any MCP client.","url":"https://trip1.com/agents","applicationCategory":"TravelApplication","operatingSystem":"Any","installUrl":"https://trip1.com/agents","softwareHelp":{"@id":"https://trip1.com/agents#mcp"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"author":{"@id":"https://trip1.com/#organization"},"sameAs":["https://smithery.ai/servers/trip1/trip1","https://github.com/trivial-corp/agents"]}]}