GetMyHotels

com.getmyhotels由 getmyhotels.com 发布官方发布者v1.0.0更新于 Oct 24, 2026

Search hotels, get live prices, and check out in chat. Guest search needs no sign-in.

已验证Streamable HTTP可网页运行位置与生活商业与电商

概览

AI 生成的概览

一个远程酒店预订服务器,让助手搜索酒店、比较实时价格、准备结账,并管理已登录用户的行程与预订。

可以做什么
搜索酒店和目的地,并按 id 或预订参考号(bk_ 前缀)获取完整酒店记录或预订信息。查询某目的地和日期范围的实时房态与价格,列出单家酒店的可订房型,并获取设施、照片、政策和位置等完整酒店详情。结账前对选定房型重新核价,并创建由客人在托管页面完成付款的结账链接。通过管理令牌查询预订,并列出已登录用户保存的行程和预订。创建行程并在指定日期添加酒店、活动或餐饮等项目。申请验证码后取消或修改预订,并列出已保存的支付卡。
适用场景
适合在对话中调研酒店、比较实时价格与房态,或在不离开聊天的情况下准备预订。也适合管理已有行程和预订,例如查看状态、编辑行程,或取消、更改预订。
运行要求
以远程 HTTP 端点运行,无需本地运行时或安装包。访客搜索无需登录,但行程、预订、已存支付卡和预订变更都作用于已登录用户的账户。变更预订需要发送到预订人邮箱的 6 位验证码。
安装前请注意
取消或修改预订会改动真实订单:取消可能不可逆,并可能按政策触发退款;更改日期会以取消再重订的方式提交给供应商。结账工具返回托管支付页面而非直接扣款,但客人付款后仍会生成真实预订。查询预订需使用管理令牌,已存支付卡以公开 id 引用。任何结账或预订前都应先与用户确认酒店、房型、日期和价格。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GetMyHotels,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.getmyhotels%2Fgetmyhotels/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "getmyhotels": {
      "type": "http",
      "url": "https://mcp.getmyhotels.com/"
    }
  }
}

README

该仓库没有 README。

工具

18

fetch

Fetch

Fetch the full record for a result id returned by `search` (a hotel) or for a booking reference (prefixed 'bk_'). Returns a document with id, title, text, url, and metadata.

输入参数id必填

search_hotels

Search hotels

Search live hotel availability for a destination and date range. Returns a price-sorted list of hotels (JSON in the text), each with an opaque `ref` and an indicative stay price. To book: call `get_rooms` and pass the chosen room's `offerRef` to `get_checkout_quote` then `create_checkout`. For a hotel's other rooms (or a hotel not in the list), call `get_rooms`. Narrow with `keywords` (a hotel name, area, or amenities).

输入参数roomsadultscheckIn必填checkOut必填childrenkeywordsdestination必填childrenAgesguestNationality

get_rooms

Get hotel rooms

List the bookable rooms for ONE hotel and date range. Each room's `offerRef` is what you pass to `get_checkout_quote` / `create_checkout`. Use the hotel `ref` from `search_hotels` or `search`. Call this to see all of a chosen hotel's rooms, or to refresh availability before checkout.

输入参数refroomsadultscheckIn必填checkOut必填childrensupplierCodesupplierHotelId

get_hotel_details

Get hotel details

Get full property details (description, amenities, photos, policies, location) for a hotel, identified by its `ref` from `search_hotels` (or its supplierCode + supplierHotelId).

输入参数refroomsadultscheckIncheckOutchildrensupplierCodesupplierHotelId

get_checkout_quote

Get checkout quote

Re-price a specific room live against the supplier before checkout (no booking, no charge). Use the `offerRef` and price/currency from `get_rooms`. Returns the authoritative grand total, a `rateValidUntil` timestamp, and any taxes/fees.

输入参数refroomsadultscheckIn必填checkOut必填childrencurrency必填offerRefpromoCodetotalPrice必填childrenAgessupplierCode另有 2 个

create_checkout

Create checkout

Create a secure checkout for a chosen hotel room and return a getmyhotels.com URL where the guest completes payment. This does NOT charge the card — the guest pays on the hosted page. Confirm the hotel, room, dates, and price with the user before calling. Call `get_checkout_quote` first to confirm the live price.

输入参数refprice必填roomsadultscheckIn必填checkOut必填childrencurrency必填offerRefroomName必填hotelName必填childrenAges另有 3 个

get_booking

Get booking

Look up a hotel booking by its management token (sent in the confirmation email). Returns the booking status, hotel, dates, and guest details.

输入参数bookingToken必填

list_trips

List saved trips

List the signed-in user's saved trips (itineraries).

无需输入参数。

save_trip

Save a trip

Create a new saved trip (itinerary) for the signed-in user.

输入参数title必填budgetendDate必填startDate必填descriptionbudgetCurrency

add_trip_item

Add trip item

Add an item (hotel, activity, meal, etc.) to a saved trip on a given day.

输入参数day必填type必填title必填sortOrderdescriptionitineraryPublicId必填

list_my_bookings

List my bookings

List the signed-in user's hotel bookings.

输入参数pagelimit

get_my_booking

Get my booking

Get full details of one of the signed-in user's bookings by its public id.

输入参数publicId必填

request_booking_action_code

Request booking action code

Email a 6-digit verification code to the booking owner, required before cancelling or modifying a booking. Step 1 of 2 — then call `cancel_booking`/`modify_booking` with the code.

输入参数action必填publicId必填

cancel_booking

Cancel booking

Cancel one of the signed-in user's bookings. Requires the 6-digit `verificationCode` from `request_booking_action_code`. This may be irreversible and can trigger a refund per policy.

输入参数reasonpublicId必填verificationCode必填

modify_booking

Modify booking

Change one of the signed-in user's bookings. Requires the 6-digit `verificationCode` from `request_booking_action_code`. Special-request edits always apply. A DATE change is pushed to the hotel supplier as a cancel-and-rebook at current availability, so it only works for suppliers that support amendment — for others (and when no room is available for the new dates) it returns an error asking you to cancel and rebook instead. A date change can shift the price and issue a new confirmation; the result's `supplierModifyStatus` says whether the supplier reservation was actually changed (`modified`), simulated (`simulated`), or the edit stayed local (`local_only`, e.g. special requests only). Never promise a date change went through unless `supplierModifyStatus` is `modified` or `simulated`.

输入参数checkIncheckOutpublicId必填specialRequestsverificationCode必填

list_payment_methods

List saved cards

List the signed-in user's saved payment cards (brand, last 4, expiry, default). Use the returned `publicId` with `create_one_click_checkout` to pre-select a card.

无需输入参数。

create_one_click_checkout

Create one-click checkout

Create a checkout for the signed-in user with a saved card pre-selected, and return a getmyhotels.com URL where they confirm + pay in one click. Does NOT charge the card — the user confirms on the hosted page. Get the `savedPaymentMethodPublicId` from `list_payment_methods`. Confirm the hotel, room, dates, and price with the user first.

输入参数refprice必填roomsadultscheckIn必填checkOut必填childrencurrency必填offerRefroomName必填hotelName必填supplierCode另有 3 个

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。