stayport

v0.1.0
io.github.CloudCorpRecords/stayport Checked 3 days ago Published 1 month ago

Hostex PMS via MCP: properties, reservations, availability, messages, reviews, and webhooks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hostex_list_properties

List properties from your Hostex account. Returns property details including ID, title, address, channels, and location coordinates.

ParameterTypeDescription
idnumberProperty id filter; return only the property with this id.
limitnumberMaximum number of properties to return.
offsetnumberNumber of records to skip, for paging.

hostex_list_room_types

List room types from your Hostex account.

ParameterTypeDescription
limitnumberMaximum number of room types to return.
offsetnumberNumber of records to skip, for paging.

hostex_list_reservations

List and search reservations with filters like status, dates, property ID, etc.

ParameterTypeDescription
end_check_in_datestringLatest check-in date to include, YYYY-MM-DD.
end_check_out_datestringLatest check-out date to include, YYYY-MM-DD.
limitnumberMaximum number of reservations to return.
offsetnumberNumber of records to skip, for paging.
order_bystringSort field for the results.
property_idnumberProperty id filter.
reservation_codestringReservation code filter.
start_check_in_datestringEarliest check-in date to include, YYYY-MM-DD.
start_check_out_datestringEarliest check-out date to include, YYYY-MM-DD.
statusstringReservation status filter: wait_accept, wait_pay, accepted, cancelled, denied, or timeout.

hostex_create_reservation

Create a direct booking reservation in Hostex.

ParameterTypeDescription
check_in_date *stringCheck-in date, YYYY-MM-DD.
check_out_date *stringCheck-out date, YYYY-MM-DD.
commission_amount *numberCommission amount.
currency *stringCurrency code for the amounts.
custom_channel_id *numberCustom channel id for the direct booking.
guest_name *stringGuest name.
income_method_id *numberIncome method id.
property_id *stringProperty id to book.
rate_amount *numberBooking rate amount.
received_amount *numberAmount received.
emailstringGuest email address.
mobilestringGuest mobile number.
number_of_guestsnumberNumber of guests.
remarksstringRemarks recorded with the reservation.

hostex_cancel_reservation

Cancel a direct booking reservation (channel bookings not supported).

ParameterTypeDescription
reservation_code *stringReservation code of the direct booking to cancel.

hostex_update_lock_code

Update the lock code for a stay.

ParameterTypeDescription
lock_code *stringNew lock code.
stay_code *stringStay code to update the lock code for.

hostex_get_custom_fields

Get custom fields for a stay.

ParameterTypeDescription
stay_code *stringStay code to get custom fields for.

hostex_update_custom_fields

Update custom fields for a stay. Custom fields can be used in automated messages using {{cf.field_name}} syntax.

ParameterTypeDescription
custom_fields *objectCustom fields object, keyed by field name.
stay_code *stringStay code to update custom fields for.

hostex_list_availabilities

Query property availability for date ranges.

ParameterTypeDescription
end_date *stringEnd of the date range, YYYY-MM-DD.
property_ids *stringProperty ids to query, comma-separated.
start_date *stringStart of the date range, YYYY-MM-DD.

hostex_update_availabilities

Update property availability status for specific dates or date ranges.

ParameterTypeDescription
available *booleanWhether the properties are available on the given dates.
property_ids *arrayProperty ids to update.
datesarraySpecific dates to update, as an array.
end_datestringEnd of the date range to update, YYYY-MM-DD.
start_datestringStart of the date range to update, YYYY-MM-DD.

hostex_list_conversations

List guest conversations and inquiries.

ParameterTypeDescription
limitnumberMaximum number of conversations to return.
offsetnumberNumber of records to skip, for paging.

hostex_get_conversation

Get conversation details including all messages.

ParameterTypeDescription
conversation_id *stringConversation id to fetch.

hostex_send_message

Send a text or image message to a guest.

ParameterTypeDescription
conversation_id *stringConversation id to send the message in.
jpeg_base64stringImage to send, as a base64-encoded JPEG.
messagestringText message to send.

hostex_list_reviews

Query reviews with filters.

ParameterTypeDescription
end_check_out_datestringLatest check-out date to include, YYYY-MM-DD.
limitnumberMaximum number of reviews to return.
offsetnumberNumber of records to skip, for paging.
property_idnumberProperty id filter.
reservation_codestringReservation code filter.
review_statusstringReview status filter.
start_check_out_datestringEarliest check-out date to include, YYYY-MM-DD.

hostex_create_review

Create a review or reply for a reservation.

ParameterTypeDescription
reservation_code *stringReservation code the review applies to.
host_reply_contentstringHost reply text to an existing review.
host_review_contentstringHost review text.
host_review_scorenumberHost review score for the guest.

hostex_post_guest_review

Post a comprehensive guest review with category ratings (requires login via email/password config). This posts reviews as they appear on the Hostex web app.

ParameterTypeDescription
cleanliness *stringCleanliness rating, 1 to 5.
communication *stringCommunication rating, 1 to 5.
content *stringReview text.
overall_rating *stringOverall rating, 1 to 5.
recommend *stringWhether the host recommends the guest: 0 or 1.
reservation_order_code *stringReservation order code the review applies to.
respect_of_house_rules *stringRespect-of-house-rules rating, 1 to 5.
cleanliness_contentstringComment on the cleanliness rating.
communication_contentstringComment on the communication rating.
respect_house_rules_contentstringComment on the house-rules rating.

hostex_list_webhooks

List configured webhooks.

hostex_create_webhook

Create a new webhook.

ParameterTypeDescription
url *stringWebhook endpoint URL.

hostex_delete_webhook

Delete a webhook (only manageable ones).

ParameterTypeDescription
webhook_id *numberWebhook id to delete.

hostex_get_listing_calendar

Get calendar information for multiple listings.

ParameterTypeDescription
end_date *stringEnd of the calendar range, YYYY-MM-DD.
listings *arrayListing ids to get calendar information for.
start_date *stringStart of the calendar range, YYYY-MM-DD.

hostex_update_listing_prices

Update listing prices for channel listings.

ParameterTypeDescription
channel_type *stringChannel type of the listing.
listing_id *stringListing id to update prices for.
prices *arrayPrice entries to apply, as an array.

hostex_list_custom_channels

Get custom channels from Custom Options Page.

hostex_list_income_methods

Get income methods from Custom Options Page.