Magento MCP Server: AI Agent Connector for Magento 2

View Demo

The Magento MCP server gives AI assistants access to your real Magento store data, so your team can ask questions and complete tasks without switching between admin grids and exports. It works with Magento 2 and Adobe Commerce and connects to ChatGPT, Claude, Gemini, or any other MCP-compatible AI client.

  • Works with ChatGPT, Claude, Gemini, Copilot Studio, and other MCP clients
  • Ask questions and run tasks in plain English, no code needed
  • Reaches the REST API of every installed extension
  • Bulk edits in one prompt instead of grids and mass actions
  • Read-only access through admin role permissions
  • Used on 200+ stores, including ours
Not sure what MCP can do for your store? Book a call and see AI Agent Connector in action.
Hyvä
Magento Cloud
Mage-OS
Compatible with:
Community:
2.3.* - 2.4.9
Enterprise:
2.3.* - 2.4.9
Integrations
Advanced Reports for Magento 2
AI agents can create, edit, and run reports, dashboards, and email notifications with guided workflows.
Help Desk MX for Magento 2
AI agents can manage helpdesk tickets, read conversations, and update statuses with guided workflows.
Native Magento
Full access to Magento's REST API and GraphQL, plus read-only database queries, including store configuration values, out of the box.
Any Magento extension
AI agents can discover and use REST API endpoints from any installed extension automatically. No additional configuration required.

The Challenge with Store Management

Lacking the Full Picture

Jumping between admin screens, grids, and reports to piece together what's happening in your store.

Hours of Manual Work

Exporting data to spreadsheets, filtering reports, and copying information between screens.

AI Without Context

General-purpose AI assistants can't see your store data, so their advice stays generic.

The Solution

AI Agent Connector is a Magento 2 MCP server. MCP (Model Context Protocol) is the open standard AI assistants use to connect to other software, and this extension links the AI assistants your team already uses (ChatGPT, Claude, Gemini) directly to your Magento store, so you can ask questions and run tasks in plain English on your real products, orders, customers and inventory.

Sign in with your Magento admin account (OAuth 2.1). No API keys to copy.

AI Agent Connector in Plain Terms

What it does

Your team asks Claude, ChatGPT or another AI assistant about the store, and the assistant answers from live Magento data instead of guessing. It can also make the changes you ask for, within the permissions you give it.

What you need

Magento Open Source or Adobe Commerce 2.4, plus a paid plan of the AI client your team uses (for example Claude Pro or ChatGPT Plus). We can install the extension for you for free.

What it can touch

Only what the admin role allows. You can give the assistant a read-only role, limit the database tables it sees and restrict which IP addresses can connect. Details are in Control What the AI Can Change.

Who uses it

200+ Magento stores, and our own team at Mirasvit uses it across the company to run mirasvit.com. Typical tasks: sales analytics, finding an order from a partial name or email, investigating payment issues, and drafting replies to support tickets.

How It Works: From Question to Confirmed Change

1

You Ask

Send a request to your AI assistant (ChatGPT, Claude, Gemini or any other MCP client) the way you'd ask a colleague.

Reduce prices by 15% for all Summer products that haven't sold in 30 days
2

AI Analyzes

The AI breaks down your request and queries your Magento store directly. It searches products, checks order history, and filters data.

GET /V1/products
SQL query
3

You Review

The AI shows what it found before it changes anything. Every tool is marked as read-only or write, so Claude, ChatGPT and other clients ask you to confirm before a write. The admin role decides what the AI can change at all.

Found 23 products matching your criteria:

Beach Towel  -  $29.99  -  0 sold
Flip Flops  -  $24.99  -  0 sold
Tropical Swim Shorts  -  $45.00  -  0 sold
... and 20 more
4

AI Executes

Once you confirm, the AI performs the update and reports the results. One prompt replaces a grid filter, a mass action, and an export.

✓ Updated 23 products. Average discount: $12.50. Total savings for customers: $287.50
“

The extension is pretty awesome. I've been using it intensely these last few days, and now I wonder how I did without it. I'm using Claude daily to manage my site via the connector.

Jiten Poria, Leicester, England, United Kingdom

AI Agent Use Cases for Magento Store Management

