Hostex MCP Server

Hostex MCP Server

Enables management of vacation rental properties through the Hostex API, including reservations, guest communications, availability calendars, reviews, and channel listings.

Category
访问服务器

README

hostex-mcp

Release Check hostex-ts Updates Smithery

Model Context Protocol server for the Hostex property management API. Manage your vacation rental properties, reservations, guest communications, and more through Claude and other MCP clients.

Built on hostex-ts - TypeScript client library for Hostex API v3.0.0.

Features

  • 🏠 Properties - Property and room type management
  • 📅 Reservations - CRUD operations, custom fields, lock codes
  • 📊 Availability - Property availability calendars
  • 📋 Listings - Channel listings, pricing, inventory
  • 💬 Messaging - Guest communication and messaging
  • Reviews - Review management and responses
  • 🔗 Webhooks - Real-time event notifications
  • ⚙️ Utilities - Custom channels and income methods

Available Tools (25+)

  • hostex_list_properties - List all properties
  • hostex_list_room_types - List room types
  • hostex_list_reservations - Search and filter reservations
  • hostex_create_reservation - Create direct bookings
  • hostex_cancel_reservation - Cancel reservations
  • hostex_update_lock_code - Update stay lock codes
  • hostex_get_custom_fields - Get custom field values
  • hostex_update_custom_fields - Update custom fields
  • hostex_list_availabilities - Check property availability
  • hostex_update_availabilities - Block/open dates
  • hostex_list_conversations - List guest conversations
  • hostex_get_conversation - Get conversation details
  • hostex_send_message - Send messages to guests
  • hostex_list_reviews - Query reviews
  • hostex_create_review - Leave reviews or replies
  • hostex_list_webhooks - List configured webhooks
  • hostex_create_webhook - Register new webhooks
  • hostex_delete_webhook - Remove webhooks
  • hostex_get_listing_calendar - Get listing calendars
  • hostex_update_listing_prices - Update channel prices
  • hostex_list_custom_channels - List custom channels
  • hostex_list_income_methods - List income methods

Installation

Option 1: Via Smithery (Recommended)

Install directly from Smithery:

npx -y @smithery/cli install @keithah/hostex-mcp --client claude

Or add the hosted server URL to your MCP client:

https://server.smithery.ai/@keithah/hostex-mcp/mcp

When prompted, provide your Hostex API access token.

Option 2: MCPB Package

  1. Download the latest .mcpb file from Releases
  2. Double-click the file to install in your MCP client
  3. Configure your Hostex API token when prompted

Option 3: Manual Installation (Claude Desktop)

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or ~/.config/Claude/claude_desktop_config.json on Linux):

{
  "mcpServers": {
    "hostex": {
      "command": "npx",
      "args": ["-y", "hostex-mcp"],
      "env": {
        "HOSTEX_ACCESS_TOKEN": "your_hostex_api_token"
      }
    }
  }
}

Or use the Smithery hosted server:

{
  "mcpServers": {
    "hostex": {
      "url": "https://server.smithery.ai/@keithah/hostex-mcp/mcp",
      "env": {
        "HOSTEX_ACCESS_TOKEN": "your_hostex_api_token"
      }
    }
  }
}

Configuration

You need a Hostex API access token. Get yours from your Hostex account settings at https://www.hostex.io/

The server accepts configuration through the configSchema:

  • accessToken (required): Your Hostex API access token

Usage Examples

Once installed, you can ask Claude natural language questions like:

  • "Show me all my Hostex properties"
  • "List reservations checking in this week"
  • "Block property 12345 for next weekend"
  • "Send a welcome message to the guest in conversation ABC123"
  • "What reviews have I received this month?"
  • "Create a direct booking for property XYZ"

Development

Prerequisites

  • Node.js >= 18
  • npm

Setup

# Clone the repository
git clone https://github.com/keithah/hostex-mcp.git
cd hostex-mcp

# Install dependencies
npm install

# Build for stdio transport
npm run build:stdio

# Build for streamable HTTP transport
npm run build:shttp

# Build both transports
npm run build:all

Testing Locally

# Start dev server with Smithery
npm run dev

Architecture

This MCP server uses:

Transports

The server supports two transport protocols:

  • stdio - Standard input/output (for local MCP clients like Claude Desktop)
  • shttp - Streamable HTTP (for remote/web-based MCP clients)

Both are built using Smithery for seamless multi-transport support.

Automatic Updates

This repository includes a GitHub Actions workflow that:

  1. Checks hourly for new releases of hostex-ts on npm
  2. Automatically creates a PR to update the dependency
  3. Bumps the patch version
  4. Rebuilds the MCP bundles

When you merge the PR and create a new release tag, the MCPB package is automatically built and attached to the GitHub release.

Requirements

  • Node.js >= 18
  • MCP-compatible client (Claude Desktop v0.10.0+, or any MCP client)
  • Hostex account with API access

Documentation

License

MIT

Author

Keith Hadfield

Support

  • Issues: GitHub Issues
  • Hostex API: https://docs.hostex.io/
  • MCP Documentation: https://modelcontextprotocol.io/

Note: This is an unofficial community project and is not officially supported by Hostex.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选