Tock Mcp

io.github.chrischall由 GitHub 帳號 chrischall 發布v1.2.1更新於 Nov 5, 2026

Tock (exploretock.com): discover restaurants, search a city, get venue details and availability.

已驗證STDIO僅桌面位置與生活瀏覽器自動化

概覽

AI 產生的概覽

針對 Tock(exploretock.com)的唯讀 MCP 伺服器,讓助理透過你已登入的瀏覽器分頁瀏覽城市、搜尋餐廳並查看可訂時段。

可以做什麼
  • 列出 Tock 城市/都會區與其商家數量,並依名稱或國家篩選
  • 依關鍵字搜尋某個都會區的餐廳,回傳料理類型、價位、街區與場所 slug
  • 取得場所詳細資料,包含可預訂體驗、價格與人數範圍
  • 讀取場所的可訂行事曆:體驗、取消政策、開放日期與時間
  • 列出已登入使用者的預訂與帳戶資料,並核驗某筆預訂是否真的存在
  • 執行橋接健康檢查,回傳擴充功能狀態與一次性配對碼
適用情境
適合讓助理調查餐廳、查詢 Tock 上可訂的日期與時段,或在訂位後確認帳戶中是否真的產生該筆預訂。瀏覽功能不需登入;帳戶相關工具需要已登入 exploretock.com 的分頁。
執行需求
透過 npx 在本機執行(需要 Node.js)。需要在 Chrome 中載入 ContextMint Bridge 瀏覽器擴充功能,並保持一個 exploretock.com 分頁開啟;首次呼叫會顯示一次性配對碼,需在擴充功能彈出視窗中確認。預訂與個人資料工具需要登入 exploretock.com。不需環境變數;TOCK_WS_PORT、FETCHPROXY_WS_HOST、FETCHPROXY_IDENTITY_DIR 為選用。
安裝前請注意
請求會經由你已登入的瀏覽器工作階段轉送,助理將以你 Tock 帳戶的權限操作;請讓橋接維持在本機回環位址,並只與可信的擴充功能配對。它是唯讀的,不會代為訂位,因為 Tock 的預訂是預付票券。由於 Tock 沒有公開 API 且受 Cloudflare 挑戰保護,它靠解析伺服器端渲染頁面取資料,可能隨時失效;README 提醒需自行斟酌使用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tock Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

tock-mcp

MCP server for Tock (exploretock.com) — restaurant discovery and availability for Claude. List cities, search a metro, and get a venue's details plus its bookable experiences, prices, party sizes, and open dates/times.

Every request is relayed through your own signed-in browser tab via the ContextMint Bridge browser extension — no cookie paste, no bot-wall dance, no password handling. This project was developed and is maintained by AI (Claude Code).

Tock publishes no official consumer API, and exploretock.com sits behind a Cloudflare challenge. tock-mcp fetches the same server-rendered pages the Tock web app uses (parsing their embedded window.$REDUX_STATE store) through your signed-in tab. It is read-only — Tock reservations are prepaid tickets, so booking stays on exploretock.com. Use at your own discretion.

Install

json
// .mcp.json{  "mcpServers": {    "tock": { "command": "npx", "args": ["-y", "tock-mcp"] }  }}

