MCP.so
ログイン
サーバー

Magento 2 MCP Server

@boldcommerce

A MCP server for Magento 2

概要

What is Magento 2 MCP Server?

The Magento 2 MCP Server connects to a Magento 2 REST API, allowing Claude and other MCP clients to query product, customer, and order information from a Magento store. It is designed for developers and store administrators who want to interact with Magento data through natural language.

How to use Magento 2 MCP Server?

Clone the repository, install dependencies with npm install, and set the environment variables MAGENTO_BASE_URL and MAGENTO_API_TOKEN. Run the server directly with node mcp-server.js or integrate with Claude Desktop by adding a magento2 entry to the mcpServers configuration in Developer settings, specifying the paths to Node and the server script.

Key features of Magento 2 MCP Server

  • Query product information by SKU or ID
  • Search products with advanced filtering and sorting
  • Get product categories, stock, and attributes
  • Update product attributes by attribute code and value
  • Retrieve customer ordered products by email address
  • Get order counts and revenue for date ranges
  • Filter revenue by country using codes or names

Use cases of Magento 2 MCP Server

  • Ask Claude about product inventory, stock status, or categories
  • Analyze sales and revenue trends over custom date ranges
  • Track customer purchase history by email address
  • Update product attributes like price or description via chat
  • Generate reports on top-selling products by country

FAQ from Magento 2 MCP Server

What are the prerequisites?

Node.js v14 or higher, a Magento 2 instance with REST API access, and an API token for that instance.

How do I get an API token?

You can get an API token from System > Integrations in the Magento admin panel.

What data can the server access?

Product information (SKU, ID, categories, stock, attributes), customer ordered products by email, order counts, revenue (optionally filtered by country), and product sales statistics.

How does authentication work?

Authentication uses a Bearer token passed in the Authorization header. The token is set via the MAGENTO_API_TOKEN environment variable.

Does the server support production SSL?

For development, SSL certificate verification is bypassed

「その他」の他のコンテンツ