Magento 2 MCP Server

A MCP server for Magento 2

Local serverstdioGo

What is the Magento 2 MCP Server?

A MCP server for Magento 2

What you get

This is a Model Context Protocol (MCP) server that connects to a Magento 2 REST API, allowing Claude and other MCP clients to query product information from a Magento store.

Configuration and credentials

  • Node.js (v14 or higher) - A Magento 2 instance with REST API access - API token for the Magento 2 instance

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_product_by_skuGet detailed information about a product by its SKU
search_productsSearch for products using Magento search criteria
get_product_categoriesGet categories for a specific product by SKU
get_related_productsGet products related to a specific product by SKU
get_product_stockGet stock information for a product by SKU
get_product_attributesGet all attributes for a product by SKU
get_product_by_idGet detailed information about a product by its ID
advanced_product_searchSearch for products with advanced filtering options
update_product_attributeUpdate a specific attribute of a product by SKU
get_customer_ordered_products_by_emailGet all ordered products for a customer by email address
get_order_countGet the number of orders for a given date range
get_revenueGet the total revenue for a given date range
get_revenue_by_countryGet revenue filtered by country for a given date range
get_product_salesGet statistics about the quantity of products sold in a given date range

Configuration

  • Node.js (v14 or higher) - A Magento 2 instance with REST API access - API token for the Magento 2 instance
VariableDescriptionRequired
MAGENTO_BASE_URLEndpoint or connection string the server talks to.Yes
MAGENTO_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Magento 2 to get product by sku.”
  • “Use Magento 2 to search products.”
  • “Use Magento 2 to get product categories.”

Frequently asked questions

Node.js v14 or higher, a Magento 2 instance with REST API access, and an API token for that instance.