You also need ContextMint Bridge (the browser extension shared by every fetchproxy-based MCP), installed from its releases page: in Chrome, unzip the chrome zip and load it unpacked (chrome://extensions → Developer mode → Load unpacked). Safari isn't available yet (it will ship inside the ContextMint app, which has no public download), so use Chrome for now. ContextMint Bridge is the fetchproxy browser extension under its new name, from the same maintainer — fetchproxy's own README (https://github.com/chrischall/fetchproxy#extension) points to it. Its source is public at https://github.com/nullnet-app/contextmint-bridge: build it yourself, or check a release zip against the .sha256 file published beside it (shasum -a 256 -c contextmint-bridge-chrome-<version>.zip.sha256). Keep an exploretock.com tab open. The first tool call prints a one-time pair code to approve in the ContextMint Bridge popup — run tock_healthcheck to trigger it. Discovery works signed-out; the account tools need you signed in to exploretock.com.

Environment

No environment variables are required. These optional knobs mirror the .mcpb manifest's settings:

VariableDefaultPurpose
TOCK_WS_PORT37149Concentrator port for the fetchproxy browser bridge. Every fetchproxy MCP on one machine shares the concentrator, so move it for all of them or none (mainly for local testing, or a hosted registration's bridge port).
FETCHPROXY_WS_HOST127.0.0.1Bridge bind interface, a literal IP only (anything else is ignored). Keep on loopback; it exists for a hosted child in its own network namespace.
FETCHPROXY_IDENTITY_DIR~/.fetchproxy/identity/Where the bridge's long-term identity keypair is stored, an absolute path only (anything else is ignored). For a host that runs a separate child per caller.

Tools

  • tock_list_metros — Tock cities/metros with business counts; filter by name/country.
  • tock_search_restaurants — venues in a metro slug (cuisine, price, neighborhood, slug).
  • tock_get_restaurant — venue details + its bookable experiences.
  • tock_get_availability — a venue's bookable calendar (experiences, prices, open dates/times).
  • tock_list_reservations / tock_get_profile — the signed-in user's purchases and profile.
  • tock_verify_reservation — after a booking attempt, re-query the account and return an explicit confirmed / cancelled / not_found / ambiguous verdict. A success screen is not proof; this is.
  • tock_healthcheck — bridge status + the one-time pair code.

Develop

bash
npm installnpm run build     # tsc + esbuild bundle → dist/bundle.jsnpm test          # vitest

Architecture and the reverse-engineered Tock surface are documented in docs/TOCK-API.md.

License

MIT

來源:README.md,提交 b1bfe60

工具

8

tock_list_metros

List Tock cities/metros (name, slug, business count, country/state). Use a metro slug with tock_search_restaurants. By default only metros with bookable venues are returned.

輸入參數limitquerycountryinclude_empty

tock_search_restaurants

List / search restaurants in a Tock metro. Pass a metro slug (from tock_list_metros, e.g. "chicago") and an optional text query. Returns venues with cuisine, price band, neighborhood, and their Tock slug (use it with tock_get_restaurant / tock_get_availability). Does NOT include bookable slots.

輸入參數limitmetro必填query

tock_get_restaurant

Get details for a Tock venue by slug: name, cuisine, price band, location, description, and its bookable experiences (with prices and party sizes). Slug comes from tock_search_restaurants (or a exploretock.com/{slug} URL).

輸入參數slug必填view

tock_get_availability

Get a venue's bookable calendar: each experience (seating/menu) with its price, party sizes, cancellation policy, plus the dates and times the venue is open. Tock returns the full open-date/time set; pass a date to focus the summary. Reservations are prepaid tickets — this MCP does not book; open the venue on exploretock.com to reserve.

輸入參數dateslug必填party_size

tock_list_reservations

List the signed-in user's Tock reservations (upcoming, past, or canceled) with venue, date/time, party size, and experience. Pass view: "brief" for one line per reservation. Requires a browser tab signed in to exploretock.com via the ContextMint Bridge extension.

輸入參數viewlimitoffsetstatus

tock_get_profile

Get the signed-in user's Tock account identity (name, email). Requires a browser tab signed in to exploretock.com via the ContextMint Bridge extension. Derived from your reservation records, so it needs at least one reservation on the account.

輸入參數view

tock_verify_reservation

Verify that a Tock reservation actually exists, by re-querying the account's own reservation lists (upcoming, canceled and past) and returning an explicit verdict. Use this after ANY booking attempt — a success screen or screenshot is not proof that a booking landed. Returns verdict `confirmed`, `cancelled` (it existed and was voided), `not_found`, or `ambiguous` (the venue string matched more than one restaurant on that date — re-run with the exact slug). A `not_found` must be reported to the user as "attempted, unverified", never as a failure to book and never as a success. Requires a browser tab signed in to exploretock.com via the ContextMint Bridge extension.

輸入參數date必填venue必填partySizebookedMinutesAgo

tock_healthcheck

Verify the ContextMint Bridge connection end-to-end

Round-trips a small public www.exploretock.com URL (/robots.txt) through ContextMint Bridge (your signed-in browser tab) and returns diagnostics: the bridge's role (host/peer/null), port, version, the extension link (linked / pair pending / not attached / never answered), the elapsed round-trip time, and a plain-English hint distinguishing 'bridge never came up' from 'extension not connected' from 'this browser can't serve a capability' from 'real www.exploretock.com-side problem'. Read-only, no auth required. Call this when a real tool fails and you want to know which hop broke.

無需輸入參數。

版本歷史

12
  1. v1.2.1最新Nov 4, 2026
  2. v1.1.9Oct 16, 2026
  3. v1.1.8Oct 10, 2026
  4. v1.1.7Oct 7, 2026
  5. v1.1.6Oct 5, 2026
  6. v1.1.5Oct 3, 2026
  7. v1.1.3Sep 25, 2026
  8. v1.1.2Sep 23, 2026
  9. v1.1.1Sep 23, 2026
  10. v1.1.0Sep 20, 2026
  11. v1.0.0Sep 19, 2026
  12. v0.5.4Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分