微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🍽️

自然语言搞定热门餐厅预订

Tmp.ZBtDoQky0D · v0.5.4
效率 安全 C 级 作者 chrischall 公开目录收录
1.1k 下载 0 安装 3.4k 收藏 10 浏览

简介

通过自然语言管理 Resy 餐厅预订,支持搜索、预订、取消、收藏及 Priority Notify 订阅,基于非官方逆向 API。

原始描述

Manage Resy restaurant reservations via MCP — search venues, book tables, list and cancel reservations, manage favorites, and subscribe to Priority Notify. T...

通过你的 Agent 添加

安装目录:resy-mcp/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/tmp-zbtdoqky0d/
Codex CLI~/.codex/skills/tmp-zbtdoqky0d/
DeepSeek Harness~/.agents/skills/tmp-zbtdoqky0d/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

resy-mcp 是一款基于 MCP 协议的 Resy 餐厅预订管理工具,允许用户通过自然语言完成从搜索餐厅到预订、取消的全流程操作。安装后需在配置文件中填入 Resy 邮箱和密码即可完成认证。

主要功能模块:

  • 餐厅搜索:resy_search_venues 支持按日期、人数、地理位置搜索可用餐厅
  • 预订管理:resy_book 复合调用自动匹配时段并完成预订,resy_list_reservations 和 resy_cancel 管理现有预订
  • 收藏与提醒:resy_add_favorite 维护"hit list",resy_add_notify 订阅热门餐厅放位通知
  • 支付管理:自动使用默认支付方式,支持指定特定付款方式

显著优点

  1. 自然语言交互:无需打开 Resy App,直接对话完成复杂预订流程
  2. Priority Notify 自动化:解决热门餐厅"秒没"痛点,自动监听放位
  3. 复合 booking 接口:resy_book 内部自动完成查 slot→取详情→预订的串联,降低调用复杂度
  4. MCP 生态集成:可与 Claude 等 AI 助手深度整合,形成日程规划→餐厅预订→日历写入的完整 workflow

潜在缺点与局限性

  1. 非官方 API 风险:明确使用 Resy 私有 web-app API 逆向,存在随时被封禁或接口变更的可能
  2. 地域限制:默认 NYC 坐标,其他城市需手动传入 lat/lng
  3. 认证依赖:需明文存储邮箱密码,不支持 OAuth 等现代认证方式
  4. config_token 易过期:slot token 几分钟内失效,无法跨会话持久化
  5. 反逆向工程:收藏和提醒端点为逆向推测,可能因 Resy 更新而失效

适合人群

  • 高频 Resy 用户,尤其是纽约、洛杉矶等 Resy 核心市场用户
  • 需要预订热门/难订餐厅的食客(如 Carbone、4 Charles Prime Rib)
  • 希望将餐厅预订整合进 AI 工作流的产品经理、美食博主
  • 不介意使用非官方工具的技术接受度较高的用户

常规风险

风险类型 说明
账号安全 明文密码存储于本地配置文件,存在泄露风险
服务中断 Resy 可随时封禁非官方 API 调用,导致功能失效
预订失败 高并发场景下 slot 被抢占,可能造成"以为订到实际未成功"
隐私合规 个人用餐偏好、地理位置等数据流经第三方工具
TOS 违规 使用逆向 API 可能违反 Resy 用户协议,存在账号受限风险

技能正文


name: resy-mcp description: Manage Resy restaurant reservations via MCP — search venues, book tables, list and cancel reservations, manage favorites, and subscribe to Priority Notify. Triggers on phrases like "book a table at", "find me a reservation", "what reservations do I have", "cancel my Resy", "add to my Resy hit list", or any request involving restaurant reservations on Resy. Requires resy-mcp installed and the resy server registered (see Setup below).

resy-mcp

MCP server for Resy — natural-language restaurant reservation management. Uses Resy's private web-app API with email + password auth.

⚠️ Resy does not publish an official API. This server uses the same private endpoints the Resy web app calls, with the public web-app api_key and user-level auth via email + password. Use at your own discretion.

Setup

Option A — npx (recommended)

Add to .mcp.json in your project or ~/.claude/mcp.json:

