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.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.
Related Servers
ast-grep MCP
An experimental MCP server that uses the ast-grep CLI for code structural search, linting, and rewriting.
MCP Starter Server
A minimal template for building AI assistant tools using the ModelContextProtocol.
My MCP Server
A remote MCP server deployable on Cloudflare Workers without authentication.
MCP Server Creator
A meta-server for dynamically generating MCP server configurations and Python code.
Bitcoin & Lightning Network
Interact with the Bitcoin and Lightning Network to generate keys, validate addresses, decode transactions, and query the blockchain.
ADB Friend
A CLI tool for developers to manage Android devices via ADB.
USolver
A server for solving combinatorial, convex, integer, and non-linear optimization problems.
MCP_Agent:RE
Fetches requirements and defect data from the TAPD platform to provide data support for AI clients.
MCP Manager
An interactive CLI tool for managing MCP server configurations in the current directory.
EVM MCP Server
Provides blockchain services for over 30 EVM-compatible networks through a unified interface.