hostaway-kit

v1.0.2
io.github.stylabs/hostaway-kit Checked 3 days ago Published 1 month ago

Read-only Hostaway MCP: listings, calendar, inbox, reports.

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

list_listings

List Hostaway listings. Defaults to GET /v1/listings?specialStatus[]=active. Optional availabilityDateStart/End + availabilityGuestNumber filter the list the same way Hostaway does. Amenities are amenityId values, not free-text names. Check-in/out hours are 0–23. Denylisted access and invoicing fields are stripped.

ParameterTypeDescription
availabilityDateEndstringY-m-d, exclusive departure for fixture stays
availabilityDateStartstringY-m-d, passed to Hostaway listings list
availabilityGuestNumberinteger
citystring
includeArchivedbooleanIf true, omit specialStatus[]=active
matchstringSearch by listing name

get_listing

Retrieve one listing via GET /v1/listings/{id}?includeResources=1. House rules, check-in hours (0–23), amenityId values, and photos are included. wifiPassword, door codes, and invoicing contacts are stripped.

ParameterTypeDescription
listingId *integer

get_calendar

Retrieve listing calendar via GET /v1/listings/{id}/calendar?includeResources=1. Each day has status (available/blocked/reserved/pending), isAvailable, and price (null means unknown — do not invent a rate). Nested reservations are denylist-stripped.

ParameterTypeDescription
endDate *stringY-m-d
listingId *integer
startDate *stringY-m-d

list_reservations

List reservations via GET /v1/reservations. Read-only. doorCode / doorCodeVendor / doorCodeInstruction are stripped. Create reservation is not implemented.

ParameterTypeDescription
arrivalEndDatestring
arrivalStartDatestring
listingIdinteger
matchstringGuest name search

list_conversations

List inbox threads via GET /v1/conversations?includeResources=1. Nested Reservation objects are denylist-stripped.

ParameterTypeDescription
listingIdinteger
reservationIdinteger

list_messages

List messages in a thread via GET /v1/conversations/{id}/messages. Read-only. There is no send tool.

ParameterTypeDescription
conversationId *integer

inbox_triage

Unanswered / SLA view Hostaway's inbox does not compute. A thread is unanswered when the latest message is incoming (or hasUnreadMessages with no later host reply). Default SLA is 2 hours. Does not send replies.

ParameterTypeDescription
listingIdinteger
slaHoursnumber

draft_reply

Suggested reply grounded in THAT listing's fields, house rules, amenityId values, and calendar prices. Never invent rates (use calendar or say unknown). Never include wifi or door codes. Never POSTs a message — send is always false and there is no send endpoint.

ParameterTypeDescription
conversationId *integer
questionstringOptional focus question; defaults to the latest incoming message

report_occupancy

Occupancy and blocked holes computed from calendar reads. Occupancy = reserved nights / (reserved + available). Blocked holes are consecutive blocked/hardBlock days. Not an owner statement. No financials.

ParameterTypeDescription
endDate *string
startDate *string
listingIdinteger

report_inbox

Unanswered thread counts by listing, computed from conversation reads. Not a Hostaway owner statement.

ParameterTypeDescription
listingIdinteger
slaHoursnumber

report_completeness

Listing completeness from reads: missing photos, missing house rules, missing amenities (empty listingAmenities). Not a financial report.

ParameterTypeDescription
listingIdinteger