Click any prompt to see how the AI responds with real store data.

Complete Store Management Through AI

Product Management

Create, update, and remove products with all their attributes, change prices and descriptions, search by any field, and edit products in bulk. Works with simple, configurable, and bundle products. Add a product photo through your assistant from a URL, or send it from your phone or computer with an upload link (how it works).

Order Management

Check order details, update statuses, find an order by customer, date range, or a partial name or email, and get a summary of pending or problem orders. Create shipments from the chat.

Inventory Control

Update quantities for one product or many, check availability across sources, and find items that need reordering. Set thresholds and see stock status across your whole catalog.

Content

Update product descriptions, edit CMS pages and blocks, and refine meta titles and descriptions for SEO. Blog posts work too if your blog extension has a REST API. Content changes across hundreds of products take one request.

Reports & Analytics

Ask about sales for any date range, best-selling products, revenue trends, and customer metrics, and compare periods. The answer comes back in the chat as a table you can copy, with no report to build first.

Store Configuration

Check configuration values, see which modules are enabled, and find out how a feature is set up without hunting through admin menus. Configuration is read-only: the AI reports values, it doesn't change them.

For Every Role

Everyone on your team can work with store data without learning the admin interface or writing queries.

  • Store Owner/Manager: Get answers to business questions (daily revenue, top products, order counts) without waiting for reports.
  • Developer: Query store data while coding, read the exception log, check cron health, and refresh caches and indexers without opening the admin panel.
  • Marketing Team: Check campaign performance, find products for promotions, and update descriptions without learning the admin panel.
  • Support Team: Find an order from a partial name or email, check shipment status, investigate payment issues, and draft replies to tickets.
  • Operations: Monitor stock levels, find low-inventory items, and update quantities without manual checks.

AI Agent Connector vs the Traditional Admin

How a request to your AI assistant compares to the usual admin panel workflow:

Task With AI Traditional Admin
Workflow Describe what you want in plain English Learn the admin layout, click through screens, fill forms
Data Access Ask for exactly what you need: "orders over $500 today" Build reports manually with filters and exports
Bulk Operations Describe the change: "reduce prices 20% for category X" Select items one by one or use mass actions with limited options
Effort One request instead of several screens and exports Multiple page loads and screen transitions
Context Follow-up questions work naturally Start over for each new query

What Is MCP? How the Magento 2 & Adobe Commerce MCP Server Works

This part is for whoever will set it up. AI Agent Connector is built on the Model Context Protocol (MCP), the open standard that lets AI assistants talk to business applications. The server runs inside your Magento and gives the assistant a set of tools, each one a separate permission in the admin role.

Available Tools

REST API of Any Installed Extension

Magento's REST API plus the endpoints of every installed extension, found automatically with no extra setup, within the role's permissions. Mirasvit Advanced Reports and Help Desk add built-in guides for the AI.

GraphQL API

Runs queries and mutations against your store's GraphQL API (Magento 2.4.4 or later).

Database Reader

Read-only SQL queries for data the APIs don't expose, with the tables each admin role can see set by you.

Media Upload

Uploads product and category images from a URL or through a short-lived upload link.

Store Diagnostics

Reads and searches Magento logs and error reports, checks cron health, and manages caches and indexers.

Store & Extension Info

Websites, store views, currencies, customer groups, the Magento version and edition, installed packages, outdated Mirasvit extensions, and Mirasvit manuals.

Ready-Made Prompts

Seven built-in prompts start common checks with one click in your AI client: sales overview, bestsellers, low stock, stuck orders, stale products, missing URL rewrites, and a configuration review. Your team can add its own prompts from the admin (how to create prompts).

Control What the AI Can Change

Before you give an AI assistant access to your store, here is what you control.

  • Which tools the AI can use: each tool is a separate permission in the admin role. Nine tools only read data; five can change it (REST API, GraphQL, Media Upload, Cache, and Indexer).
  • Read-only access: give the AI a role without those five tools. Reports, database queries, and diagnostics keep working (role setup).
  • Database access: queries are read-only, and you choose which tables each role can see.
  • Who can connect: the AI client signs in with a Magento admin account through OAuth 2.1 and a consent screen that lists the tools. You can also restrict access to allowed IP addresses. Personal access tokens for clients without OAuth support are off by default.
  • Revoking access: see when each connection was last used, and revoke one token or all of them from the admin.
  • Where your data goes: the server runs inside your Magento, with no Mirasvit proxy in between. Store data goes only to the AI provider you connect, under that provider's data policy.
  • Change history: every write an AI agent makes, successful or failed, is recorded in the Change Journal with the time, admin user and role, tool, target, and result. Passwords and keys are masked, and the agent cannot read the journal. Request logging to a file is also available and off by default.

