Magento2
FreeNot checkedOpen-source Magento 2 MCP Server for AI-powered store management, product operations, inventory, order management, SEO audits and developer diagnostics.
About
Open-source Magento 2 MCP Server for AI-powered store management, product operations, inventory, order management, SEO audits and developer diagnostics.
README
Continuous Integration License: MIT MCP Protocol Magento 2 PHP Version Test Pass Rate
Production-Ready Model Context Protocol (MCP) Server for Magento 2 / Adobe Commerce. Connects Claude Desktop, Cursor AI, and autonomous AI agents directly to Magento stores via standard JSON-RPC 2.0 over STDIO.
Author & Lead Architect: Priyank Jivani
Live Client Showcase: http://152.67.31.72/mcp/
Public Demo Storefront: http://152.67.31.72/
Magento Admin: http://152.67.31.72/admin/ (admin / PriyankAdmin123!)
⚡ Key Highlights
- 39 Enterprise-Grade Tools: Full coverage across catalog management, order processing, inventory control, customer accounts, category hierarchy, CMS blocks/pages, store configuration, system diagnostics, and SEO audits.
- Strict Protocol Compliance: Compliant with Model Context Protocol specification
2024-11-05supporting dynamic tool enumeration, resource endpoints (magento://), prompt templates, and error schemas. - 100% Automated Test Pass Rate: Verified across 59 automated test cases covering protocol handshakes, functional tool execution, 7 multi-step agentic workflows, penetration testing, and load benchmarking.
- Enterprise Security Guardrails: Granular permission levels (
READ_ONLY,WRITE,DESTRUCTIVE), forcedconfirm=truesafeguards for entity deletions,dry_run=truesimulation modes, and automatic credential masking. - Zero Mocking in Production: Tested directly against live Adobe Commerce / Magento Open Source 2.4.9 running MariaDB 11.8, Redis 8.0, and OpenSearch 2.18.
🚀 Quick Start: Claude Desktop & Cursor Setup
1. Claude Desktop Configuration
Add the following configuration to your claude_desktop_config.json:
{
"mcpServers": {
"magento2": {
"command": "php",
"args": ["/path/to/magento2-mcp-server/bin/magento-mcp-server"],
"env": {
"MAGENTO_BASE_URL": "http://152.67.31.72",
"MAGENTO_ACCESS_TOKEN": "eyJraWQiOiIxIiwiYWxnIjoiSFMyNTYifQ.eyJ1aWQiOjEsInV0eXBpZCI6MiwiaWF0IjoxNzk0MjIwODg5LCJleHAiOjIxMDk1ODA4ODl9.HDdRjCXlF34THOU0Ks86Zkj7svTnbhyt_OGqsuwanTE",
"MAGENTO_STORE_CODE": "default",
"MAGENTO_READ_ONLY": "false"
}
}
}
}
2. Environment Variables Reference
| Variable | Description | Default |
|---|---|---|
MAGENTO_BASE_URL |
Base URL of the target Magento installation | http://127.0.0.1 |
MAGENTO_ACCESS_TOKEN |
Admin JWT Bearer Token | "" |
MAGENTO_STORE_CODE |
Magento store view code | default |
MAGENTO_READ_ONLY |
Block all state-mutating and destructive tools | true |
MAGENTO_TIMEOUT |
WebAPI connection timeout in seconds | 30 |
MAGENTO_SSL_VERIFY |
Verify SSL certificates (set false for self-signed) |
false |
🛠️ Complete MCP Tool Inventory (39 Tools)
For full parameter schemas, input examples, and descriptions, see MCP-TOOLS.md.
- Catalog Management (7):
magento_list_products,magento_get_product,magento_search_products,magento_create_product,magento_update_product,magento_update_product_price,magento_delete_product. - Order Management (3):
magento_list_orders,magento_get_order,magento_add_order_comment. - Customer Management (3):
magento_list_customers,magento_get_customer,magento_create_customer. - Inventory Control (2):
magento_get_stock,magento_update_stock. - Category & CMS Hierarchy (7):
magento_get_category,magento_get_category_tree,magento_create_category,magento_list_cms_pages,magento_get_cms_page,magento_list_cms_blocks,magento_get_cms_block. - Store Configuration (1):
magento_get_store_config. - Developer Diagnostics & Health (13):
magento_get_version,magento_get_system_health,magento_get_php_information,magento_get_cache_status,magento_clean_cache,magento_get_indexer_status,magento_get_cron_status,magento_get_database_health,magento_get_opensearch_health,magento_get_redis_health,magento_get_store_errors,magento_list_modules,magento_generate_store_report. - Performance & SEO Intelligence (3):
magento_analyze_performance,magento_get_product_seo,magento_run_seo_audit.
📚 Documentation Index
- Architecture & Protocol Design
- Complete Tool Catalog & Parameter Schemas
- Comprehensive QA Audit & Test Execution Report
- Security Audit & Penetration Testing
- Performance & Latency Benchmark Report
- Testing & Test Harness Guide
- Troubleshooting & FAQ
- Changelog & Release Notes
📄 License
This project is open-source software licensed under the MIT License.
Installing Magento2
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/priyankjivani123/magento2-mcp-serverFAQ
Is Magento2 MCP free?
Yes, Magento2 MCP is free — one-click install via Unyly at no cost.
Does Magento2 need an API key?
No, Magento2 runs without API keys or environment variables.
Is Magento2 hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Magento2 in Claude Desktop, Claude Code or Cursor?
Open Magento2 on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
by mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
by agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiCompare Magento2 with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
