Magento 2 MCP Server

Connect your Magento 2 store to AI assistants like Claude and ChatGPT using the Model Context Protocol (MCP).

Local serverstdioGo

What is the Magento 2 MCP MCP server?

Most developer tooling work still happens through a UI a human drives. Magento 2 MCP MCP server moves it into the conversation instead. Connect your Magento 2 store to AI assistants like Claude and ChatGPT using the Model Context Protocol (MCP).

The short version

Freento MCP is a Magento 2 extension that implements the Model Context Protocol — an open standard for connecting AI assistants to external data sources. With this extension, you can:

The tools it exposes

The server publishes 14 tools. What each one is for:

  • get_orders — Query orders with filtering, pagination, and aggregation
  • get_order_items — Get order line items (products in orders)
  • get_quotes — Query shopping carts (active and abandoned)
  • get_quote_items — Get cart line items
  • get_creditmemos — Query credit memos
  • get_cart_price_rules — Query cart price rules
  • get_coupons — Query coupons
  • get_products — Query products with attribute filtering
  • get_categories — Query product categories
  • get_product_prices — Get product prices by customer group and website
  • get_product_tier_prices — Get tier price rules (quantity-based discounts)
  • get_tax_rules — Get tax rules and rates

What it needs from you

Configuration is passed through the environment: YOUR_ACCESS_TOKEN, YOUR_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Magento 2.4.x (Open Source or Commerce) - PHP 8.1 or higher - An MCP-compatible AI client (Claude Code, Claude Desktop, or ChatGPT with MCP plugin)

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Magento 2 MCP's toolset — get_orders, get_order_items, get_quotes and 11 more — is a fair guide to whether it matches your workflow. It is maintained by freento; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Magento 2 MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_ordersQuery orders with filtering, pagination, and aggregation
get_order_itemsGet order line items (products in orders)
get_quotesQuery shopping carts (active and abandoned)
get_quote_itemsGet cart line items
get_creditmemosQuery credit memos
get_cart_price_rulesQuery cart price rules
get_couponsQuery coupons
get_productsQuery products with attribute filtering
get_categoriesQuery product categories
get_product_pricesGet product prices by customer group and website
get_product_tier_pricesGet tier price rules (quantity-based discounts)
get_tax_rulesGet tax rules and rates
get_stock_single_stockGet inventory/stock levels
get_customersQuery customer accounts

How to install the Magento 2 MCP MCP server

{
  "mcpServers": {
    "magento": {
      "type": "http",
      "url": "https://your-store.com/freento_mcp/index/index",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Magento 2.4.x (Open Source or Commerce) - PHP 8.1 or higher - An MCP-compatible AI client (Claude Code, Claude Desktop, or ChatGPT with MCP plugin)
VariableDescriptionRequired
YOUR_ACCESS_TOKENCredential the server authenticates with.Yes
YOUR_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Magento 2 MCP to get orders.
  • Use Magento 2 MCP to get order items.
  • Use Magento 2 MCP to get quotes.

Frequently asked questions

It connects Magento 2 MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (get_orders, get_order_items, get_quotes, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Magento 2 MCP directly.