hostaway-kit

io.github.stylabs由 GitHub 账号 stylabs 发布v1.0.2更新于 Oct 25, 2026

Read-only Hostaway MCP: listings, calendar, inbox, reports. Fixtures, no key. By STYLABS.

概览

AI 生成的概览

只读的 Hostaway MCP 服务器,让助手查询房源、日历、预订和收件箱会话,并生成入住率、收件箱和房源完整度报告。

可以做什么
列出并查看活跃房源,可按城市、名称和可用性筛选,结果中会剥离敏感字段。读取日历每日状态与价格,列出预订并去除门锁密码。浏览收件箱会话及其消息,按 SLA 分诊未回复会话,并生成有依据的回复草稿(永不发送)。生成入住率与空档、未回复会话数量、房源完整度(照片、房屋规则、设施)报告。
适用场景
适合已把 Hostaway 作为 PMS 的短租运营者,希望助手回答房源、可用性、客人收件箱和简单运营报告的问题,同时完全不回写 Hostaway。
运行要求
以 stdio 在本地运行,通常通过 npx 和 Node.js 启动。实时读取需要 Hostaway 控制台提供的 HOSTAWAY_ACCOUNT_ID 和 HOSTAWAY_CLIENT_SECRET;两者缺失时改用内置演示数据。仅支持桌面客户端;技能需从代码仓库复制,不在 npm 包内。
安装前请注意
HOSTAWAY_CLIENT_SECRET 是真实的 Hostaway API 凭据,应避免写入共享配置文件。该服务器设计为只读,没有发送或写入路径,但并非 Hostaway 官方合作产品。内置数据为演示清单,不是真实账户。

安装

在 SourceWeft 中

  1. 打开 控制台中的 hostaway-kit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

hostaway-kit

Read-only MCP server plus Cursor / Claude Code / Codex skills for operators who already run Hostaway as their PMS.

Ask an assistant about listings, calendar, inbox, and simple reports. Hostaway stays the system of record. This kit never writes — no messages, no calendar blocks, no reservations.

Shipped by STYLABS, an AI-native venture studio that builds custom Hostaway booking sites and operator dashboards. STYLABS is not an official Hostaway partner.

What you get

  1. Read-only MCP (stdio) — list_listings, get_listing, get_calendar, list_reservations, list_conversations, list_messages, plus inbox triage, draft reply, and reports.
  2. Denylist on every listing / reservation / message payload: wifiPassword, wifiUsername, doorSecurityCode, doorCode, doorCodeVendor, doorCodeInstruction, and all invoicing* contact fields.
  3. Inbox intelligence Hostaway does not compute — unanswered / SLA triage and a suggested reply grounded in that listing's fields, house rules, and calendar. Rates come from the calendar or are reported as unknown. Nothing is sent.
  4. Reports Hostaway does not ship as owner statements — occupancy and blocked holes from the calendar, unanswered thread counts, listing completeness (photos / house rules / amenities). No financials.
  5. Skills in this repo (not on npm) that tell the model to use the MCP tools and never invent numbers.

Mapped to the Hostaway Public API:

Kit behaviourHostaway
Active listingsGET /v1/listings?specialStatus[]=active
One listingGET /v1/listings/{id}?includeResources=1
CalendarGET /v1/listings/{id}/calendar?includeResources=1
Stay search on the listavailabilityDateStart, availabilityDateEnd, availabilityGuestNumber
Check-in / check-outintegers 0–23 (checkInTimeStart, checkInTimeEnd, checkOutTime)
AmenitiesamenityId integers, not free-text names (GET /v1/amenities resolves names)
InboxGET /v1/conversations, GET /v1/conversations/{id}/messages
Create reservation / send messageout

If HOSTAWAY_ACCOUNT_ID or HOSTAWAY_CLIENT_SECRET is unset, the server serves bundled fixtures so npx still demos.

Install / run

bash
npx -y hostaway-kit

Or from this repo:

bash
npm installnpm run buildnode dist/index.js

stdio only. Logs go to stderr. Credentials are optional.

Environment

