Latch
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Latch
Standing spend rules for the house.
Alexa+ filled a $250 cart and added things people excluded. A yes on checkout does not stop the next restock. Latch is the rule that stays after the chat dies.
Grant a cap. It restocks inside that cap. A price jump holds. You undo until 9pm. You revoke, and it stops.
Not a shopping chatbot. Not “confirm this one order.” Not a booking receipt.
Amazon Developer Hackathon · Alexa+ track · 23 Oct 2026. Product name is Latch.
Demo (about three minutes)
Grant: Hill’s Science Diet 15lb, max $40, fire at 3 days left, hold if price jumps 15 percent, undo until 9pm. Card shows LCH-14.
Time-skip to 3 days. It buys at $28. Card shows LED-8821 and mock order ORD-440.
Kill the tab. “What did you buy?” Same IDs.
Mutate the fixture to $33. Trigger. Hold. No charge.
Undo the $28 buy. Ledger is
undone.Revoke. Next trigger is
denied.
Speech is illegal without entry_id and provider_ref. Empty ledger → it says it failed.
Local: npm run dev then open the printed URL. Buttons on the left are the tape.
Related MCP server: Signal402 Payment Guard
Golden cases
# | Case | Pass |
1 | Grant then trigger → commit under cap |
|
2 | Excluded SKU (Sony under a Hill’s rule) |
|
3 | Price +18% |
|
4 | Undo before 9pm |
|
5 | Undo after deadline | rejected |
6 | Revoke then trigger |
|
7 | New session | same |
8 | Empty ledger | cannot say “bought” |
9 | Qty 2 when max 1 |
|
10 | Clock advance, no grant | no buy |
npm testProtocol
MCP 2025-11-25 Streamable HTTP at
POST /mcpTools:
grant_latch,get_latch,run_triggers,undo_entry,revoke_latchDemo-gated:
advance_clock,set_catalog_priceCards:
/apps/grant.html,/apps/hold.html,/apps/ledger.html(resourceUrion mutating results)State: D1 rules + ledger. Catalog: KV fixture
hills-15lb/sony-headphonesHousehold:
X-Latch-Household. No MCP session id required.Privacy / terms:
/privacy,/terms
Friction Amazon asked for: FRICTION.md.
Setup
Needs Node and Wrangler. No Token Factory key. No model.
npm install
npx wrangler types
npx wrangler d1 migrations apply latch --local
npm test
npm run devDeploy only when you want a public URL:
npx wrangler d1 create latch
npx wrangler kv namespace create CATALOG
# put the real ids in wrangler.jsonc, then:
npx wrangler types
npx wrangler d1 migrations apply latch --remote
npx wrangler deployCustom hostname later: mcp.latch.<your-domain>.
What this is not
No runtime LLM
No real Amazon cart
No VoiceCart
confirmed=truecheckoutNo restaurant booking
No Alexa or Amazon in the product name
Law: PRODUCT.md. Design: DESIGN.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP for Living Stack offer discovery and buyer-authorized checkout preparation.
Let Claude or Cursor pay for MCP tools under hard caps, with Approve or Decline on every pay.
Buy verified human work through MCP with owner-controlled agent spend accounts.
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to enforce spend policies (allow, deny, step-up, allowlist) on agent wallets with an immutable audit trail.-
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ agents to purchase x402-protected digital resources while a human retains control over budget, approval, and wallet signing via MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables household consent management for ambient MCP, supporting irreversible actions via propose/commit with hash-locked payloads and providing a pantry/reorder interface.9 npmMIT
- AlicenseAqualityCmaintenanceBudget, approval, and receipt layer that agents call when they buy on a human's behalf. MCP server with dry-run by default.755 npmMIT