Magento (Adobe Commerce)

Magento (Adobe Commerce)

Drive Magento 2 / Adobe Commerce from any AI agent: products, categories, orders, customers, stock and CMS pages and blocks. 21 tools, Bearer admin-token auth, per-store base URL.

7 天免费 · 无需信用卡 · EU 托管

问 Magento 任何事

通过 AnythingMCP 对 Magento (Adobe Commerce) 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Magento
Magento (Adobe Commerce) · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Magento (Adobe Commerce)。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Magento (Adobe Commerce)

Magento 指南

面向主流 AI 客户端的逐步设置。

配置 Magento (Adobe Commerce)

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector uses the Magento 2 REST API (devdocs.magento.com).

Setup:

  1. As Magento admin → System → Integrations → Add New Integration.
  2. Name + email, then on the API tab pick scopes: at minimum Catalog (Products + Categories + Stock), Customers, Sales (Orders + Invoices + Shipments).
  3. Activate the integration → grant access. Magento generates an Access Token (this is the long-lived bearer token).
  4. Set:
    • MAGENTO_BASE_URL = your storefront base URL (e.g. https://shop.example.com)
    • MAGENTO_ACCESS_TOKEN = the integration access token
    • Optionally MAGENTO_STORE_VIEW if you want a specific store view (default 'default' or use 'all')

Authentication: Authorization: Bearer ${MAGENTO_ACCESS_TOKEN}.

Path prefix: /rest/{store_view}/V1/.... The adapter uses /rest/default/V1/ as default — if you need to target a different store view, replace baseUrl accordingly or pass ?storeCode= (Magento accepts both).

Search criteria DSL: Magento has a unique multi-key search syntax for list endpoints:

?searchCriteria[filter_groups][0][filters][0][field]=status
&searchCriteria[filter_groups][0][filters][0][value]=1
&searchCriteria[filter_groups][0][filters][0][condition_type]=eq
&searchCriteria[pageSize]=20
&searchCriteria[currentPage]=1

It's verbose but powerful. The adapter exposes the most common filters as flat params and lets you pass arbitrary criteria via searchCriteria_raw for advanced cases.

SKU as primary key: most product endpoints use SKU (not ID) in the URL: /V1/products/{sku}.

Rate limits: not enforced by Magento core — depends on hosting. On 429 back off.

Out of scope here: GraphQL endpoint (separate), Inventory MSI deep features, B2B/Commerce-only features (shared catalogs, company hierarchies), sales rules editing.

CMS pages and blocks always go through the all store code (/rest/all/V1/cmsPage, /rest/all/V1/cmsBlock), Magento's admin scope, so a page written there is not silently moved to one store view. The create and update tools change the live storefront and are installed switched off; there is no delete tool.

你的 AI 距离 Magento (Adobe Commerce) 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。