Connector guide9-minute read48 MCP tools7 languages

Connect Magento to Microsoft Copilot via MCP

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

HCBy HelpCode teamUpdated 9 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Magento (Adobe Commerce)

Magento (Adobe Commerce)

Drive Magento 2 / Adobe Commerce from any AI agent: products (also per store view), categories, attribute options, stock per source and low-stock items, special prices, orders and credit memos, customers and carts, cart price rules and coupons, guest checkout, and CMS pages and blocks. Bearer admin-token auth, per-store base URL.

tools

48

Region

INTL

Category

E-commerce

Authentication

Bearer Token

Required env vars

MAGENTO_BASE_URLMAGENTO_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

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

Guided setup

Connect Magento to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Magento in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Magento (Adobe Commerce)

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Magento (Adobe Commerce) · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Magento (Adobe Commerce), paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Magento (Adobe Commerce) + Microsoft Copilot

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

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MAGENTO_BASE_URL, MAGENTO_ACCESS_TOKEN

Step 1 — Get credentials

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). 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.
  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
    • There is no store view setting: requests go to the default store view, the guest cart tools take the store view code as their storeCode parameter (default unless you pass another code from magento_list_store_views), and CMS pages and blocks always use all

Authentication: Authorization: Bearer ${MAGENTO_ACCESS_TOKEN}.

…(continued in the in-app connector instructions)

Promotions, prices and stock per source: cart price rules and their coupon codes (find, read, create and change rules; add a code or generate a batch), special prices per SKU, store and period (read and schedule), Multi-Source Inventory stock per source (read and set), options of select attributes such as color or size (list and add), product changes in a chosen scope (magento_update_product_in_scope, all for the values every store view inherits), shopping carts (find open carts, for example to follow up abandoned baskets) and credit memos (read). These tools install switched on and need the extra API resources from point 2; before every change the AI shows you what it will write and waits for your yes.

Already installed? The new tools reach a connector you installed earlier through its catalog update: open the connector in AnythingMCP and, under Catalog update available, check the list of new tools and click Apply update. Your credentials and any tools you added yourself stay as they are.

Step 2 — Install the adapter

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

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Magento (Adobe Commerce) tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
magento_search_productsSearch products with Magento's search criteria DSL
magento_get_productFetch a single product by SKU
magento_create_productCreate a product
magento_update_productUpdate a product by SKU (PUT)
magento_delete_productPermanently delete a product by SKU
magento_update_stockUpdate inventory stock for a SKU at a source
magento_list_categoriesList the category tree (or below a rootCategoryId)
magento_search_ordersSearch orders
magento_get_orderFetch one order by ID with billing/shipping addresses, items[], status history
magento_cancel_orderCancel an order (only valid in pending/processing status)
magento_search_customersSearch customers with the same DSL
magento_get_customerFetch one customer by ID
magento_list_store_viewsList the store views of the Magento / Adobe Commerce instance (id, code, name, website)
magento_list_low_stock_itemsList stock items whose quantity is below a threshold: product id, SKU, qty, in-stock flag and low-stock date
magento_create_guest_cartStart 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_cartRead 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_itemAdd a product to a guest cart by SKU and quantity
magento_apply_guest_cart_couponApply 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_shippingList the shipping methods and prices available for a guest cart to an address: carrier_code, method_code, amount and availability
magento_set_guest_cart_shippingSet the shipping address, billing address and shipping method of a guest cart
magento_list_guest_cart_payment_methodsList the payment methods the guest cart can use (code and title, e.g. checkmo, banktransfer, cashondelivery, free)
magento_get_guest_cart_totalsRead 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_orderPlace 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_pagesSearch 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_pageRead one CMS page by its numeric id, including the full HTML content, layout and meta data
magento_search_cms_blocksSearch CMS blocks (reusable content such as header, footer and homepage banners) with id, identifier, title, active flag and the HTML…
magento_get_cms_blockRead one CMS block by its numeric id, including the full HTML content
magento_create_cms_pageCreate a CMS page
magento_update_cms_pageChange a CMS page
magento_create_cms_blockCreate a CMS block
magento_update_product_in_scopeUpdate 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_cartsSearch 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_rulesSearch cart price rules (sales rules: discounts and coupon campaigns): rule id, name, active flag, websites, customer groups, dates, action…
magento_get_cart_price_ruleGet one cart price rule by id with all its fields, conditions and action conditions
magento_find_couponsSearch 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_pricesGet the scheduled special prices of products by SKU: price, store id and the from and to dates
magento_list_credit_memosSearch credit memos (refund documents): entity id, increment id, order id, state, totals refunded, adjustments, items and dates
magento_get_credit_memoGet one credit memo by entity id: order, state, refunded totals, shipping and adjustments, items with SKU, quantity and amounts, and…
magento_list_attribute_optionsList 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_itemsList Multi-Source Inventory stock per source: SKU, source code, quantity and status (1 in stock, 0 out of stock)
magento_create_cart_price_ruleCreate a cart price rule (a discount, optionally with coupons)
magento_update_cart_price_ruleChange a cart price rule, e.g. its dates, discount or active flag
magento_add_coupon_codeAdd 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_codesGenerate 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_pricesAdd or update special prices of products for a store and period
magento_add_attribute_optionAdd an option to a select or multiselect product attribute, e.g. a new color
magento_set_source_itemsSet 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_blockChange a CMS block

FAQ

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Magento to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Magento in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides