magento-mcp-node-server
Magento 2 MCP server
Documentation
@iranimij/magento-mcp-remote-server
A remote Model Context Protocol (MCP) server for integrating with the Magento 2 MCP server module. This library provides a CLI server that exposes tools for demonstration and for fetching product details from a Magento backend. It is intended to be used in conjunction with the Magento 2 module to enable AI and remote automation features for your Magento store.
Installation
npm install -g @iranimij/magento-mcp-remote-serverOr, for local development:
git clone
cd mcp
npm install
npm run build && npm run bundleUsage
Add the following to your cursor MCP settings:
"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"
}
},As a CLI
npx magento-mcp-remote-serverOr, if running locally after build:
node dist/bundle.cjsEnvironment Variables
- `MAGENTO_API_URL` (required): The base URL of your Magento API (e.g., `https://your-magento-site.com`).
- (Optional) You may add authentication headers in `index.ts` if your Magento API requires a token.
Tools
This server exposes the following tools. Click each tool for detailed documentation:
- get-product-details: Fetch product details for a given product ID from the Magento API.
- get-todays-orders: Fetch all orders placed today from the Magento API.
- create-customer: Create a new customer in Magento.
- create-simple-product: Create a new simple product in Magento.
- search-product-details: Search for product details by SKU, name, or ID from the Magento API.
Example Output
Below is an example output for a product search using the `search-product-details` tool:

Development
- Written in TypeScript. Source in `src/`.
- Easily extensible with custom tools.
Frequently asked questions
What is magento-mcp-node-server?
magento-mcp-node-server is Magento 2 MCP server
How do I install magento-mcp-node-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is magento-mcp-node-server open source?
Yes — it is hosted on GitHub at https://github.com/iranimij/magento-mcp-node-server and has 1 stars.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP