Magento 2 MCP Server logo

Magento 2 MCP Server

by dzmitry-vasileuski

A Model Context Protocol (MCP) server implementation for Magento 2, enabling AI assistants to interact with your Magento store through a standardized interface.

View on GitHub

Last updated: N/A

What is Magento 2 MCP Server?

This is a Model Context Protocol (MCP) server designed specifically for Magento 2. It provides a standardized interface for AI assistants to interact with a Magento store, allowing them to perform various operations through a REST API.

How to use Magento 2 MCP Server?

First, install the server using npm. Then, start the server by providing your Magento URL and admin API token. Finally, configure your MCP client (like Cursor) to use the server by adding the tool configuration with the server's command.

Key features of Magento 2 MCP Server

  • REST API integration with Magento 2

  • Secure authentication handling

  • Resource and tool handlers for common Magento operations

  • TypeScript implementation for type safety

Use cases of Magento 2 MCP Server

  • AI assistant integration with Magento 2

  • Automated Magento store management

  • Programmatic access to Magento resources

  • Schema introspection for AI tools

FAQ from Magento 2 MCP Server

What is MCP?

MCP stands for Model Context Protocol, a standardized way for AI assistants to interact with applications.

What is the Magento admin API token?

The Magento admin API token is a credential that allows the server to authenticate with your Magento instance's REST API.

How do I get a Magento admin API token?

You can generate an admin API token in the Magento admin panel under System -> Integrations.

What versions of Node.js are supported?

Node.js version 18 or higher is required.

How do I update the server?

You can update the server by running npm update vasileuski/magento2-mcp-server.