How to Connect Magento 2 (or Adobe Commerce) to Claude, ChatGPT, Gemini & Other MCP Clients

Install the extension with Composer (or let us install it for free), add your store's MCP server URL to the AI client, and sign in with your Magento admin account. It works with:

Claude (Web, Desktop, and Claude Code; Pro, Max, Team, or Enterprise plan)
OpenAI (ChatGPT with developer mode, and Codex)
Gemini (app and Gemini CLI)
Microsoft Copilot Studio
Cursor
xAI Grok
Other MCP clients (OAuth 2.1, or a personal access token)

One AI Assistant, Every System: MCP Orchestration

The Magento MCP server gives your AI assistant a complete view of what's happening inside your store: products, orders, customers, inventory. That's a big part of the picture, but not the whole one. Your business also lives in Google Analytics, Search Console, Mixpanel, Notion, your helpdesk, your warehouse system.

Modern AI clients like Claude and ChatGPT can connect to several MCP servers at once. Plug in two or three, and your assistant can answer questions that no single tool could, because the data was always split across them.

Magento MCP + Google Analytics 4 MCP

"Which of our 10 best-selling products are losing organic traffic month over month?"

Magento MCP + Search Console MCP

"For pages that lost ranking last week, which ones generate orders, and what's the revenue at risk?"

Magento MCP + Mixpanel MCP

"Show me the funnel from product-page view to purchase for our 20 highest-margin SKUs."

Magento MCP + Notion MCP

"Draft a launch checklist in Notion based on what's missing in our new product's catalog data."

Each MCP server stays focused on its own domain: simple to install, easy to grant or revoke access, no shared credentials. The orchestration happens inside the AI client. The result is one conversation that joins data from every system you run, instead of switching between five admin panels and a spreadsheet.

Comparing MCP servers for Magento first? Our comparison of Magento 2 MCP servers puts the free open-source options and ours side by side: where the server runs, how agents sign in, what protects write operations, and where another option is the better fit.

Want shoppers' own AI assistants to find your products and build carts, rather than your team's agent to run the store? That is the job of our shopper-facing Agentic Commerce extension.

Give your AI assistant access to your Magento store

Book a 15-minute live demo or try the backend demo.

Prefer an agent that works inside the admin panel itself, with no client to connect and no AI plan per user? See AI Copilot for Magento 2.

No hidden fees
Our developers install the extension on your store and configure it for your setup, free of charge.
Lifetime access to source code
Access to free support and updates for 1 year
Updates and support prolongation - $90

Pay today $149 for the first year.

Then $90 for updates and support services per year.

Cancel anytime.

30 days money back guarantee
See it in action!
Pick a quick tutorial to learn about various aspects of this extension
Customer Reviews 2
Earn points for your review about this extension modules. $1 = 10 points
Write Your Own Review

check-circle You submitted your review for moderation.

Robert
From United States
I’m stepping into a new era
To be honest, I was skeptical about using AI with magento because the admin panel is so complex, even for me. But after a few queries to ChatGPT with the Mirasvit mcp connected, I realized how much of a difference the right mcp setup can make.

For now, I’ve completely moved my analytics to chatgpt (Mirasvit also offers a Mixpanel integration). I also use it for stock management and my morning routine of checking new orders.
Faisal Verified Buyer
From Bahrain
Using the module for 20 days
Great AI Integration for Magento 2
Very useful extension for integrating AI capabilities into Magento 2. Easy to use, works smoothly, and adds real value to automation and customer experience. Highly recommended!
Also installed:
IP Geolocation Redirect,  Automatic Related Products,  Google Tag Manager,  Advanced Product Feeds,  Advanced SEO Suite,  AI Assistant,  eChat and 8 more
Manual & Support
Need more help?

