federation-mcp-server
Search vacation rental properties, check real-time availability, get canonical pricing quotes, and create direct bookings. Each property is its own node with live data. Supports staircase pricing, seasonal rates, and 11 languages.
README
Federation MCP Server
MCP server for vacation rental direct bookings. Search properties, check availability, get real-time pricing quotes, and create bookings through the federation protocol.
Supports seasonal pricing, guest-count tiers (staircase model), weekly/biweekly package discounts, gap-night discounts, and host-controlled federation discounts.
Install via Smithery
npx -y @smithery/cli install @info-00wt/federation-mcp-server --client claude
Tools
| Tool | Description | Read-only |
|---|---|---|
search_properties |
Search vacation rentals by location, dates, and guest count. Returns available properties with live pricing (public + federation rates). | Yes |
check_availability |
Check if a property is available for specific dates. Verifies blocked dates, bookings, and booking locks. | Yes |
get_canonical_quote |
Get detailed pricing: publicTotal (website rate), federationTotal (direct booking rate), gapTotal (gap-night discount). Per-night breakdown included. | Yes |
create_booking |
Create a direct booking at federation price. Validates availability, calculates price, creates pending booking for host approval. | No |
negotiate_offer |
Create a binding price quote with quoteId. Stores immutable snapshot, expires after 15 minutes. Pass quoteId to checkout to lock the price. | Yes |
checkout |
Create a booking with Stripe payment. Supports MPP (payment_intent mode for programmatic payment). Optionally locks price via quoteId. | No |
cancel_booking |
Cancel a booking. Handles refund calculation, Stripe refund, email notifications via Supabase Edge Function. | No |
get_booking_status |
Get booking details, property info, and cancellation policy by reservation ID. | Yes |
reschedule_booking |
Reschedule to new dates. Checks availability, recalculates price, handles Stripe charge/refund for price delta. | No |
Pricing Architecture
Host sets prices, seasons, guest tiers, federation discount
↓
property node (Supabase — source of truth)
↓
MCP Server reads live data — never cached, never estimated
↓
AI agents → federation_total (direct booking discount)
Websites → public_total (standard rate)
Gap nights → gap_total (calendar-context discount)
Price Tiers
| Scenario | Price | How |
|---|---|---|
| Website / public | publicTotal |
Sum of nightly rates per season, guest tier, and day type |
| Federation / direct booking | federationTotal |
publicTotal × (1 - host_discount%) |
| Gap night (between bookings) | gapTotal |
federationTotal × (1 - gap_discount%) |
Guest-count pricing uses a staircase model (e.g. 1-2 guests, 3-4, 5-6). The host controls all discount percentages — nothing is hardcoded.
Setup
npm install
Create .env from .env.example:
cp .env.example .env
# Fill in SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY
# Optionally add STRIPE_SECRET_KEY for checkout/cancel/reschedule tools
Required environment variables:
SUPABASE_URL— Your Supabase project URLSUPABASE_SERVICE_ROLE_KEY— Service role key (full database access)
Optional (enables Stripe-powered tools):
STRIPE_SECRET_KEY— Enablescheckout,cancel_booking, andreschedule_bookingtools
Agentic Commerce Protocol (ACP)
First vacation rental with Stripe ACP support. AI agents can complete bookings with SharedPaymentTokens — no redirect, no manual payment.
| Endpoint | Method | Purpose |
|---|---|---|
/acp/checkouts |
POST | Create checkout session |
/acp/checkouts/:id |
GET | Retrieve checkout state |
/acp/checkouts/:id |
PUT | Update (dates, guests, buyer) |
/acp/checkouts/:id/complete |
POST | Complete with SharedPaymentToken (spt_) or PaymentMethod (pm_) |
/acp/checkouts/:id/cancel |
POST | Cancel checkout + refund |
Supports Stripe SharedPaymentTokens (SPT), Klarna, Swish, and card payments. Compatible with ChatGPT Instant Checkout, Google UCP, and any ACP-compliant agent.
MCP + ACP Endpoints
| Path | Method | Purpose |
|---|---|---|
/mcp |
POST | MCP Streamable HTTP endpoint |
/mcp |
GET | Transport info |
/acp/checkouts |
POST/GET/PUT | ACP checkout lifecycle |
/health |
GET | Health check |
/.well-known/mcp.json |
GET | MCP discovery metadata |
/.well-known/mcp/server-card.json |
GET | Smithery server card |
Transport
Streamable HTTP (POST /mcp) — required for Smithery Gateway and remote MCP clients. Stateless (no session management needed).
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。