A MCP server for Magento 2
Magento 2 MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A MCP server for Magento 2.
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.
Once Magento 2 is connected, these are the calls the assistant has available:
get_product_by_sku — Get detailed information about a product by its SKUsearch_products — Search for products using Magento search criteriaget_product_categories — Get categories for a specific product by SKUget_related_products — Get products related to a specific product by SKUget_product_stock — Get stock information for a product by SKUget_product_attributes — Get all attributes for a product by SKUget_product_by_id — Get detailed information about a product by its IDadvanced_product_search — Search for products with advanced filtering optionsupdate_product_attribute — Update a specific attribute of a product by SKUget_customer_ordered_products_by_email — Get all ordered products for a customer by email addressget_order_count — Get the number of orders for a given date rangeget_revenue — Get the total revenue for a given date rangeSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
You will need 2 environment variables: MAGENTO_BASE_URL, MAGENTO_API_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Magento 2's toolset — get_product_by_sku, search_products, get_product_categories and 11 more — is a fair guide to whether it matches your workflow. It is maintained by boldcommerce; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| get_product_by_sku | Get detailed information about a product by its SKU |
| search_products | Search for products using Magento search criteria |
| get_product_categories | Get categories for a specific product by SKU |
| get_related_products | Get products related to a specific product by SKU |
| get_product_stock | Get stock information for a product by SKU |
| get_product_attributes | Get all attributes for a product by SKU |
| get_product_by_id | Get detailed information about a product by its ID |
| advanced_product_search | Search for products with advanced filtering options |
| update_product_attribute | Update a specific attribute of a product by SKU |
| get_customer_ordered_products_by_email | Get all ordered products for a customer by email address |
| get_order_count | Get the number of orders for a given date range |
| get_revenue | Get the total revenue for a given date range |
| get_revenue_by_country | Get revenue filtered by country for a given date range |
| get_product_sales | Get statistics about the quantity of products sold in a given date range |
| Variable | Description | Required |
|---|---|---|
| MAGENTO_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| MAGENTO_API_TOKEN | Credential the server authenticates with. | Yes |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.
Exposes REST APIs defined by OpenAPI specifications as Model Context Protocol (MCP) tools, facilitating seamless integration into MCP-based workflows.