KrabiClaw

io.github.krabiclaw由 GitHub 帳號 krabiclaw 發布v1.0.0更新於 Oct 24, 2026

Manage and publish restaurant and local business websites through MCP.

已驗證Streamable HTTP可網頁執行效率與工作流商業與電商

概覽

AI 產生的概覽

遠端 MCP 服務,可從 ChatGPT 或 Claude 管理餐廳、體驗行程、律師事務所與住宿業者的網站、預訂、付款和訊息。

可以做什麼
  • 管理和發布餐廳及在地商家網站。
  • 處理預訂與預約,包括住宿的每晚房況、價格和直接住宿預訂。
  • 處理付款以及對住客或客戶的訊息溝通。
  • 可在 KrabiClaw 後台操作,也可透過 MCP 服務由助理完成。
適用情境
適合在 KrabiClaw 上經營餐廳、體驗行程、律師事務所或住宿網站,並希望助理協助管理網站內容、預訂、付款或訊息,而不只在後台操作的使用者。
執行需求
遠端 MCP 端點 krabiclaw.com,使用 streamable HTTP,需要 OAuth 驗證。需要擁有商家或組織的 KrabiClaw 帳號;未宣告環境變數或標頭。
安裝前請注意
此服務涉及真實業務資料:網站、預訂、付款和客戶訊息,助理操作可能發布內容、產生預訂或發送訊息。OAuth 授權會存取你的帳號,付款流程涉及真實金流。連接前請確認助理可執行的操作範圍。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 KrabiClaw,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.krabiclaw%2Fkrabiclaw/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "krabiclaw": {
      "type": "http",
      "url": "https://krabiclaw.com/api/mcp"
    }
  }
}

README

KrabiClaw

KrabiClaw runs the website, bookings, payments and messaging for restaurants, experience operators, law firms and lodging hosts, managed from the dashboard or from ChatGPT and Claude through one MCP service. Lodging includes homes, nightly availability and prices, direct stay bookings and guest messaging.

Open source under AGPL-3.0.

Nuxt 5 nightly + Nitro 3 + Cloudflare Workers + D1.

Package manager: yarn only. Never npm or pnpm.


Scripts

