PHPackages                             iranimij/magento-mcp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. iranimij/magento-mcp

ActiveMagento2-module

iranimij/magento-mcp
====================

A Magento 2 module that provides MCP features.

1.0.7(10mo ago)03OSL-3.0PHP

Since Jun 19Pushed 10mo agoCompare

[ Source](https://github.com/iranimij/magento-mcp)[ Packagist](https://packagist.org/packages/iranimij/magento-mcp)[ RSS](/packages/iranimij-magento-mcp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (8)Used By (0)

magento-mcp-server
==================

[](#magento-mcp-server)

Magento 2 MCP server

Iranimij\_McpServer
-------------------

[](#iranimij_mcpserver)

This module provides general MCP features for Magento 2.

### Installation

[](#installation)

```
composer require iranimij/magento-mcp
```

Tools
-----

[](#tools)

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

- [get-product-details](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/get-product-details.md): Fetch product details for a given product ID from the Magento API.
- [get-todays-orders](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/get-todays-orders.md): Fetch all orders placed today from the Magento API.
- [create-customer](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/create-customer.md): Create a new customer in Magento.
- [create-simple-product](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/create-simple-product.md): Create a new simple product in Magento.
- [search-product-details](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/search-product-details.md): Search for product details by SKU, name, or ID from the Magento API.

---

### Example Output

[](#example-output)

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

[![Example product search output](https://github.com/iranimij/magento-mcp-node-server/raw/main/docs/search-product-name.png?raw=true)](https://github.com/iranimij/magento-mcp-node-server/blob/main/docs/search-product-name.png?raw=true)

### AI client configuration (Cursor, etc.)

[](#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

[](#the-remote-server)

This modules remote 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)](https://modelcontextprotocol.org/) and provides a CLI server that exposes tools for demonstration and fetching product details from a Magento backend.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance56

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

322d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/886b7f9724bf51946ff8111c80220ae9078a0b9ab4c7650d37e4be8536422d24?d=identicon)[iranimij](/maintainers/iranimij)

---

Top Contributors

[![iranimij](https://avatars.githubusercontent.com/u/31434218?v=4)](https://github.com/iranimij "iranimij (24 commits)")

---

Tags

magentofeaturesmcp-server

### Embed Badge

![Health badge](/badges/iranimij-magento-mcp/health.svg)

```
[![Health](https://phpackages.com/badges/iranimij-magento-mcp/health.svg)](https://phpackages.com/packages/iranimij-magento-mcp)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

167930.4k5](/packages/yireo-magento2-googletagmanager2)[redchamps/module-clean-admin-menu

It will merge all third party extensions menu items to single menu item named 'Extensions'.

164416.3k](/packages/redchamps-module-clean-admin-menu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