Save time by starting your support request online and we'll connect you to an expert.

Frequently asked questions
chevron-down chevron-right

What is the Model Context Protocol (MCP)?

MCP (Model Context Protocol) is an open standard that lets AI assistants connect securely to applications and data sources. Our Magento MCP server implements it and gives ChatGPT, Claude, Gemini, and other MCP clients tools for Magento's REST API, GraphQL, read-only database queries (including store configuration values), and store diagnostics.

chevron-down chevron-right

How do I connect Magento 2 to Claude?

Install AI Agent Connector with a single Composer command, then add your store's MCP server URL to Claude on the web, Claude Desktop, or Claude Code and sign in with your Magento admin account (OAuth 2.1). Claude discovers the available tools automatically and starts working with your live store data. The same flow works for ChatGPT and any other MCP-compatible AI client.

chevron-down chevron-right

How do I connect Claude Code to Magento?

Run claude mcp add --transport http magento https://your-store.com/mcp, then sign in with your Magento admin account when Claude Code opens the OAuth page. No API keys or integration tokens to copy. Step-by-step instructions are in the Claude Code guide.

chevron-down chevron-right

Can I use ChatGPT with my Magento 2 store?

Yes. In ChatGPT, turn on developer mode and add the store as an app with its MCP server URL, then sign in with your Magento admin account. ChatGPT can then query products, orders, customers, and inventory from your real data. If you want shoppers to find and buy your products through ChatGPT instead, see Agentic Commerce for Magento 2.

chevron-down chevron-right

Can I integrate Magento with Microsoft Copilot Studio?

Yes. Copilot Studio supports custom MCP connectors, so the Magento MCP server connects the same way as for Claude or ChatGPT. After installation and OAuth authorization, your Copilot agents can read and update Magento data with the standard tool set.

chevron-down chevron-right

Is this an Adobe Commerce MCP server?

Yes. Magento Open Source and Adobe Commerce share the same codebase, so the server installs the same way on Open Source, Adobe Commerce on-premise, and Adobe Commerce on Cloud, version 2.4.x (the GraphQL tool needs 2.4.4 or later). Adobe's own MCP servers help developers build and run storefronts; this extension gives your team's AI assistant access to the live store's orders, catalog, and inventory.

chevron-down chevron-right

Can I give the AI agent read-only access to my store?

Yes. Each tool is a separate permission in the admin role, and only five of them can change data (REST API, GraphQL, Media Upload, Cache, and Indexer). Give the AI a role without those five, and it can still run reports, database queries, and diagnostics but can't change anything. See how to configure role permissions.

chevron-down chevron-right

Is the Magento MCP server secure?

The AI client signs in with a Magento admin account through OAuth 2.1, and the admin role decides which tools it can use, including which database tables it can read. You can restrict access to allowed IP addresses and revoke any token from the admin. There is no Mirasvit proxy: data goes only to the AI provider you connect. Every write the AI makes is recorded in the Change Journal, with the admin user, role, and result, and request logging to a file is also available.

chevron-down chevron-right

How does AI Agent Connector compare to a traditional Magento admin extension?

A traditional admin extension adds new screens, grids, or buttons, and every task still goes through the admin. With AI Agent Connector, your team works in a chat with Claude, ChatGPT, or Gemini, and the AI calls the same REST API and GraphQL endpoints behind the scenes, so there's no new interface to learn.

chevron-down chevron-right

How is this different from a standalone AI platform for Magento?

A standalone AI platform is a separate product with its own interface and workflows. AI Agent Connector takes a different approach: it connects your Magento store to the AI assistant your team already uses (Claude, ChatGPT, Gemini, Copilot Studio) through the open MCP protocol, so you keep working in a familiar client with live store data.

chevron-down chevron-right

Why pay for an MCP extension when free ones exist?

You get an AI client that registers itself through OAuth 2.1 (no hand-made tokens), access to the REST API of every installed extension, ready-made setups for Claude, ChatGPT, Codex, Gemini, and Copilot Studio, and our support. With free installation, we install it, check that it works, and help you connect your first AI client. It runs on 200+ stores, including our own. If you only need read-only reports, a free module may be enough: our comparison of Magento 2 MCP servers shows where each option fits.

