Hosthub MCP by usefulapi
v1.3.1Read 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}.
| Parameter | Type | Description |
|---|---|---|
rental_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
rental_id * | string | The rental id (from a list or get tool). |
cursor_gt | string | Next-page cursor (cursor_gt from navigation.next). |
cursor_lt | string | Previous-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.
| Parameter | Type | Description |
|---|---|---|
rental_id * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
rate_plan_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
rate_plan_id * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
rental_id | string | Only members with access to this rental id (rental_id_eq). |
role_id | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
created_gt | integer | Only items with a created value above this integer (integer filter, as the API documents it). |
created_gte | integer | Only items with a created value at or above this integer (integer filter, as the API documents it). |
cursor_gt | string | Next-page cursor (cursor_gt from navigation.next). |
cursor_lt | string | Previous-page cursor (cursor_lt from navigation.previous). |
is_visible | string | Visibility filter: all, true, or false. |
rental_id | string | Only events of this rental id. Omit for all rentals. |
updated_gt | integer | Only items with an updated value above this integer (integer filter, as the API documents it). |
updated_gte | integer | Only 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}.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
date_from * | string | First night, yyyy-mm-dd. |
date_to * | string | Check-out date, yyyy-mm-dd. |
rental_id * | string | The rental id (from a list or get tool). |
type * | string | Booking for a guest stay, or Hold to block the dates. |
check_in_time | string | Local time, HH:MM. |
check_out_time | string | Local time, HH:MM. |
guest_adults | integer | |
guest_children | integer | |
guest_city | string | |
guest_email | string | |
guest_name | string | |
guest_phone | string | |
hold_reason | string | Reason for a Hold. |
notes | string | |
title | string | Title 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}.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string | The calendar event id (from a list or get tool). |
check_in_time | string | Local time, HH:MM. |
check_out_time | string | Local time, HH:MM. |
date_from | string | |
date_to | string | |
guest_adults | integer | |
guest_children | integer | |
guest_email | string | |
guest_name | string | |
guest_phone | string | |
notes | string |
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}.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
calendar_event_id * | string | The calendar event id (from a list or get tool). |
content * | string | The note text. |