Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Magento2

БесплатноНе проверен

Open-source Magento 2 MCP Server for AI-powered store management, product operations, inventory, order management, SEO audits and developer diagnostics.

GitHubEmbed

Описание

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-05 supporting 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), forced confirm=true safeguards for entity deletions, dry_run=true simulation 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


📄 License

This project is open-source software licensed under the MIT License.

from github.com/priyankjivani123/magento2-mcp-server

Установка Magento2

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/priyankjivani123/magento2-mcp-server

FAQ

Magento2 MCP бесплатный?

Да, Magento2 MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Magento2?

Нет, Magento2 работает без API-ключей и переменных окружения.

Magento2 — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Magento2 в Claude Desktop, Claude Code или Cursor?

Открой Magento2 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Magento2 with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai