概要
Magento 2 / Adobe Commerceを任意のAIエージェントから操作: 商品、カテゴリー、注文、顧客、在庫。48個のツール、Bearer管理トークン認証、ストアごとのベースURL。
ガイド付きセットアップ
Magento を Microsoft Copilot に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで Magento を接続して、MCP URL を Microsoft Copilot に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
こう聞いてみよう
Magento (Adobe Commerce) のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Magento (Adobe Commerce) をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Magento (Adobe Commerce) + Microsoft Copilot
Magento 2 / Adobe Commerceを任意のAIエージェントから操作: 商品、カテゴリー、注文、顧客、在庫。48個のツール、Bearer管理トークン認証、ストアごとのベースURL。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MAGENTO_BASE_URL, MAGENTO_ACCESS_TOKEN
ステップ 1 — 認証情報を取得
Setup:
- As Magento admin → System → Integrations → Add New Integration.
- Name + email, then on the API tab pick scopes: at minimum Catalog (Products + Categories + Stock), Customers, Sales (Orders + Invoices + Shipments). For the newer tools also grant Sales (Credit Memos), Carts, Marketing (Cart Price Rules) and Stores (Product attributes), and Content (Pages + Blocks) for the CMS tools.
- Activate the integration → grant access. Magento generates an Access Token (this is the long-lived bearer token).
- Set:
MAGENTO_BASE_URL= your storefront base URL (e.g.https://shop.example.com)MAGENTO_ACCESS_TOKEN= the integration access token- There is no store view setting: requests go to the
defaultstore view, the guest cart tools take the store view code as theirstoreCodeparameter (defaultunless you pass another code frommagento_list_store_views), and CMS pages and blocks always useall
Authentication: Authorization: Bearer ${MAGENTO_ACCESS_TOKEN}.
…(continued in the in-app connector instructions)
プロモーション、価格、ソース別在庫: カート価格ルールとそのクーポンコード (ルールの検索・取得・作成・変更、コードの追加や一括生成)、SKU・ストア・期間ごとの特別価格 (取得と予約設定)、ソースごとの Multi-Source Inventory 在庫 (取得と設定)、色やサイズなどの選択式属性のオプション (一覧と追加)、選択したスコープでの商品更新 (magento_update_product_in_scope、all はすべてのストアビューが継承する値)、ショッピングカート (放棄カートのフォローアップなどのための未完了カートの検索)、クレジットメモ (取得) を扱えます。これらのツールはインストール時にオンで、手順 2 の追加 API リソースが必要です。変更の前には毎回、AI が書き込む内容を示し、あなたの承認を待ちます。
すでにインストール済みですか? 以前にインストールしたコネクターにも、カタログ更新で新しいツールが届きます。AnythingMCP でコネクターを開き、Catalog update available の下で新しいツールの一覧を確認して Apply update をクリックしてください。認証情報や自分で追加したツールはそのまま残ります。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Microsoft Copilot にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Microsoft Copilot は、Copilot Studio で作成したエージェントを通じて MCP サーバーを使います。AnythingMCP をツールとしてエージェントに追加し、そのエージェントを Microsoft 365 Copilot と Teams に公開します。Copilot Studio は Microsoft のクラウドから Streamable HTTP で接続し、AnythingMCP はこれに対応しています。
- Copilot Studio でエージェントを開き(または新規作成し)、Tools で Add a tool → New tool → Model Context Protocol を選びます。
- Server name(例:
AnythingMCP)、コネクタでできることを説明する Server description、Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力します。Copilot Studio はこの説明をもとに、いつサーバーを呼び出すかを判断します。 - 認証で API key を選び、Type を Header、ヘッダー名を
X-API-Keyにして Create を選びます。 - Add tool で Create a new connection を選び、AnythingMCP の MCP API キー(MCP Servers → 対象のサーバー → API keys)を貼り付けて Add to agent を選びます。
- エージェントの Test ウィンドウで試します。
Magento (Adobe Commerce)のツールが必要になる依頼をしてみましょう。 - Publish を選び、Channels → Microsoft 365 and Microsoft Teams で Make agent available in Microsoft Copilot を選択したまま Add channel を選びます。See agent in Teams で自分用にインストールされます。Microsoft 365 Copilot では @ を入力してエージェントを選びます。
ユーザーごとにサインインさせたい場合は、API キーの代わりに OAuth 2.0 → Dynamic discovery を選びます。各ユーザーは、エージェントが初めて呼び出すときに AnythingMCP にサインインします。
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Copilot Studio は Microsoft のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
magento_search_products | Search products with Magento's search criteria DSL |
magento_get_product | Fetch a single product by SKU |
magento_create_product | Create a product |
magento_update_product | Update a product by SKU (PUT) |
magento_delete_product | Permanently delete a product by SKU |
magento_update_stock | Update inventory stock for a SKU at a source |
magento_list_categories | List the category tree (or below a rootCategoryId) |
magento_search_orders | Search orders |
magento_get_order | Fetch one order by ID with billing/shipping addresses, items[], status history |
magento_cancel_order | Cancel an order (only valid in pending/processing status) |
magento_search_customers | Search customers with the same DSL |
magento_get_customer | Fetch one customer by ID |
magento_list_store_views | List the store views of the Magento / Adobe Commerce instance (id, code, name, website) |
magento_list_low_stock_items | List stock items whose quantity is below a threshold: product id, SKU, qty, in-stock flag and low-stock date |
magento_create_guest_cart | Start a new empty guest cart (a quote, not yet an order) in a store view and return its cart id for the other guest cart tools |
magento_get_guest_cart | Read a guest cart: items (SKU, name, qty, price, item id), customer e-mail, addresses, currency and whether it is still active (false once… |
magento_add_guest_cart_item | Add a product to a guest cart by SKU and quantity |
magento_apply_guest_cart_coupon | Apply a coupon (discount) code to a guest cart; Magento answers 404 when the code does not exist or does not apply |
magento_estimate_guest_cart_shipping | List the shipping methods and prices available for a guest cart to an address: carrier_code, method_code, amount and availability |
magento_set_guest_cart_shipping | Set the shipping address, billing address and shipping method of a guest cart |
magento_list_guest_cart_payment_methods | List the payment methods the guest cart can use (code and title, e.g. checkmo, banktransfer, cashondelivery, free) |
magento_get_guest_cart_totals | Read the totals of a guest cart: subtotal, discount (with the applied coupon), shipping, tax and grand total per item and overall, in the… |
magento_place_guest_order | Place the order from a guest cart: sets the customer e-mail, payment method and billing address and turns the cart into a real order, which… |
magento_search_cms_pages | Search CMS pages (content pages such as about-us, shipping, terms) with id, identifier (URL key), title, active flag, meta data and the… |
magento_get_cms_page | Read one CMS page by its numeric id, including the full HTML content, layout and meta data |
magento_search_cms_blocks | Search CMS blocks (reusable content such as header, footer and homepage banners) with id, identifier, title, active flag and the HTML… |
magento_get_cms_block | Read one CMS block by its numeric id, including the full HTML content |
magento_create_cms_page | Create a CMS page |
magento_update_cms_page | Change a CMS page |
magento_create_cms_block | Create a CMS block |
magento_update_product_in_scope | Update a product by SKU in a chosen scope: storeCode all (default) writes the global values every store view inherits; a store view code… |
magento_find_carts | Search shopping carts (quotes) of the store, for example open carts with items to follow up abandoned baskets: cart id, active flag… |
magento_find_cart_price_rules | Search cart price rules (sales rules: discounts and coupon campaigns): rule id, name, active flag, websites, customer groups, dates, action… |
magento_get_cart_price_rule | Get one cart price rule by id with all its fields, conditions and action conditions |
magento_find_coupons | Search coupon codes: coupon id, rule id, code, usage limit, uses per customer, times used, expiration and whether it is the rule's primary… |
magento_get_special_prices | Get the scheduled special prices of products by SKU: price, store id and the from and to dates |
magento_list_credit_memos | Search credit memos (refund documents): entity id, increment id, order id, state, totals refunded, adjustments, items and dates |
magento_get_credit_memo | Get one credit memo by entity id: order, state, refunded totals, shipping and adjustments, items with SKU, quantity and amounts, and… |
magento_list_attribute_options | List the options of a select or multiselect product attribute (e.g. color, size, manufacturer): label and value (the option id to put in a… |
magento_list_source_items | List Multi-Source Inventory stock per source: SKU, source code, quantity and status (1 in stock, 0 out of stock) |
magento_create_cart_price_rule | Create a cart price rule (a discount, optionally with coupons) |
magento_update_cart_price_rule | Change a cart price rule, e.g. its dates, discount or active flag |
magento_add_coupon_code | Add one coupon code to a cart price rule with coupon type SPECIFIC_COUPON and auto generation on, or replace its main code |
magento_generate_coupon_codes | Generate a batch of unique coupon codes for a cart price rule whose coupon type is AUTO (or SPECIFIC_COUPON with auto generation on) |
magento_schedule_special_prices | Add or update special prices of products for a store and period |
magento_add_attribute_option | Add an option to a select or multiselect product attribute, e.g. a new color |
magento_set_source_items | Set the stock of SKUs per Multi-Source Inventory source: quantity and status (1 in stock, 0 out of stock) for each sku and source_code pair |
magento_update_cms_block | Change a CMS block |
FAQ
どの Copilot が対象ですか? 職場で使う Microsoft 365 Copilot で、Copilot Studio のエージェントを通じて利用します。個人アカウント向けの Microsoft Copilot アプリでは、独自の MCP サーバーを追加できません。
何が必要ですか? エージェントを作成するために、Copilot Studio を利用できる職場アカウント(ライセンスまたは試用版)が必要です。Microsoft 365 Copilot や Teams でエージェントを使う人には、エージェントへのアクセス権が必要です。共有するか、管理者に組織向けに公開してもらってください。組織が Power Platform コネクタにデータ ポリシーを適用している場合は、MCP サーバーにも適用されます。
エージェントがツールを呼び出しません。 ヘッダー名が正確に X-API-Key であること、キーが URL と同じ MCP サーバーのものであることを確認し、Server description を具体的に書いてください。Copilot Studio はこの説明をもとにサーバーを呼び出すかどうかを判断します。変更のたびにエージェントを再公開し、開いているチャットでは "start over" と入力すると新しいバージョンになります。
次のステップ
このガイドは役に立ちましたか?