Hosthub MCP by usefulapi

v1.3.1
io.usefulapi/hosthub Checked 2 days ago Published 1 day ago

Read rentals, channels, rates and calendar events; create, change and delete bookings in Hosthub.

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

hosthub_list_rentals List rentals

List the rentals (vacation properties) on the account. Each has id, name, city, country, currency, time_zone, and check-in and checkout times. Hosthub API: GET /rentals.

hosthub_get_rental Get a rental

Get one rental (property) by id: address, currency, time zone, check-in and checkout times, guest capacity, unit count, and preparation days. Hosthub API: GET /rentals/{rentalId}.

ParameterTypeDescription
rental_id *stringThe rental id (from a list or get tool).

hosthub_list_rental_channels List channels of a rental

List the sales channels (for example Airbnb or Booking.com) connected to one rental. Pages with cursor_gt or cursor_lt. Hosthub API: GET /rentals/{rentalId}/channels.

ParameterTypeDescription
rental_id *stringThe rental id (from a list or get tool).
cursor_gtstringNext-page cursor (cursor_gt from navigation.next).
cursor_ltstringPrevious-page cursor (cursor_lt from navigation.previous).

hosthub_list_rate_plans List rate plans of a rental

List the rate plans of one rental, with id, name, whether it is the default, and its status (active or inactive). Hosthub API: GET /rentals/{rentalId}/rate-plans.

ParameterTypeDescription
rental_id *stringThe rental id (from a list or get tool).

hosthub_get_rate_plan Get a rate plan

Get one rate plan by its encoded id: name, default flag, status, and URL. Hosthub API: GET /rate-plans/{encodedId}.

ParameterTypeDescription
rate_plan_id *stringThe rate plan id (from a list or get tool).

hosthub_get_rate_plan_daily_rates Get daily rates of a rate plan

Get the daily rates of one rate plan: the price per night for each date the API holds. Hosthub API: GET /rate-plans/{encodedId}/rates.

ParameterTypeDescription
rate_plan_id *stringThe rate plan id (from a list or get tool).

hosthub_list_users List users

List the users of the account (owners and team members) with id, name, email, status, and team role. Hosthub API: GET /users.

hosthub_get_user Get a user

Get one user by id: name, email, phone number, status, and team role. Hosthub API: GET /users/{userId}.

ParameterTypeDescription
user_id *stringThe user id (from a list or get tool).

hosthub_list_team_members List team members

List team members with their roles. Filter by role id or rental id. Hosthub API: GET /team-members.

ParameterTypeDescription
rental_idstringOnly members with access to this rental id (rental_id_eq).
role_idstringOnly members with this role id (role_id_eq).

hosthub_list_calendar_events List calendar events

List calendar events (bookings and holds). With rental_id, list only that rental; without it, list across all rentals. Filter by updated or created integers and visibility. Pages with cursor_gt or cursor_lt. Hosthub API: GET /calendar-events or GET /rentals/{rentalId}/calendar-events.

ParameterTypeDescription
created_gtintegerOnly items with a created value above this integer (integer filter, as the API documents it).
created_gteintegerOnly items with a created value at or above this integer (integer filter, as the API documents it).
cursor_gtstringNext-page cursor (cursor_gt from navigation.next).
cursor_ltstringPrevious-page cursor (cursor_lt from navigation.previous).
is_visiblestringVisibility filter: all, true, or false.
rental_idstringOnly events of this rental id. Omit for all rentals.
updated_gtintegerOnly items with an updated value above this integer (integer filter, as the API documents it).
updated_gteintegerOnly items with an updated value at or above this integer (integer filter, as the API documents it).

hosthub_get_calendar_event Get a calendar event

Get one calendar event (booking or hold) by id: type, dates, rental and unit, guest details, and money fields. Hosthub API: GET /calendar-events/{calendarEventId}.

ParameterTypeDescription
calendar_event_id *stringThe calendar event id (from a list or get tool).

hosthub_list_calendar_event_notes List notes of a calendar event

List the internal notes on one calendar event. Hosthub API: GET /calendar-events/{calendarEventId}/notes.

ParameterTypeDescription
calendar_event_id *stringThe calendar event id (from a list or get tool).

hosthub_create_calendar_event Create a booking or hold

Create a booking or a hold (a blocked period) for one rental. A booking needs guest details; a hold needs hold_reason. This changes live availability on every connected channel. Hosthub API: POST /rentals/{rentalId}/calendar-events.

ParameterTypeDescription
date_from *stringFirst night, yyyy-mm-dd.
date_to *stringCheck-out date, yyyy-mm-dd.
rental_id *stringThe rental id (from a list or get tool).
type *stringBooking for a guest stay, or Hold to block the dates.
check_in_timestringLocal time, HH:MM.
check_out_timestringLocal time, HH:MM.
guest_adultsinteger
guest_childreninteger
guest_citystring
guest_emailstring
guest_namestring
guest_phonestring
hold_reasonstringReason for a Hold.
notesstring
titlestringTitle shown in the calendar.

hosthub_update_calendar_event Update a calendar event

Change the dates, times, guest details, or notes of an existing calendar event. Only the fields you pass change. This can move availability on connected channels. Hosthub API: POST /calendar-events/{calendarEventKey}.

ParameterTypeDescription
calendar_event_id *stringThe calendar event id (from a list or get tool).
check_in_timestringLocal time, HH:MM.
check_out_timestringLocal time, HH:MM.
date_fromstring
date_tostring
guest_adultsinteger
guest_childreninteger
guest_emailstring
guest_namestring
guest_phonestring
notesstring

hosthub_delete_calendar_event Delete a calendar event

Delete one calendar event (booking or hold). This changes availability for its dates. Hosthub API: DELETE /calendar-events/{calendarEventId}.

ParameterTypeDescription
calendar_event_id *stringThe calendar event id (from a list or get tool).

hosthub_add_calendar_event_note Add a note to a calendar event

Add a note to one calendar event. Hosthub API: POST /calendar-events/{calendarEventId}/notes.

ParameterTypeDescription
calendar_event_id *stringThe calendar event id (from a list or get tool).
content *stringThe note text.