io.github.mattlong-plux/hostaway

Registre officiel Productivité

Hostaway PMS: reservations, listings, calendars, financials, and guest messaging.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @matt-long-plux/hostaway-mcp
Claude Code
claude mcp add hostaway -e 'HOSTAWAY_ACCOUNT_ID=<HOSTAWAY_ACCOUNT_ID>' -e 'HOSTAWAY_CLIENT_SECRET=<your hostaway_client_secret>' -e 'HOSTAWAY_READ_ONLY=<HOSTAWAY_READ_ONLY>' -e 'HOSTAWAY_CACHE_TTL=<HOSTAWAY_CACHE_TTL>' -- npx -y @matt-long-plux/hostaway-mcp@1.0.1
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "hostaway": {
            "command": "npx",
            "args": [
                "-y",
                "@matt-long-plux/hostaway-mcp@1.0.1"
            ],
            "env": {
                "HOSTAWAY_ACCOUNT_ID": "<HOSTAWAY_ACCOUNT_ID>",
                "HOSTAWAY_CLIENT_SECRET": "<your hostaway_client_secret>",
                "HOSTAWAY_READ_ONLY": "<HOSTAWAY_READ_ONLY>",
                "HOSTAWAY_CACHE_TTL": "<HOSTAWAY_CACHE_TTL>"
            }
        }
    }
}

Variables d'environnement

  • HOSTAWAY_ACCOUNT_ID obligatoire Your Hostaway account ID (integer)
  • HOSTAWAY_CLIENT_SECRET obligatoire secret Your Hostaway API client secret
  • HOSTAWAY_READ_ONLY Set to 'true' to disable all write/mutation tools
  • HOSTAWAY_CACHE_TTL Token cache TTL in seconds when API doesn't provide expires_in (default: 240)

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. hostaway-mcp
  2. Quick Start
  3. Setup
  4. Updating
  5. Tools Reference
  6. Read-Only Mode
  7. Environment Variables
  8. Example Queries
  9. Contributing
  10. License

hostaway-mcp

An open-source Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop, Claude Code, and Cursor to the Hostaway property management API. Query reservations, listings, calendars, financials, and guest conversations using natural language.

Quick Start

  1. Get your Account ID and Client Secret from your Hostaway dashboard under Settings > API
  2. Make sure you have Node.js 18+ installed
  3. Pick your AI client below and add the config — no cloning or building required

Setup

Claude Desktop (Mac & Windows)

Open your Claude Desktop config file:

  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following (merge with existing mcpServers if you have other servers configured):

