MCP.so
登录

Magento 2 MCP Server

@boldcommerce

基本信息

分类

其他

许可证

GPL-3.0

传输方式

stdio

作者

boldcommerce

关于 Magento 2 MCP Server

A MCP server for Magento 2

Magento 2 MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "magento2-mcp": {
      "command": "node",
      "args": [
        "mcp-server.js"
      ]
    }
  }
}

Magento 2 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

What are the prerequisites?

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

2

How do I get an API token?

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

3

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.

4

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.

5

Does the server support production SSL?

For development, SSL certificate verification is bypassed

评论

其他 分类下的更多 MCP 服务器