Skip to main content
Glama
Hostaway-mcp

Hostaway-mcp

@prosperkartik/hostaway-mcp

Hostaway PMS用のModel Context Protocol (MCP) サーバー — Claudeをバケーションレンタルの運用に接続します。

@prosperkartik/hostaway-mcp は、Claude(Claude Code、Claude Desktop、またはMCP互換クライアント)をHostawayアカウントに接続し、リスティング、予約、カレンダーの空き状況、ゲストへのメッセージング、財務データにアクセスできるようにします。2022年以来、短期賃貸事業者向けにHostaway、Ciirus、および主要なOTA API(Airbnb、VRBO、Booking.com、Expedia、Marriott)を本番環境で統合してきたエンジニアによって作成されました。

npm version license

HostawayはHostaway Inc.の商標です。このプロジェクトはコミュニティによって構築されたものであり、Hostawayと提携または推奨されているものではありません。

このサーバーの利点

理由は3つあります:

  1. ツールの網羅性。 リスティング、予約、カレンダー、会話、財務、ヘルスチェックにわたる10個の読み取り専用ツールを提供しており、この分野の他のコミュニティMCPサーバーよりも広範な機能をカバーしています。

  2. よりクリーンな認証UX。 HostawayのAPI設定ページで提供される2つの認証情報(アカウントID + APIキー)を使用し、OAuthトークンの交換を内部で処理します。「最初に別の場所でベアラトークンを生成する」といった手順は不要です。

  3. APIの実務経験者が構築。 作者は3年以上にわたり、Hostaway / Ciirusの統合業務に携わっており、その設計思想が反映されています。ツールは単なるRESTエンドポイントではなく、実際のオペレーターのワークフローに合わせてマッピングされています。

Related MCP server: Lodgify MCP Server

ツール (v0.1)

v0.1のツールはすべて読み取り専用です。書き込み操作は今後のバージョンで追加予定であり、明示的な確認を必要とする仕様になります。

ツール

説明

whoami

ヘルスチェック — 接続されたアカウントの件数(リスティング、予約、会話、オーナー明細、ユーザー)を返します。セットアップが機能しているか確認するために最初に実行してください。

list_listings

アカウント上の物件を一覧表示します

get_listing

単一のリスティングの詳細 — 場所、収容人数、価格、評判、チャネルURL

list_reservations

到着日の範囲やステータスでフィルタリング可能な予約一覧

get_reservation

単一の予約の詳細 — ゲスト、日付、価格、チャネル

list_calendar

指定期間におけるリスティングの1日ごとの空き状況 — *「物件XはAからBの間で空いていますか?」*という質問に答えます

list_conversations

未読状態と最終アクティビティを含むゲストとのメッセージスレッド一覧

list_unread_conversations

未読のゲストメッセージがある会話のみ — *「誰が返信を待っていますか?」*という質問に答えます

get_conversation_messages

単一の会話の全メッセージ履歴

list_owner_statements

オーナーの財務明細一覧

クイックスタート

1. Hostaway API認証情報の取得

Hostawayオペレーターアカウントの Settings → Hostaway API に移動し、API認証情報を生成します。Account ID と API Key が取得できます。

2. Claude Codeへの追加

claude mcp add hostaway \
  --scope user \
  -e HOSTAWAY_ACCOUNT_ID=your-account-id \
  -e HOSTAWAY_API_KEY=your-api-key \
  -- npx -y @prosperkartik/hostaway-mcp

(または --scope local を使用して現在のプロジェクトのみにインストールしてください。)

3. Claude Desktopへの追加

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) を編集し、以下を追加します:

