HotelRunner MCP by usefulapi

Read HotelRunner reservations, rooms, channels; update availability and prices; confirm or cancel.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
73%
Calidad de los nombres
70%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (4)

  • LOWTool 'hotelrunner_list_connected_channels' name length outside 3-30 rangeen hotelrunner_list_connected_channels
  • LOWTool 'hotelrunner_get_transaction_details' name length outside 3-30 rangeen hotelrunner_get_transaction_details
  • LOWTool 'hotelrunner_update_room_calendar' name length outside 3-30 rangeen hotelrunner_update_room_calendar
  • LOWTool 'hotelrunner_update_reservation_state' name length outside 3-30 rangeen hotelrunner_update_reservation_state

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,369Tokens (definiciones de herramientas)
~1.6 KBTamaño de respuesta típico
Impacto moderado en la atención (1.85% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "hotelrunner": {
      "url": "https://hotelrunner.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://hotelrunner.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢hotelrunner_list_rooms

List the property's room types and rates with their inv_code and rate_code, capacity, pricing type, sales currency, connected channel codes and whether availability, restrictions and prices can be updated through the API. Use the inv_code with hotelrunner_update_room_calendar. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/rooms.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢hotelrunner_list_reservations(from_date, from_last_update_date, booked, modified, page, ...)

List reservations of the property (new, modified, canceled), newest data first as HotelRunner returns them, 1-50 per page. By default ALL reservations created in the window are returned (this tool sets undelivered=false, so reading does not depend on a PMS having fetched them). from_date is the creation date (HotelRunner keeps at most 30 days back; default 10 days); from_last_update_date finds reservations changed since a date. detail 'summary' (default) gives guest, dates, rooms, totals, payment state and contact; 'full' returns the whole vendor record including billing address, national id, daily prices and extras. Reply: items, count, page, pages, next_page. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/reservations.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "from_date": {
      "description": "Only reservations created on/after this date, yyyy-mm-dd (max 30 days back; default 10 days back).",
      "type": "string",
      "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
    },
    "from_last_update_date": {
      "description": "Only reservations updated on/after this date, yyyy-mm-dd.",
      "type": "string",
      "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
    },
    "booked": {
      "description": "true = only new (not modified) bookings.",
      "type": "boolean"
    },
    "modified": {
      "description": "true = only modified reservations.",
      "type": "boolean"
    },
    "page": {
      "description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 10000
    },
    "per_page": {
      "description": "Reservations per page, 1-50 (default 10).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 50
    },
    "detail": {
      "description": "'summary' (default) or 'full' vendor records (large).",
      "type": "string",
      "enum": [
        "summary",
        "full"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢hotelrunner_get_reservation(reservation_number, from_date)

One reservation by its HotelRunner code (hr_number, e.g. R377873409) or the sales channel's own reservation code, with the full vendor record (rooms, daily prices, extras, payments, guest and billing details, next_states). If the reservation is older than HotelRunner's lookup window, pass from_date. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/reservations?reservation_number=.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "reservation_number": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:\\- ]{1,64}$",
      "description": "HotelRunner reservation code (hr_number, e.g. R377873409) or the sales channel's reservation code."
    },
    "from_date": {
      "description": "Creation-date window start, yyyy-mm-dd (HotelRunner keeps at most 30 days back).",
      "type": "string",
      "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
    }
  },
  "required": [
    "reservation_number"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢hotelrunner_list_channels

All sales channels HotelRunner supports (name and code, e.g. bookingcom, expedia, hrs, online). The code is what hotelrunner_update_room_calendar takes in channel_codes. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/channels.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢hotelrunner_list_connected_channels

The channels this property is connected to, each with counts of calendar update processes in progress, succeeded and failed. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/connected_channels.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢hotelrunner_get_transaction_details(transaction_id)

Per-channel status of a calendar update: pass the transaction_id returned by hotelrunner_update_room_calendar. Shows succeeded / failed / in-progress counts and each channel's state and error message. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/transaction_details.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "transaction_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "transaction_id from an update reply."
    }
  },
  "required": [
    "transaction_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴hotelrunner_update_room_calendar(inv_code, start_date, end_date, availability, price, ...)

WRITE: change availability, price, minimum/maximum stay, stop-sale, closed-to-arrival (cta) or closed-to-departure (ctd) for ONE room type (inv_code) over a date range of at most 90 days, optionally only on some weekdays and only on some channels. Only the fields you pass are changed. This is LIVE inventory: HotelRunner pushes it to every connected channel (Booking.com, Expedia, your own booking engine, ...) and it changes what guests can book and pay. The price is the base-rate price in the property's sales currency; guest-based prices derive from it. Only rooms whose availability_update / restrictions_update / price_update flag is true (hotelrunner_list_rooms) accept that kind of change. HotelRunner answers asynchronously: the reply has a transaction_id; check per-channel results with hotelrunner_get_transaction_details. Send one change per call, not a full refresh. Counts as one of the property's 250 requests per day (5 per minute). PUT /api/v2/apps/rooms/daily.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "inv_code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9:_.-]{1,64}$",
      "description": "An inventory code from hotelrunner_list_rooms, e.g. HR:1903."
    },
    "start_date": {
      "type": "string",
      "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
      "description": "First date to change, yyyy-mm-dd."
    },
    "end_date": {
      "type": "string",
      "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
      "description": "Last date to change (inclusive), yyyy-mm-dd."
    },
    "availability": {
      "description": "Rooms available to sell.",
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "price": {
      "description": "Base nightly price in the property's sales currency.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 10000000
    },
    "min_stay": {
      "description": "Minimum nights.",
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "max_stay": {
      "description": "Maximum nights.",
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "stop_sale": {
      "description": "true = close the room for sale on these dates, false = reopen.",
      "type": "boolean"
    },
    "cta": {
      "description": "Closed to arrival.",
      "type": "boolean"
    },
    "ctd": {
      "description": "Closed to departure.",
      "type": "boolean"
    },
    "days": {
      "description": "Only these weekdays, 0 = Sunday ... 6 = Saturday (default: every day).",
      "maxItems": 7,
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 6
      }
    },
    "channel_codes": {
      "description": "Only these channels (codes from hotelrunner_list_connected_channels); default: all connected channels of the room.",
      "maxItems": 60,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_.-]{1,40}$"
      }
    }
  },
  "required": [
    "inv_code",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴hotelrunner_update_reservation_state(hr_number, event, cancel_reason, confirm)

WRITE: move ONE reservation to the next state: event 'confirm' (hotelier accepts it) or 'cancel' (cancels it; cancel_reason is required: customer, no_room, no_show or invalid_price). Cancel is not reversible through this API and releases the room; HotelRunner may notify the guest or the sales channel (Booking.com, Expedia, ...), so only cancel when the user clearly asked for it, and pass confirm=true for a cancel. Only possible when the reservation's requires_response is true and the event is in its next_states (see hotelrunner_get_reservation); otherwise HotelRunner answers state_change_is_not_available. Counts as one of the property's 250 requests per day (5 per minute). PUT /api/v2/apps/reservations/fire.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "hr_number": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:-]{1,64}$",
      "description": "HotelRunner reservation code (hr_number)."
    },
    "event": {
      "type": "string",
      "enum": [
        "confirm",
        "cancel"
      ],
      "description": "'confirm' or 'cancel'."
    },
    "cancel_reason": {
      "description": "Required for cancel: customer, no_room, no_show or invalid_price.",
      "type": "string",
      "enum": [
        "customer",
        "no_room",
        "no_show",
        "invalid_price"
      ]
    },
    "confirm": {
      "description": "Required true for event 'cancel': the user explicitly approved cancelling this reservation (not reversible).",
      "type": "boolean"
    }
  },
  "required": [
    "hr_number",
    "event"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas