iranimij/magento-mcp

A Magento 2 module that provides MCP features.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.7 2025-06-21 20:24 UTC

This package is auto-updated.

Last update: 2025-06-21 20:24:30 UTC


README

Magento 2 MCP server

Iranimij_McpServer

This module provides general MCP features for Magento 2.

Installation

composer require iranimij/magento-mcp

Tools

This server exposes the following tools. Click each tool for detailed documentation:

Example Output

Below is an example output for a product search using the search-product-details tool:

Example product search output

AI client configuration (Cursor, etc.)

"testServer": {
  "command": "npx",
  "args": ["@iranimij/magento-mcp-remote-server"],
  "env": {
    "MAGENTO_API_URL": "https://app.magento.test/",
    "MAGENTO_ADMIN_USERNAME": "admin",
    "MAGENTO_ADMIN_PASSWORD": "admin1234"
  }
},

Make sure to put your magento URL in MAGENTO_API_URL.

Future useful prompts:

  • Send client names
  • Send client addresses
  • Send order details
  • Send order items
  • Send order totals
  • Send order shipping details
  • Send order payment details
  • Send order status
  • Send order history
  • create order
  • create admin
  • create product
  • create category
  • create customer
  • Send blog posts

The remote server

This modules remote server https://github.com/iranimij/mcp-node-server works with this module to provide a remote MCP server for Magento 2. It is designed to work with the Model Context Protocol (MCP) and provides a CLI server that exposes tools for demonstration and fetching product details from a Magento backend.