Basic information
About Magento 2 MCP Server
A MCP server for Magento 2
Magento 2 MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by boldcommerce. Supported transport: stdio. Runtime: node. License: GPL-3.0. The repository has 61 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"magento2-mcp": {
"command": "node",
"args": [
"mcp-server.js"
]
}
}
}
{
"mcpServers": {
"magento2-mcp": {
"command": "node",
"args": [
"mcp-server.js"
]
}
}
}
{
"servers": {
"magento2-mcp": {
"command": "node",
"args": [
"mcp-server.js"
]
}
}
}
Magento 2 MCP Server — by boldcommerce config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"magento2-mcp": {
"command": "node",
"args": [
"mcp-server.js"
]
}
}
}
Magento 2 MCP Server — by boldcommerce tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
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
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In