Skip to content

iranimij/magento-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magento-mcp-server

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.

About

Magento 2 MCP module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages