Hotel Booking AI MCP
Consumer hotel search, live rates, booking, order management, and payment via TourMind.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"hotel-booking-ai-mcp": {
"url": "https://api.tourmind.com/mcp/toc"
}
}
}遠端端點
https://api.tourmind.com/mcp/tocstreamable-http它能做什麼
工具清單
工具(11)
🟢batch_query_room_rates(user_key, hotel_ids, check_in_date, check_out_date, adults, ...)
Get live room types and rate products for multiple hotels with partial-success results.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"hotel_ids": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "TourMind hotel identifiers to query"
},
"check_in_date": {
"type": "string",
"description": "Check-in date in YYYY-MM-DD format"
},
"check_out_date": {
"type": "string",
"description": "Check-out date in YYYY-MM-DD format"
},
"adults": {
"type": "integer",
"description": "Number of adults in each room"
},
"room_count": {
"type": "integer",
"description": "Number of rooms using the same occupancy"
},
"children": {
"type": "integer",
"description": "Number of children in each room"
},
"children_ages": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Ages of the children in each room, each from 0 to 17"
}
},
"required": [
"hotel_ids"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🔴cancel_booking(user_key, agent_ref_id)
Cancel a booking owned by the user_key account.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "TourMind user key required for authenticated ToC booking operations"
},
"agent_ref_id": {
"type": "string",
"description": "TourMind booking reference"
}
},
"required": [
"user_key",
"agent_ref_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢check_room_availability(user_key, hotel_id, rate_code, check_in_date, check_out_date, ...)
Recheck the selected rate code, price, and inventory before booking.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"hotel_id": {
"type": "string",
"description": "TourMind hotel identifier"
},
"rate_code": {
"type": "string",
"description": "Rate code returned by query_room_rates"
},
"check_in_date": {
"type": "string",
"description": "Check-in date in YYYY-MM-DD format"
},
"check_out_date": {
"type": "string",
"description": "Check-out date in YYYY-MM-DD format"
},
"adults": {
"type": "integer",
"description": "Number of adults in each room"
},
"room_count": {
"type": "integer",
"description": "Number of rooms using the same occupancy"
},
"children": {
"type": "integer",
"description": "Number of children in each room"
},
"children_ages": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Ages of the children in each room, each from 0 to 17"
}
},
"required": [
"hotel_id",
"rate_code"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢check_skill_update(current_version)
Check whether a newer TourMind Booking Skill version is available.
輸入結構描述
{
"type": "object",
"properties": {
"current_version": {
"type": "string",
"description": "Installed Skill semantic version, for example 1.0.0"
}
},
"required": [
"current_version"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🔴create_booking(user_key, hotel_id, rate_code, check_in_date, check_out_date, ...)
Create a hotel booking from a verified rate. A valid user_key is required.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "TourMind user key required for authenticated ToC booking operations"
},
"hotel_id": {
"type": "string",
"description": "TourMind hotel identifier"
},
"rate_code": {
"type": "string",
"description": "Verified rate code returned by check_room_availability"
},
"check_in_date": {
"type": "string",
"description": "Check-in date in YYYY-MM-DD format"
},
"check_out_date": {
"type": "string",
"description": "Check-out date in YYYY-MM-DD format"
},
"guest_name": {
"type": "string",
"description": "Guest full legal name"
},
"contact_email": {
"type": "string",
"description": "Contact email for booking status notifications"
},
"adults": {
"type": "integer",
"description": "Number of adults in each room"
},
"room_count": {
"type": "integer",
"description": "Number of rooms using the same occupancy"
},
"children": {
"type": "integer",
"description": "Number of children in each room"
},
"children_ages": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Ages of the children in each room, each from 0 to 17"
},
"currency": {
"type": "string",
"description": "Three-letter booking currency code"
},
"total_price": {
"type": "number",
"description": "Verified total booking price"
}
},
"required": [
"user_key",
"hotel_id",
"rate_code",
"check_in_date",
"check_out_date",
"guest_name",
"adults",
"room_count",
"currency",
"total_price"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢get_hotel_detail(user_key, hotel_id, language)
Get static hotel details, facilities, rooms, policies, and images.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"hotel_id": {
"type": "string",
"description": "TourMind hotel identifier"
},
"language": {
"type": "string",
"description": "Response language, defaults to zh-CN"
}
},
"required": [
"hotel_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🔴pay_order(user_key, agent_ref_id, payment_method)
Create a payment request for a booking owned by the user_key account. CNY WeChat Pay and Alipay return a one-time device-aware payment link.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "TourMind user key required for authenticated ToC booking operations"
},
"agent_ref_id": {
"type": "string",
"description": "TourMind booking reference"
},
"payment_method": {
"type": "string",
"description": "Payment method: Stripe, 微信支付, or 支付宝"
}
},
"required": [
"user_key",
"agent_ref_id",
"payment_method"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢query_booking(user_key, agent_ref_id)
Query a booking owned by the user_key account.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "TourMind user key required for authenticated ToC booking operations"
},
"agent_ref_id": {
"type": "string",
"description": "TourMind booking reference"
}
},
"required": [
"user_key",
"agent_ref_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢query_room_rates(user_key, hotel_id, check_in_date, check_out_date, adults, ...)
Get live room types and rate products for a hotel and stay.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"hotel_id": {
"type": "string",
"description": "TourMind hotel identifier"
},
"check_in_date": {
"type": "string",
"description": "Check-in date in YYYY-MM-DD format"
},
"check_out_date": {
"type": "string",
"description": "Check-out date in YYYY-MM-DD format"
},
"adults": {
"type": "integer",
"description": "Number of adults in each room"
},
"room_count": {
"type": "integer",
"description": "Number of rooms using the same occupancy"
},
"children": {
"type": "integer",
"description": "Number of children in each room"
},
"children_ages": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Ages of the children in each room, each from 0 to 17"
}
},
"required": [
"hotel_id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢search_hotels(user_key, keyword, limit, region_id, latitude, ...)
Search candidate hotels by region, coordinates and radius, or fuzzy keyword.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"keyword": {
"type": "string",
"description": "Hotel name or location keyword when region_id and coordinates are unavailable"
},
"limit": {
"type": "integer",
"description": "Maximum fuzzy hotel matches"
},
"region_id": {
"type": "string",
"description": "TourMind region identifier"
},
"latitude": {
"type": [
"null",
"number"
],
"description": "Latitude of the search center"
},
"longitude": {
"type": [
"null",
"number"
],
"description": "Longitude of the search center"
},
"radius_km": {
"type": [
"null",
"number"
],
"description": "Search radius in kilometers"
},
"check_in_date": {
"type": "string",
"description": "Check-in date in YYYY-MM-DD format"
},
"check_out_date": {
"type": "string",
"description": "Check-out date in YYYY-MM-DD format"
},
"adults": {
"type": "integer",
"description": "Number of adults in each room"
},
"room_count": {
"type": "integer",
"description": "Number of rooms using the same occupancy"
},
"children": {
"type": "integer",
"description": "Number of children in each room"
},
"children_ages": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Ages of the children in each room, each from 0 to 17"
},
"lowest_price": {
"type": "integer",
"description": "Minimum total price filter"
},
"highest_price": {
"type": "integer",
"description": "Maximum total price filter"
},
"location_name": {
"type": "string",
"description": "Human-readable location used to describe the search scope"
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}🟢search_location(user_key, keyword)
Resolve a region, point of interest, landmark, shopping mall, or hotel name to TourMind regions, hotels, or coordinates.
輸入結構描述
{
"type": "object",
"properties": {
"user_key": {
"type": "string",
"description": "Optional TourMind user key for authenticated ToC access"
},
"keyword": {
"type": "string",
"description": "Region, point of interest, landmark, shopping mall, or hotel name"
}
},
"required": [
"keyword"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}社群
證據