Changelog
Version 1.2.10Oct 15, 2026
Rules for AI agents - a new Rules for AI Agents field under Stores > Configuration > Mirasvit Extensions > MCP Server holds your rules for every connected AI agent, for example "Never remove product images" or "Never change data on store view cz". Agents receive them when they connect, at the start of the server's instructions, before the list of tools, so the rules no longer have to be pasted into every AI client. Rules for one role's agents are added on the role's MCP Info tab and come after the store-wide text, never in its place. The text is advice to the AI model, not a permission: to limit what an agent can do, use its role's resources and write access. With both fields empty, agents receive exactly the same instructions as before.
Change Journal in the menu - System > AI Agent Connector > Change Journal and the extension's title menu open the new journal of every write AI agents make through the built-in tools.
Requires mirasvit/module-mcp-tool 1.1.18 or newer.
Version 1.2.9Oct 8, 2026
AI clients see what the connection may do - with the MCP Tools write access setting set to read-only for the store or for the connected admin's role, the AI client is no longer offered write operations, and tools whose writes are blocked are marked read-only. AI workspaces that allow only read-only tools (such as ChatGPT) can then use them.
Requires mirasvit/module-mcp-tool 1.1.16 or newer.
Version 1.2.8Oct 5, 2026
A failed attempt to generate or revoke a personal access token now shows a clear error message instead of a raw technical database error.
Version 1.2.7Sep 28, 2026
Internal code improvements and maintenance.
Version 1.2.6Sep 16, 2026
MCP tools no longer read or write storefront-decorated data. MCP requests ran in the storefront context, so storefront-only extensions (SEO friendly image URLs, brand name prefixes and similar) took part in every read and write an MCP tool performed - the AI client saw decorated values and saved them back. A single product write also cleared the full-page cache for the whole catalog instead of just that product, which on a busy store meant the storefront rebuilding category and product pages dozens of times during one assistant session. MCP requests now run in their own dedicated context, so tools see and save plain product, customer and order data, and only the affected pages are refreshed. This pairs with MCP Tools 1.1.15, which composer updates alongside this extension
Revoking a user's tokens now includes their personal access token. The mirasvit:mcp:revoke command, the admin Revoke all and Disable actions and the automatic cleanup on admin user deletion all left the personal access token active - the command even reported that all tokens had been revoked - so a token you believed was cancelled would start working again as soon as MCP was re-enabled for that user
Console commands failed on Magento 2.4.5. mirasvit:mcp:revoke and the MCP token cleanup command ended in an error on 2.4.5 and 2.4.6, which ship an older console library than the commands expected
Unrecognized /mcp/... addresses now return a clear JSON "not found" response instead of leaving the request hanging
Removed the unused PKCEService::generateCodeVerifier() method, which had no callers and relied on a framework method absent from Magento 2.4.5. Generating a code verifier is the AI client's job; the server's side of PKCE is unchanged
Reasons to choose Mirasvit
Client focusing and satisfaction

These are our primary. A major portion of our new clients come from referrals from our existing clients. Our professional team of developers, marketers and support staff have invested the best knowledge and experience in the field into our work, so you know you can come back to us again and again.

Remarkable support

One year free and high quality support. We go to great lengths to provide maximum satisfaction with every module you have purchased in our store. By helping you with installation, configuration, answering your every question, we do all our best to eliminate any possible problems.

Risk-free Investment

30-days money back guarantee. If you are not satisfied with our Magento ChatGPT Integration performance for any reason, we provide a full refund.

Constant improvements and upgrades

We constantly add new features to all our modules, and are always interested in hearing your opinion and implementing your suggested features in our future developments.

Comprehensive Documentation

We provide an expanded user guide for every aspect of our Claude Magento Integration, so you can find answers for all your burning questions.

Unencrypted source code of our products

You can customize MCP for Magento according to your needs and requirements.

Usability and Performance

The Module is easy to install and upgrade, just follow our step-by-step user guide. Additionally, the extension is ready to use with the Hyvä theme.

Ready for Magento Cloud

No core modifications. The AI Store Management has been tested in a Magento Cloud environment and is fully compatible with it.

Loading...