MCP Server Template
A starter template for building a Model Context Protocol (MCP) server using TypeScript and Node.js.
@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-server
Or, for local development:
git clone <this-repo-url>
cd mcp
npm install
npm run build && npm run bundle
Usage
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-server
Or, if running locally after build:
node dist/bundle.cjs
Environment 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.tsif 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.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Authenticator App MCP Server
A secure MCP server for AI agents to interact with the Authenticator App for 2FA codes and passwords.
Trustwise
Advanced evaluation tools for AI safety, alignment, and performance using the Trustwise API.
FileScopeMCP
Analyzes your codebase identifying important files based on dependency relationships. Generates diagrams and importance scores per file, helping AI assistants understand the codebase. Automatically parses popular programming languages, Python, Lua, C, C++, Rust, Zig.
Unimus MCP Server
A read-only server for the Unimus network configuration management system.
Local Context MCP
A collection of reference implementations for the Model Context Protocol (MCP), giving LLMs secure access to tools and data.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
iTerm
Access and control local iTerm2 terminal sessions.
Valyu
Access Valyu's knowledge retrieval and feedback APIs.
MCP All Servers
A collection of reference implementations for the Model Context Protocol (MCP), showcasing servers built with TypeScript and Python SDKs.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, featuring customizable tools and no authentication.