Magento 2 MCP Server: run your store by talking to AI

The module implements the open MCP standard and gives an AI assistant (Claude, ChatGPT, Cursor, Grok) direct access to the store: catalog, orders, customers, sales, CMS. The owner asks in plain words, and the AI answers with real data and, when allowed, makes changes.

TypeOpen-source Magento 2 module
StackPHP 8.1, Magento 2.4.4+, MCP, OAuth 2.1, JSON-RPC
LicenseMIT
Year2026
Magento 2 MCP Server

Task and solution

To find out how the week went, which products are running out or which reviews are waiting for moderation, a store owner has to dig through different admin sections and reports.

The goal was to give an AI assistant safe access to the store: only within a specific admin's permissions, with no API keys to copy and no risk of the AI deleting anything.

  • 40 tools: products, categories, orders, customers, reviews, CMS, sales, search terms, system health
  • 11 ready-made workflows: morning report, store checkup, abandoned cart recovery, restock plan, sales dashboard
  • Sign-in via OAuth 2.1 + PKCE with a regular Magento admin login, 2FA works as usual
  • The AI sees only what the admin's role allows in Magento ACL
  • Writes are off by default, there are no delete tools at all, and every change is audit-logged
  • Public tools for shoppers, rate-limited to 60 requests per minute per IP
  • No third-party dependencies, 291 unit tests

The module in numbers

40AI tools
11ready-made workflows
291unit tests
0third-party dependencies

Want the same result?

Tell me about your task or estimate the cost in the calculator.

Assistant
Online now