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。
托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。