VariableRequiredPurpose
HOSTAWAY_ACCOUNT_IDfor live readsHostaway account id (client_id on POST /v1/accessTokens)
HOSTAWAY_CLIENT_SECRETfor live readsClient secret from the Hostaway dashboard
HOSTAWAY_KIT_NOWnoISO timestamp that pins "now" for SLA math (used by tests)

Get an API client secret from the Hostaway dashboard. This kit does not ship or use a Hostaway account.

Cursor

Add to ~/.cursor/mcp.json (or project .cursor/mcp.json):

json
{  "mcpServers": {    "hostaway": {      "command": "npx",      "args": ["-y", "hostaway-kit"],      "env": {        "HOSTAWAY_ACCOUNT_ID": "your-account-id",        "HOSTAWAY_CLIENT_SECRET": "your-client-secret"      }    }  }}

Leave both env values empty, or omit env, to run the fixture demo.

Copy the skills from this repo into Cursor:

bash
cp -R skills/* ~/.cursor/skills/

Claude Code

Add to ~/.claude.json (or project .mcp.json):

json
{  "mcpServers": {    "hostaway": {      "command": "npx",      "args": ["-y", "hostaway-kit"],      "env": {        "HOSTAWAY_ACCOUNT_ID": "your-account-id",        "HOSTAWAY_CLIENT_SECRET": "your-client-secret"      }    }  }}

Skills:

bash
mkdir -p .claude/skillscp -R skills/* .claude/skills/

Codex

~/.codex/config.toml:

toml
[mcp_servers.hostaway]command = "npx"args = ["-y", "hostaway-kit"]
[mcp_servers.hostaway.env]HOSTAWAY_ACCOUNT_ID = "your-account-id"HOSTAWAY_CLIENT_SECRET = "your-client-secret"

Skills live in this repository under skills/. Point Codex at that folder or copy the SKILL.md files into your Codex skills path.

Skills (repo only)

SkillWhen to use
skills/hostaway-pmsHostaway stays the PMS. Do not push their website builder.
skills/hostaway-guest-answersAnswer guests from that listing's fields only.
skills/hostaway-availabilityDate-range availability from list filters + calendar.
skills/hostaway-inboxSLA triage and draft. Never send.
skills/hostaway-reportingOccupancy, holes, unanswered counts, completeness.

The npm package is the MCP server only. Skills stay in git.

Tools

ToolWhat it does
list_listingsActive listings; optional city / name / availability filters
get_listingOne listing, resources included, secrets stripped
get_calendarDay rows with status, isAvailable, price (null = unknown)
list_reservationsReservations; door codes stripped
list_conversationsInbox threads
list_messagesMessages in a thread
inbox_triageUnanswered + SLA (breached / waiting / answered)
draft_replyGrounded draft. send is always false.
report_occupancyReserved / available / blocked + blocked holes
report_inboxUnanswered thread counts
report_completenessMissing photos, house rules, amenities

Occupancy rate = reserved nights ÷ (reserved + available). Blocked nights are listed as holes, not folded into occupancy.

Fixtures

Demo inventory (not a real Hostaway account):

  • 101 Harbor View Studio — complete listing. Raw fixture includes wifiPassword / invoicing contacts; the denylist strips them.
  • 102 Riverside Loft — no photos.
  • 103 Pine Cabin — no house rules, no amenities.
  • 199 — archived; omitted unless includeArchived is true.
  • August 2026 calendar on 101 with reserved nights, a two-night blocked hole (6–7 Aug), and 11 Aug with price: null.
  • Unread threads 501 (SLA breach), 502 (within SLA), 504 (pets question on the incomplete listing). 503 is answered.

Tests

bash
npm test

Covers denylist, fixture filters, occupancy math, SLA counts, draft refusal of secrets and invented rates, and the absence of a send path.

Out of scope

Writes of any kind. Guest Payments, Stripe, WordPress plugins, a hosted Claude connector, a Cursor marketplace plugin, Hostaway's website builder, Flagship guest websites, owner statements, or live client data.

License

MIT. See LICENSE.

Hostaway is a trademark of its owner. This project is not affiliated with or endorsed by Hostaway.

来源:README.md,提交 5267dcb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.0.2最新Oct 12, 2026
  2. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分