Spree Commerce: open-source B2B and marketplace ecommerce

io.github.spree由 GitHub 帳號 spree 發布v6.0.1更新於 Nov 6, 2026

Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.

發布方自己的服務:Source

已驗證Streamable HTTP可網頁執行效率與工作流商業與電商

概覽

AI 產生的概覽

Spree 的 MCP 伺服器讓 AI 助理以自然語言管理 Spree 商店的商品目錄、回答報表問題並完成商店設定。

可以做什麼
  • 管理商品目錄:透過 Spree 後台工具建立與編輯商品及相關目錄資料。
  • 回答關於商店資料的報表問題。
  • 管理商店設定與組態。
  • 遵循與 Admin API 相同的租戶與權限規則,可用工具由登入管理員的權限決定。
適用情境
適用於經營 Spree 商店,並希望用 Claude Code、Cursor 或自建代理等 MCP 用戶端,透過後台完成商品上架、商店設定與報表查詢的情境。
執行需求
需要已啟用 MCP 伺服器的 Spree 商店(透過 spree 命令列或 spree_mcp gem 加入)。遠端端點為商店網域下的 POST /api/v3/admin/mcp,需要由真人簽發的 OAuth 權杖:用戶端引導其登入並核准權限。不接受金鑰型 API key。
安裝前請注意
助理可以修改商品目錄與商店設定等資料,核准前請確認寫入操作。存取權限取決於個人 OAuth 授權及其管理員權限,權杖被限制在已核准的範圍內。金鑰型 API key 會被拒絕,無人值守的工作應改用 Admin API 或命令列。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Spree Commerce: open-source B2B and marketplace ecommerce,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Spree MCP Server

A Model Context Protocol server for the Spree back office. Any MCP client — Claude Code, Cursor, an in-house agent — can merchandise the catalog, answer reporting questions and manage store setup in plain language, under the same tenancy and permission rules as the Admin API.

bash
spree add mcp   # or add gem 'spree_mcp' to the Gemfile

The endpoint is POST /api/v3/admin/mcp, authenticated with an OAuth token issued to a person: the client sends them to the store to sign in and approve what it may do. The token carries that admin's own permissions, narrowed to what they approved, and those decide which tools the model is offered, so an agent is never told about a capability its credential does not carry.

A Spree secret API key (sk_…) is deliberately refused here. A nightly job or a server-side integration has no person behind it; it calls the Admin API with a key, or uses the spree api CLI.

This gem is a protocol adapter and nothing more. The tools, their schemas and the permissions gating them live in spree_core as Spree.admin_agent_tools, which means an extension registers a tool without depending on this gem, and the dashboard assistant offers the same tools over a different transport.

See the documentation and docs/plans/6.0-mcp-server.md.

來源:spree/mcp/README.md,提交 4f54659

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v6.0.1最新Oct 30, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式必需10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Source 整合