Okam

io.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.

已验证Streamable HTTP可网页运行效率与工作流开发者工具商业与电商

概览

AI 生成的概览

Okam 的远程 MCP 服务器让助手为挪威餐厅搭建自有订餐网站,并完成菜单、购物车、配送与结账等顾客下单流程。

可以做什么
  • 学习搭建套件、阅读其文档,再连接本地店面并核验各项检查
  • 浏览门店、门店详情与配送方式,并查询地址是否可由 Wolt 配送
  • 列出菜单分类与商品及过敏原信息,并配置商品规格与选项
  • 添加、修改和删除购物车条目,设置配送信息,并在结账前校验购物车
  • 列出支付方式,通过 Dintero 或 DinteroVipps 发起结账,并核验外部支付
  • 读取服务器基本信息
适用场景
适用于编码助手为 Okam 上的餐厅搭建或修改自有订餐网站,也适用于助手引导顾客选择门店、组建购物车并完成支付。以门店管理员身份登录的餐厅业主还会看到管理工具。
运行要求
通过 streamable HTTP 连接 api.okam.no 远程端点,无需安装软件包。搭建无需登录。顾客工具会要求顾客用手机验证码登录,管理工具仅在门店管理员登录后出现。未登录请求按 IP 共享每分钟 120 次的限额。
安装前请注意
顾客与管理工具会操作真实购物车和支付:checkout_start 返回由顾客在 Dintero 页面确认的支付链接,管理端改动是需业主批准的提案。登录使用手机验证码。未登录请求按 IP 限流,应避免循环调用并在收到 HTTP 429 时退避。价格与总额由 Okam 以整数 øre 计算。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Okam,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Okam-AS%2Fokam/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "okam": {
      "type": "http",
      "url": "https://api.okam.no/mcp"
    }
  }
}

工具

19

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必填selectedOptionIds

store_list

List stores

List stores available to the current user. Optional longitude and latitude improve distance sorting.

输入参数latitudelongitude

storefront_verify_result

Read 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.

输入参数runIdstorefrontKey

storefront_connect

Connect 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"}.

输入参数pathoriginstorefrontKey

menu_list

List 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必填

cart_add_item

Add to cart

Add a configured product to the cart. Use product_configure first for required variant option ids.

输入参数notesstoreId必填quantityproductId必填selectedOptionIds

checkout_verify

Verify payment

Verify an external payment after the user has completed the returned payment URL. Provider is vipps or dintero.

输入参数provider必填paymentReference必填

kit_docs_get

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"}.

输入参数blocktopic

server_info

Server info

Public: basic information about the Okam MCP server.

无需输入参数。

kit_learn

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.

输入参数frameworkkitVersion

payment_methods_list

List 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必填

cart_validate

Validate cart

Validate the current cart before checkout.

输入参数storeId必填

store_get

Get store

Get store details, including supported delivery types. Choose a delivery type before listing menu prices.

输入参数storeId必填

cart_get

Get cart

Get the current cart for a store.

输入参数storeId必填

cart_set_delivery

Set delivery

Set cart delivery type and delivery details. This must be called before listing product prices or adding products to cart.

输入参数citycommentstoreId必填zipCodetableNametipAmountuseRewardtipPercentfullAddressdeliveryType必填deliveryInstructions

delivery_availability_check

Check delivery address

Check whether Wolt delivery can deliver to an address and return the delivery price if available.

输入参数city必填storeId必填zipCode必填fullAddress必填

product_configure

Configure product

Get all variants, option ids and allergens for configuring a product before adding it to cart.

输入参数productId必填deliveryType必填

checkout_start

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必填

cart_remove_item

Remove cart line

Remove a cart line item.

输入参数storeId必填lineItemId必填

版本历史

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

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

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