{
  "mcpServers": {
    "hostaway": {
      "command": "npx",
      "args": ["-y", "@prosperkartik/hostaway-mcp"],
      "env": {
        "HOSTAWAY_ACCOUNT_ID": "your-account-id",
        "HOSTAWAY_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Desktopを再起動します。ツールピッカーにHostawayツールが表示されます。

4. 試してみる

Claudeに以下のように尋ねてみてください:

  • 「whoamiを実行してHostawayが接続されているか確認して。」

  • 「Hostawayのリスティングを一覧表示して。」

  • 「来週チェックインする予約は何ですか?」

  • 「リスティング12345は5月10日から17日まで空いていますか?」

  • 「未読のゲストメッセージはありますか?」

  • 「[ゲスト名]との会話を見せて。」

出力例 (プレースホルダーデータ)

> List my Hostaway listings.

Found 3 listings:

| ID    | Name              | Location          | Beds | Baths | Capacity | Status |
|-------|-------------------|-------------------|------|-------|----------|--------|
| 10001 | Sample Apt 2BR    | Sample City, US   | 2    | 2     | 4        | active |
| 10002 | Sample Loft       | Sample City, US   | 1    | 1     | 2        | active |
| 10003 | Sample Beachfront | Sample Beach, US  | 3    | 2     | 6        | active |
> Is listing 10001 available May 10–17?

# Calendar for listing 10001
8 days returned (2026-05-10 → 2026-05-17)  ·  6 available, 2 reserved, 0 blocked

| Date       | Available | Status   | Price | Min stay | Reserved | Blocked | Note |
|------------|-----------|----------|-------|----------|----------|---------|------|
| 2026-05-10 | ✓         | available| 220   | 2        | 0        | 0       |      |
| 2026-05-11 | ✓         | available| 220   | 2        | 0        | 0       |      |
| 2026-05-12 | ✗         | reserved | 220   | 2        | 1        | 0       |      |
| ...                                                                            |

設定

環境変数

必須

説明

HOSTAWAY_ACCOUNT_ID

はい

HostawayアカウントID (OAuthの client_id として機能)

HOSTAWAY_API_KEY

はい

Hostaway APIシークレット (OAuthの client_secret として機能)

サーバーは起動時にこれらをベアラトークンと交換し、プロセス存続期間中メモリ内にキャッシュします。

ローカル開発

git clone https://github.com/prosperkartik/hostaway-mcp.git
cd hostaway-mcp
npm install
cp .env.example .env  # fill in credentials
npm run build
npm start

tsx を使用したホットリロード:

npm run dev

ロードマップ

  • [x] v0.1 — リスティング、予約、カレンダー、会話、財務、ヘルスチェックにわたる10個の読み取り専用ツール

  • [ ] v0.2 — タスク (list_tasks, get_task)、キャンセルポリシー、カスタムフィールドの読み取り

  • [ ] v0.3 — ゲスト支払いの読み取り、Webhookの読み取り

  • [ ] v0.4+ — 書き込み操作(ゲストへのメッセージ送信、カレンダーブロックの更新、タスク作成)。明示的な confirm: true による保護付き

リクエストがある場合は、Issueを作成するか、ディスカッションを開始してください。

セキュリティ

  • 認証情報は環境変数のみに保持され、このサーバーによってディスクに書き込まれることはありません

  • ベアラトークンはプロセスメモリ内にのみ存在し、永続的なストレージには保存されません

  • v0.1はエンドツーエンドで読み取り専用であり、このコードベースのいかなる機能もHostawayのデータを変更することはできません

  • 複数物件を管理するオペレーターの場合、Hostaway APIは提供された認証情報のアカウントにスコープされたデータを返すため、アカウントをまたいだアクセスは不可能です

貢献

IssueやPRを歓迎します。コードベースは小さく読みやすいため、src/index.ts から始めてください。

ライセンス

MIT — LICENSE を参照してください。

作者

Kartik Vats (@prosperkartik) が構築 — Kodeit のAIエンジニア。PMS/OTA統合およびLLMツール開発において3年間の実務経験があります。

バケーションレンタルのオペレーターやホスピタリティテックチームの方で、AIを運用に組み込むためのサポートが必要な場合は、kodeit.io またはメール prosperkartik@gmail.com までご連絡ください。

Available Tools

10 tools
get_conversation_messagesA

Fetch the full message history of a single conversation by id. Returns each message with direction (incoming/outgoing), timestamp, and body.

Inputs: conversation_id (required).

get_listingA

Fetch full details for a single Hostaway listing by id. Returns location, capacity, pricing, reputation, and channel URLs as Markdown sections.

Inputs: listing_id (required).

get_reservationA

Fetch full details for a single Hostaway reservation by id. Returns guest info, dates, pricing breakdown, and channel details.

Inputs: reservation_id (required).

list_calendarA

Get the availability calendar for a single listing across a date range. Returns per-day availability, status, price, minimum stay, and reserved/blocked counts. Use this to answer 'is property X available between dates A and B?'

Inputs: end_date (required), listing_id (required), start_date (required).

list_conversationsA

List guest message threads (conversations) on the connected Hostaway account. Returns a compact Markdown table with conversation id, guest, linked listing/reservation, unread state, and last activity time.

Inputs: limit.

list_listingsA

List properties (listings) on the connected Hostaway account. Returns a compact Markdown table with id, name, location, bedrooms/bathrooms, person capacity, and status.

Inputs: limit.

list_owner_statementsA

List owner financial statements on the connected Hostaway account. Returns a compact table of statement id, name, and status. Useful for revenue and payout reporting.

Inputs: limit.

list_reservationsA

List reservations on the connected Hostaway account. Optional filters by arrival date range and reservation status. Returns a Markdown table with the most useful operational fields.

Inputs: limit, status, arrival_end_date, arrival_start_date.

list_unread_conversationsA

List only guest message threads that have unread messages. The most useful tool for answering 'do I have any guests waiting on a reply?'

Inputs: limit.

whoamiA

Health-check tool — confirms credentials work and returns a quick summary of the connected Hostaway account: counts of listings, reservations, conversations, owner statements, and users. Use this first when setting up to verify the connection.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: listings, reservations, calendar, conversations, statements, and account health. Even similar tools like list_conversations and list_unread_conversations are clearly differentiated by the unread filter.

    Naming Consistency4/5

    Tools follow a verb_noun pattern consistently (list_listings, get_listing, list_reservations, get_reservation, list_calendar, get_conversation_messages, list_owner_statements, list_conversations). The only minor deviation is 'whoami', which breaks the pattern but is a common convention.

    Tool Count5/5

    10 tools is well within the ideal range for a property management server. Each tool earns its place by covering a core aspect of the domain without redundancy or bloat.

    Completeness4/5

    The tool surface covers read-only operations for listings, reservations, calendar, conversations, and statements, plus a health check. While there are no write/update tools, the server appears intentionally informational; minor gaps like batch availability or reservation creation are not critical for typical queries.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with Hostaway's property management platform through standardized MCP tools. Provides access to listings, bookings, guest communication, and availability checking for vacation rental management.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query reservations, listings, calendars, financials, and guest conversations from the Hostaway property management API using natural language.
      40 npm
      MIT