cart_update_item
Update cart line
Update quantity, notes, or selected options on an existing cart line item. Quantity <= 0 removes the item.
notesstoreId必填quantity必填lineItemId必填selectedOptionIdsio.github.Okam-AS由 GitHub 帳號 Okam-AS 發布v1.0.0更新於 Oct 30, 2026
Build a Norwegian restaurant's own ordering site on Okam. Call kit_learn first. No sign-in to build.
Okam 的遠端 MCP 伺服器讓助理為挪威餐廳打造自有訂餐網站,並完成菜單、購物車、外送與結帳等顧客下單流程。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.Okam-AS%2Fokam/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"okam": {
"type": "http",
"url": "https://api.okam.no/mcp"
}
}
}Update cart line
Update quantity, notes, or selected options on an existing cart line item. Quantity <= 0 removes the item.
notesstoreId必填quantity必填lineItemId必填selectedOptionIdsList stores
List stores available to the current user. Optional longitude and latitude improve distance sorting.
latitudelongitudeRead a verify run: what passed, what to fix
Store key: call after running the verify command, with the runId of that latest run. Pass or fail per check, and whether the server saw the run's sandbox order paid; when green, the go-live list. The CLI's PASS/WAIT/FAIL lines are authoritative: checks that only WAITed (sandbox guest sign-in) are missing here, so a run with no FAIL in the CLI has nothing to fix. While the store is closed the payment checks FAIL; rerun while it is open. If every check FAILed with locator.waitFor: Timeout, no menu item appeared: the server stopped or the origin differs from storefront_connect's; fix it and rerun. The record changes only when verify runs again.
runIdstorefrontKeyConnect a running site and get its verify command
Store key: call when the site is served from a process that keeps running (background, fixed port) and menu items show at that origin. Use http://localhost:<port>, not 127.0.0.1: the sandbox key allows only localhost. Returns whether the origin is allowed, a runId and the exact verify command; run it as returned while the site runs. Sign-in and every check after it WAIT until the sandbox guest exists: report them, never stub sign-in. If originAllowed is false, read kit_docs_get topic onboarding. Each call starts a new run; use the latest runId. Example: {"storefrontKey":"pk_test_…","origin":"http://localhost:5173"}.
pathoriginstorefrontKeyList menu
List categories and products, with each product's allergens, for a store after delivery type has been selected. Delivery type affects product availability and prices. Results come in pages of whole categories; when nextPage is set, call again with that page for more.
pagestoreId必填deliveryType必填Add to cart
Add a configured product to the cart. Use product_configure first for required variant option ids.
notesstoreId必填quantityproductId必填selectedOptionIdsVerify payment
Verify an external payment after the user has completed the returned payment URL. Provider is vipps or dintero.
provider必填paymentReference必填Read one Storefront Kit topic or reference block
Public: with topic, that topic as Markdown; read assemble-a-shop, world-class-ordering-ux, verify-contract and the-return-page before building, the others when the steps name them. With block: where to read that reference block's source; read it, never install it. Without arguments: the topic and block lists. Read each topic once. Example: {"topic":"world-class-ordering-ux"}.
blocktopicServer info
Public: basic information about the Okam MCP server.
無需輸入參數。
Start here: learn the Okam Storefront Kit
Public: call first whenever you build or change a restaurant's own ordering website on Okam. Returns the must-nots (the server owns every price, payment is the guest's own act), the build steps, the sandbox key, the topics and, with framework, the scaffold plan. The kit gives logic and outcomes, never a look: design the site from the restaurant's brief. Not for ordering food as a guest or for restaurant admin. Example: {"framework":"vite-react"}. Next: kit_docs_get for the topics the steps name.
frameworkkitVersionList payment methods
List payment methods available for the current cart/user. Saved Stripe cards have ids; Dintero and Vipps are returned as payment types.
storeId必填Validate cart
Validate the current cart before checkout.
storeId必填Get store
Get store details, including supported delivery types. Choose a delivery type before listing menu prices.
storeId必填Get cart
Get the current cart for a store.
storeId必填Set delivery
Set cart delivery type and delivery details. This must be called before listing product prices or adding products to cart.
citycommentstoreId必填zipCodetableNametipAmountuseRewardtipPercentfullAddressdeliveryType必填deliveryInstructionsCheck delivery address
Check whether Wolt delivery can deliver to an address and return the delivery price if available.
city必填storeId必填zipCode必填fullAddress必填Configure product
Get all variants, option ids and allergens for configuring a product before adding it to cart.
productId必填deliveryType必填Start checkout
Start checkout with Dintero or DinteroVipps. Returns a Dintero payment URL and reference; the guest approves the payment on Dintero's page. A zero-amount cart completes immediately. An unchanged cart gets the same payment link back.
storeId必填paymentType必填Remove cart line
Remove a cart line item.
storeId必填lineItemId必填已滿足適用檢查項的 83%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。
託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。