Bookster MCP by usefulapi
Read bookings, properties, availability and stay prices; set booking tags in Bookster.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- LOWbookster_get_length_of_stay_prices에서
- LOWbookster_get_booking_setup_state에서
- LOWbookster_get_booking_setup_document에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"bookster": {
"url": "https://bookster.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://bookster.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (10)
🟢bookster_list_bookings(page, per_page, sort, state, property_id, ...)
List bookings, newest booked first by default. Filter by property, state, arrival, departure, a night the stay covers, customer name or email, booking reference, or last update. Bookster API: GET /system/api/v1/booking/bookings.json.
입력 스키마
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (Bookster default 20).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sort": {
"description": "Sort order. Default created.desc (newest booked first).",
"type": "string",
"enum": [
"created.desc",
"created.asc",
"arrival.asc",
"arrival.desc",
"departure.asc",
"departure.desc"
]
},
"state": {
"description": "Booking state to match.",
"type": "string",
"enum": [
"confirmed",
"cancelled",
"quote",
"rejected",
"paymentreq",
"paymentnak"
]
},
"property_id": {
"description": "Only bookings for this property (from bookster_list_properties).",
"type": "string",
"pattern": "^\\d+$"
},
"arrival_date": {
"description": "Arrival on this day (yyyy-mm-dd).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"covers_date": {
"description": "Stays that cover this night (arrive before, leave after).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"departure_date": {
"description": "Departure on this day (yyyy-mm-dd).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"customer_name": {
"description": "Customer name to match.",
"type": "string"
},
"customer_email": {
"description": "Customer email address to match.",
"type": "string"
},
"booking_reference": {
"description": "Bookster booking reference to match.",
"type": "string"
},
"updated_on": {
"description": "Compare the last-updated date with this day (yyyy-mm-dd).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_comparison": {
"description": "How updated_on compares: e on the day (default), g after, l before, ge on or after, le on or before, n not on the day.",
"type": "string",
"enum": [
"e",
"g",
"l",
"ge",
"le",
"n"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_booking(booking_id)
Get one booking with its customer details, party, dates, value and balance, the lines (extras and products), and housekeeping notes. Bookster API: GET /system/api/v1/booking/bookings/{id}.json.
입력 스키마
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
}
},
"required": [
"booking_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_list_booking_tags(booking_id)
List the tags on one booking as a map of tag name to value. Tags are the keys your own integration sets. Bookster API: GET /system/api/v1/booking/bookings/{id}/tag.json.
입력 스키마
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
}
},
"required": [
"booking_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴bookster_set_booking_tags(booking_id, tags)
Add, update or delete tags on one booking. Each key is a tag name: a new name adds the tag, an existing name with a non-empty value updates it, and an existing name with an empty value deletes it. Use CamelCase names with your own prefix. Changes the booking record in Bookster. Bookster API: PUT /system/api/v1/booking/bookings/{id}/tag.json.
입력 스키마
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
},
"tags": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
},
"description": "Map of tag name to value. An empty value deletes that tag."
}
},
"required": [
"booking_id",
"tags"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_list_properties(page, per_page, name, tags, client_id)
List properties (rental units, caravan pitches, rooms and similar) in the account, with their id, type id and name. Bookster API: GET /system/api/v1/entry/entries.json.
입력 스키마
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (Bookster default 20).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"name": {
"description": "Property name to match.",
"type": "string"
},
"tags": {
"description": "Only properties that have this tag.",
"type": "string"
},
"client_id": {
"description": "Only properties owned by this client id.",
"type": "string",
"pattern": "^\\d+$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_property(property_id)
Get one property with its elements: address, facilities, descriptions, geo location, local authority and more. Bookster API: GET /system/api/v1/entry/entries/{id}.json.
입력 스키마
{
"type": "object",
"properties": {
"property_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
}
},
"required": [
"property_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_availability(property_id, syndicate_id)
Get the availability ranges of one property: each range has a start, an end (exclusive) and an available flag. Only single-product setups are supported. Bookster API: GET /system/api/v1/booking/query/{id}/availability.json.
입력 스키마
{
"type": "object",
"properties": {
"property_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
},
"syndicate_id": {
"description": "Optional booking source (syndicate) id for the check.",
"type": "string",
"pattern": "^\\d+$"
}
},
"required": [
"property_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_length_of_stay_prices(property_id, syndicate_id)
Get the prices for every possible stay of one property for the next 18 months (up to 30 nights). Each returned string is CSV: date, party size, then the price for 1, 2, 3... nights. A zero price means that stay is not possible. Prices are in the property's currency, rounded to whole units. Bookster API: GET /system/api/v1/booking/query/{id}/los.json.
입력 스키마
{
"type": "object",
"properties": {
"property_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
},
"syndicate_id": {
"description": "Optional booking source (syndicate) id for the prices.",
"type": "string",
"pattern": "^\\d+$"
}
},
"required": [
"property_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_booking_setup_state(property_id)
Get whether online booking is enabled, disabled or sold out for one property, and the state of its last consolidation (the job that publishes setup changes). Bookster API: GET /system/api/v1/booking/setup/{id}/state.json.
입력 스키마
{
"type": "object",
"properties": {
"property_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
}
},
"required": [
"property_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bookster_get_booking_setup_document(property_id, name, latest)
Download one booking setup document of a property: rates, availability, extras, products, payment profiles, reservation profiles, legals, bundles, provider, or applicability rules. Returns the name and the document JSON as text. latest=true returns the newest document that is not yet consolidated. Bookster API: GET /system/api/v1/booking/setup/{id}/ir.json.
입력 스키마
{
"type": "object",
"properties": {
"property_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Numeric Bookster id."
},
"name": {
"type": "string",
"enum": [
"applicability_rules",
"availability",
"bundles",
"extras",
"legals",
"payment_profiles",
"products",
"provider",
"rates",
"reservation_profiles"
],
"description": "Which setup document to download."
},
"latest": {
"description": "true: the newest, possibly not yet consolidated, document. Default: the active one.",
"type": "boolean"
}
},
"required": [
"property_id",
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거