{
  "mcpServers": {
    "resy": {
      "command": "npx",
      "args": ["-y", "resy-mcp"],
      "env": {
        "RESY_EMAIL": "you@example.com",
        "RESY_PASSWORD": "yourpassword"
      }
    }
  }
}

Option B — from source

git clone https://github.com/chrischall/resy-mcp
cd resy-mcp
npm install && npm run build

Then add to .mcp.json:

{
  "mcpServers": {
    "resy": {
      "command": "node",
      "args": ["/path/to/resy-mcp/dist/bundle.js"],
      "env": {
        "RESY_EMAIL": "you@example.com",
        "RESY_PASSWORD": "yourpassword"
      }
    }
  }
}

Or place .env in the project directory with RESY_EMAIL= and RESY_PASSWORD=.

Authentication

  • RESY_EMAIL + RESY_PASSWORD are required. The client logs in lazily on first request via POST /3/auth/password, caches the returned token for the process lifetime, and re-logs automatically on 401 / 419 / auth-like 500 responses.
  • RESY_API_KEY is optional. If unset, the client uses the public web-app key baked into resy.com's JS bundle. Override only if Resy rotates it.

Tools

User

Tool Description
resy_get_profile Current user profile — name, email, phone, booking count, member-since. Payment method IDs are stripped.
resy_list_payment_methods List saved payment methods (id, brand, last_four, exp_month, exp_year, is_default). The id feeds resy_book's payment_method_id.

Venues

Tool Description
resy_search_venues(date, party_size, query?, lat?, lng?, limit?, radius_meters?) Search venues with availability for a date + party size. Defaults to NYC geo.
resy_find_slots(venue_id, date, party_size, lat?, lng?) List bookable slots at a venue — each includes a short-lived config_token.
resy_get_venue(venue_id) Full venue details.

Reservations

Tool Description
resy_book(venue_id, date, party_size, desired_time?, lat?, lng?, payment_method_id?) Composite: find fresh slot → details → book. desired_time is "HH:MM" (24h); closest match wins if no exact slot. Uses default payment method unless payment_method_id is supplied.
resy_list_reservations(scope?) List reservations. scope: upcoming (default), past, or all. Each result includes the resy_token needed for cancellation.
resy_cancel(resy_token) Cancel by resy_token (rr://…). Inspects the response body to set cancelled: true/false honestly.

Favorites

Tool Description
resy_list_favorites List favorited venues ("hit list").
resy_add_favorite(venue_id) Add a venue to favorites.
resy_remove_favorite(venue_id) Remove from favorites.

Priority Notify

Tool Description
resy_list_notify List Priority Notify subscriptions.
resy_add_notify(venue_id, date, party_size, time_start?, time_end?) Subscribe to notifications when slots open. time_start / time_end are HH:MM (24h); default window 18:00–21:00.
resy_remove_notify(notify_id) Cancel a Priority Notify subscription.

Workflows

Book a specific restaurant at a specific time:

resy_search_venues(query: "carbone", date: "2026-05-01", party_size: 2)
  → find venue_id
resy_book(venue_id, date: "2026-05-01", party_size: 2, desired_time: "19:00")

See what's available tonight near me:

resy_search_venues(date: "2026-04-20", party_size: 2, lat: 37.7749, lng: -122.4194)
  → returns venues with baked-in slot availability

Cancel a reservation:

resy_list_reservations() → find resy_token for the one to cancel
resy_cancel(resy_token)

Stalking a hard-to-get table:

resy_search_venues(query: "4 charles prime rib", ...) → venue_id
resy_add_notify(venue_id, date: "2026-05-31", party_size: 2, time_start: "19:00", time_end: "21:00")
# Resy emails you when a slot opens

Notes

  • Slot config_tokens expire within minutes of being fetched. resy_book re-fetches fresh slots internally — don't try to thread a stale token from resy_find_slots into a book call manually.
  • resy_book requires a payment method on file at resy.com/account. If none exists it throws a clear error.
  • Default geo is NYC (40.7128, -73.9876). Pass lat/lng for other cities.
  • Favorites and Priority Notify endpoint paths are reverse-engineered. If a call fails with 404, run npm run smoke locally against your credentials and adjust the path.
  • RESY_API_KEY env var overrides the baked-in public web-app key if Resy ever rotates it.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

restaurantreservationresybookingdiningfoodlifestyleapi-reverse-engineering

同类 Skill