{
  "mcpServers": {
    "hostaway": {
      "command": "npx",
      "args": ["-y", "@matt-long-plux/hostaway-mcp"],
      "env": {
        "HOSTAWAY_ACCOUNT_ID": "YOUR_ACCOUNT_ID",
        "HOSTAWAY_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      }
    }
  }
}

Restart Claude Desktop and you're ready to go.

Claude Code

Option 1 — CLI command (quickest):

claude mcp add hostaway \
  -e HOSTAWAY_ACCOUNT_ID=YOUR_ACCOUNT_ID \
  -e HOSTAWAY_CLIENT_SECRET=YOUR_CLIENT_SECRET \
  -- npx -y @matt-long-plux/hostaway-mcp

Option 2 — .mcp.json in your project root (good for sharing with teammates):

{
  "mcpServers": {
    "hostaway": {
      "command": "npx",
      "args": ["-y", "@matt-long-plux/hostaway-mcp"],
      "env": {
        "HOSTAWAY_ACCOUNT_ID": "YOUR_ACCOUNT_ID",
        "HOSTAWAY_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      }
    }
  }
}
Cursor

Add the same config to your project's .cursor/mcp.json, or go to Cursor Settings > MCP Servers > Add Server and paste:

{
  "mcpServers": {
    "hostaway": {
      "command": "npx",
      "args": ["-y", "@matt-long-plux/hostaway-mcp"],
      "env": {
        "HOSTAWAY_ACCOUNT_ID": "YOUR_ACCOUNT_ID",
        "HOSTAWAY_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      }
    }
  }
}

Updating

If you installed a previous version via npx, your system may have a cached copy. To update to the latest release:

npx clear-npx-cache

Then restart your AI client (Claude Desktop, Cursor, etc.). The next launch will automatically pull the latest version.

Alternatively, you can pin @latest in your config to always fetch the newest version on each restart:

"args": ["-y", "@matt-long-plux/hostaway-mcp@latest"]

Tools Reference

Reservations
ToolDescriptionKey Parameters
list_reservationsList reservations with filterslistingMapId, dateFrom, dateTo, status, channelId, limit
get_reservationGet full reservation detailsreservationId (required)
update_reservation_host_noteUpdate internal host notereservationId, hostNote (required)
list_reservations_by_propertyCurrent + upcoming reservations grouped by propertyNone
Listings
ToolDescriptionKey Parameters
list_listingsAll active listings with metadataincludeArchived
get_listingFull listing detailslistingId (required)
get_listing_custom_fieldsCustom field values as name-value maplistingId (required)
Calendar
ToolDescriptionKey Parameters
get_calendarAvailability and pricing calendarlistingId, startDate, endDate (all required)
get_gap_nightsFind short unbooked gaps between reservationslistingId (required), startDate, endDate, maxGapLength
create_calendar_blockBlock dates on calendarlistingId, startDate, endDate (required), note
delete_calendar_blockRemove a calendar blocklistingId, calendarBlockId (required)
Financials
ToolDescriptionKey Parameters
get_reservation_financialsFinancial breakdown for a reservationreservationId (required)
get_revenue_summaryAggregated revenue across listingsdateFrom, dateTo (required), listingId
get_payout_reportPayout report for reconciliationdateFrom, dateTo (required), channelId
Conversations
ToolDescriptionKey Parameters
list_conversationsRecent guest conversationslistingId, limit, unreadOnly
get_conversationFull message threadconversationId (required)
send_messageSend message to guestconversationId, message (required)

Read-Only Mode

Set HOSTAWAY_READ_ONLY=true to disable all write/mutation tools. When enabled, the following tools will return an error instead of executing:

  • update_reservation_host_note
  • create_calendar_block
  • delete_calendar_block
  • send_message

This is useful for shared accounts or when you want to prevent accidental modifications.

Environment Variables

VariableRequiredDescription
HOSTAWAY_ACCOUNT_IDYesYour Hostaway account ID (integer)
HOSTAWAY_CLIENT_SECRETYesYour Hostaway API client secret
HOSTAWAY_READ_ONLYNoSet to true to disable write operations
HOSTAWAY_CACHE_TTLNoToken cache TTL in seconds (default: 240)

Example Queries

Once connected, try asking Claude:

  • "Show me all upcoming reservations"
  • "What's the occupancy looking like for my properties next month?"
  • "Find gap nights across all listings for the next 90 days"
  • "How much revenue did I make last month?"
  • "Show me unread guest messages"
  • "What are the financials for reservation 12345?"
  • "Generate a payout report for Airbnb bookings in March"

Contributing

Feedback and pull requests are welcome! Please open an issue on GitHub or email matt@plux.com.

License

MIT

Questions fréquentes

Qu'est-ce que io.github.mattlong-plux/hostaway ?

Hostaway PMS: reservations, listings, calendars, financials, and guest messaging.

Comment installer io.github.mattlong-plux/hostaway ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add hostaway -e 'HOSTAWAY_ACCOUNT_ID=<HOSTAWAY_ACCOUNT_ID>' -e 'HOSTAWAY_CLIENT_SECRET=<your hostaway_client_secret>' -e 'HOSTAWAY_READ_ONLY=<HOSTAWAY_READ_ONLY>' -e 'HOSTAWAY_CACHE_TTL=<HOSTAWAY_CACHE_TTL>' -- npx -y @matt-long-plux/hostaway-mcp@1.0.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.mattlong-plux/hostaway ?

Oui. Il attend HOSTAWAY_ACCOUNT_ID, HOSTAWAY_CLIENT_SECRET, à renseigner dans sa configuration.

io.github.mattlong-plux/hostaway est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.mattlong-plux/hostaway ?

Il est publié par mattlong-plux. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.