
Kronan Mcp
io.github.sandsower由 GitHub 帳號 sandsower 發布v1.0.1更新於 Oct 24, 2026
MCP server for the Krónan grocery store API (Iceland)
概覽
針對冰島 Krónan 超市 API 的在地 MCP 伺服器,讓助理搜尋商品、管理購物清單與商品清單,並處理結帳和訂單。
- 可以做什麼
- 搜尋與讀取 Krónan 智慧商店目錄中的商品、商品詳情和分類,價格以 ISK 整數表示。管理購物備註:新增、修改、重新排序、刪除和完成項目,清空備註,並檢查門市下單資格。管理商品清單:建立、讀取、更新、刪除、清空、排序和編輯清單項目。處理結帳與訂單:查看結帳、新增結帳項目、列出和讀取訂單、刪除訂單項目、設定替代商品和降低數量。查看購買統計和帳戶資訊。
- 適用情境
- 適合在冰島擁有 Krónan Snjallverslun 帳戶、希望藉助助理規劃日常採買、整理或修改購物備註和商品清單,並透過對話查看或調整訂單的使用者。
- 執行需求
- 透過 npm(kronan-mcp)或 npx 以 stdio 在本機執行,需要 Node.js。需要 Krónan Snjallverslun 帳戶並以 Audkenni 電子身分登入,還需在使用者或客戶群組設定中建立以 act_ 開頭的存取權杖,透過環境變數 KRONAN_ACCESS_TOKEN 提供。需要連線至 Krónan API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kronan Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
kronan-mcp
MCP server for the Krónan grocery store API. Claude can browse products, manage shopping notes, handle checkout, and track orders from Krónan's Snjallverslun (smart store) in Iceland.
Tools
25 tools over the Model Context Protocol:
Install
Or run directly with npx (no install needed):
Getting a token
Tokens are created in the Krónan Snjallverslun user settings. You need an account with Audkenni (Iceland's electronic ID) login. Go to your user or customer group settings page and create an access token. Tokens are prefixed with act_.
Usage with Claude Code
Add to your project's .claude/settings.local.json or global ~/.claude/settings.json:
Then ask Claude things like:
- "Search for milk on Krónan"
- "What's in my shopping note?"
- "Add 2x of SKU 02500188 to my checkout"
- "Show my recent orders"
Architecture
Auth is Authorization: AccessToken <token> on every request. Rate limit is 200 requests per 200 seconds per user. The client detects 429 responses and tells the caller to wait.
All prices are integers in ISK (no decimals). 230 means 230 kr.
Errors go through a typed KronanApiError with status codes. The token is scrubbed from error messages so it doesn't leak to the LLM. Auth failures and rate limits get their own user-facing messages.
set_order_substitution and set_line_completion use read-then-toggle patterns. They're not idempotent. Don't retry on timeout without checking current state first.
API reference
Full OpenAPI schema at openapi-schema.yaml.
Development
Tests
31 tests on the HTTP client: constructor validation, error paths (429, timeouts, JSON parse failures), token scrubbing, toggle method validation, eligibility endpoint edge cases.
來源:README.md,提交 ba8ec21
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分