CommandWhat it does
yarn devNuxt development server with HMR and locally emulated Cloudflare bindings at http://localhost:3000.
yarn local:setupReset local Wrangler state and migrate an empty local D1.
yarn local:seedBuild the synthetic E2E businesses in the running local Worker.
yarn dev:workerBuild and run the production-like Worker locally with Wrangler at http://localhost:3000.
yarn dev:worker:startRun the existing .output Worker build locally without rebuilding it.
yarn buildProduction build → .output/
yarn db:generateGenerate a new migrations/*.sql file from server/db/schema.ts
yarn drizzle:checkVerify server/db/schema.ts hasn't drifted from the live D1 schema
yarn stripe:listenForward Stripe webhooks to localhost (local dev only)
yarn canary:prodProduction-safe authenticated browser canary (read-only checks).
yarn canary:notificationsProduction provider-level email/WhatsApp notification canary.

Production Canary Runs

Real-send production canaries are intentionally off on normal main deploys to avoid accidental email/WhatsApp spend on every merge. To run them on demand, use the GitHub Actions workflow Production Real-Send Canaries and choose whether to send:

  • the auth OTP canary
  • the notification email/WhatsApp canary

That workflow always runs production smoke first, then only sends the real canaries you explicitly selected for that run.

See docs/notification-testing.md for the full policy on log-only vs live email/WhatsApp testing, production-safe verification, and which public submission paths send for real in production.


Local Setup

1. Install

bash
corepack yarn install

The repository uses Node.js 24.18.1. Use the exact version declared in .nvmrc before installing dependencies. When changing Node, follow the Node runtime upgrade runbook so local development, CI, type definitions, and Worker builds move together.

Yarn accepts new direct and transitive package releases only after seven days. Routine yarn add and yarn up commands apply this rule automatically. CI installs the package graph immutably and rechecks registry metadata in its hardened job.

For an urgent reviewed security fix, update only the affected package:

bash
corepack yarn up <package>@<fixed-version> --no-time-gate

Record the advisory and the reason for bypassing the wait in the pull request. Do not add a package to npmPreapprovedPackages or disable the age gate in .yarnrc.yml.

2. Environment

Copy .env.example to .env and fill in the application secrets there. This is the single local configuration for Nuxt, Wrangler, setup scripts, and E2E tests. See local development for setup and migrating an older .dev.vars file. No second secret file or symlink is needed.

3. Prepare local development

bash
corepack yarn local:setup

It leaves an empty local D1 at the current migration. Start the app (step 4), then build the synthetic businesses Playwright also uses:

bash
corepack yarn local:seed

Sign in at /login as [email protected] with E2E_PASSWORD from config/development-auth-fixtures.ts: a Better Auth admin who owns every seeded business.

4. Run

bash
corepack yarn dev

App at http://localhost:3000.

yarn dev is the normal application-development loop. Nitro reads the bindings declared in wrangler.toml, emulates local D1/KV/R2 resources, and preserves Nuxt hot module replacement. It never resets D1. Run corepack yarn local:setup and corepack yarn local:seed again to start over.

Open tenant dashboards from the dashboard UI instead of guessing their URLs. When a route must be constructed manually, the dashboard segment is the organization's slug, not its subdomain, and everything else sits directly under it: Kikuzuki's locations are /dashboard/org-bVY8SxxUuG6Ctk2CQnfCk8T2cPsj4jJX/locations.

For production-runtime browser verification, use the generated Worker locally. Wrangler reads the same .env as Nuxt. Playwright also loads it and supplies test-specific local URLs and delivery settings to the Worker.

bash
yarn test:e2e:local tests/e2e/tenant-content.spec.ts

For a production-like local Worker:

bash
yarn dev:worker

After a successful build, yarn dev:worker:start restarts that same .output without rebuilding. Source edits are not compiled into .output automatically; use yarn dev for the normal HMR editing loop.

Playwright applies the local D1 schema to an empty database, builds the Cloudflare Worker, starts it under local workerd, and seeds the synthetic businesses through the app's own boundaries (tests/e2e/seed). Authenticated tests sign in through Better Auth as the seeded fixtures; no email inbox or authentication bypass route is involved.

Local tenant tests use a shared-host routing contract: the browser targets localhost and the test helper supplies x-preview-tenant for the selected fixture. Deployed staging uses direct first-level tenant aliases instead. This is the authoritative local browser path; do not rely on direct *.localhost navigation for Worker browser verification.

text
http://localhost:3000/                  (x-preview-tenant: harbor-legal)http://localhost:3000/services          (x-preview-tenant: harbor-legal)http://localhost:3000/experiences       (x-preview-tenant: clayhouse)http://localhost:3000/reservations      (x-preview-tenant: demo)

macOS file limit fix

bash
ulimit -n 65536

Deployment

Deployment follows the branches in .github/workflows/ci.yml:

  1. Pull requests run Checks and the E2E suite against a local Worker and a local D1 seeded with synthetic businesses (tests/e2e/seed). Nothing is deployed for a pull request, and no production data is read.
  2. Pushes to staging run Checks, then deploy the staging Worker, apply staging migrations, and run read-only MCP and tenant rendering against staging itself. Nothing writes test data into real staging.
  3. Pushes to main run Checks, then deploy the production Worker, apply production migrations, and run read-only production browser verification.

CI invokes native Wrangler commands only in the matching branch job.

During an incident, use Cloudflare's deployment history to restore the last known-good production deployment without changing D1 data. Then land the source fix through staging and main and repeat the browser gates.

Production secrets live in the Cloudflare dashboard → Workers & Pages → krabiclaw → Settings → Variables.

Set protected internal job secrets with Wrangler:

bash
openssl rand -base64 32yarn wrangler secret put CRON_SECRET

CRON_SECRET protects internal scheduled endpoints. Local commands read their configuration from .env; deployed Workers use Cloudflare secrets and the variables in wrangler.toml.

MCP reconnect triage and Cloudflare auth debugging are documented in docs/observability.md.

The mandatory deployed-browser release gate and outage recovery rules are documented in docs/operations/release-and-outage-prevention.md.


Schema

server/db/schema.ts is the only schema source of truth; migrations/ holds generated output. Hand-written migrations are prohibited.


Stripe (local)

bash
yarn stripe:listen

Copy the whsec_... signing secret it outputs into .env as STRIPE_WEBHOOK_SECRET. Swap back to the production webhook secret before deploying.

Native marketplace onboarding uses a separate Accounts v2 thin-event destination and signing secret. See Stripe Connect onboarding.

來源:README.md,提交 31744dd

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.0最新Oct 16, 2026

評分

已滿足適用檢查項的 85%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分