Latch
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LatchGrant a $40 cap on Hill's Science Diet 15lb, hold if price jumps 15%, undo until 9pm."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: dingdawg-agent-wallet
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
Paid deterministic utilities and automation services for AI agents via MCP and x402.
Agentic rails for complex workflows with receipts, fees, and MCP tool access.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceEnables AI agents to trade tokenized stocks (e.g., NVDA, TSLA) on Robinhood Chain via MCP, with non-custodial keys and spending caps.7 npmMIT- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to enforce spend policies (allow, deny, step-up, allowlist) on agent wallets with an immutable audit trail.-
- FlicenseNot gradedqualityBmaintenanceEnables secure autonomous commerce by letting MCP agents propose and recommend purchases while deterministic gates, single-use execution capabilities, and independent re-verification control all payment authorization.-
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to browse inventory and make purchases under strict human approval, with hard spending caps and auditable on-chain payment records.MIT