Magento MCP Server

Magento MCP Server

Enables to interact with Magento stores through the Magento REST API. Supports product, order, customer, and category management via natural language.

Category
Visit Server

README

Magento MCP Server + Data Fetcher

Python tools to:

  1. Fetch Magento store data from the CLI (app.py)
  2. Expose Magento tools to Claude via MCP (server.py)

Both share the same REST client in magento_client.py.

Setup

cd magento-mcp
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

Copy .env.example to .env and fill in your store details:

MAGENTO_URL=https://your-store.com/rest/V1
ACCESS_TOKEN=your_integration_access_token

Magento Integration Token

  1. Magento Admin → System → Extensions → Integrations
  2. Add New Integration
  3. API tab: set Resource Access = All (or at least Catalog → Products)
  4. Activate and copy the Access Token
  5. Put that token in .env as ACCESS_TOKEN
  6. Required on Magento 2.4.4+:
    Admin → Stores → Configuration → Services → OAuth → Consumer Settings
    Set Allow OAuth Access Tokens to be used as standalone Bearer tokens = Yes
    Then run: php bin/magento cache:flush

Without step 6, Magento returns: The consumer isn't authorized to access Magento_Catalog::products even when the integration has full API access.

CLI data fetching

python app.py products --limit 10
python app.py products --search shirt
python app.py product WJ12
python app.py orders --limit 5 --status processing
python app.py order 12
python app.py customers
python app.py categories

Add --json on list commands for raw Magento JSON.

MCP server for Claude Desktop

  1. Install dependencies (see Setup above).
  2. Open Claude Desktop config:
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the server (update the paths):
{
  "mcpServers": {
    "magento": {
      "command": "C:\\Users\\Etech\\Desktop\\magento-mcp\\.venv\\Scripts\\python.exe",
      "args": ["C:\\Users\\Etech\\Desktop\\magento-mcp\\server.py"],
      "cwd": "C:\\Users\\Etech\\Desktop\\magento-mcp"
    }
  }
}
  1. Restart Claude Desktop.
  2. Ask Claude things like:
    • "List the latest Magento products"
    • "Show pending orders"
    • "Get product details for SKU WJ12"

Available MCP tools

Tool Purpose
list_products List / search products
get_product Product by SKU
create_product Create simple product
update_product_price Update price
update_product_name Update product name
update_product Update name and/or price
delete_product Delete by SKU
list_orders List / filter orders
get_order Order by ID
list_customers List customers
get_customer Customer by ID
list_categories Category tree

Project layout

magento-mcp/
  magento_client.py   # Shared Magento REST client
  server.py           # MCP server for Claude
  app.py              # CLI data fetcher
  .env                # Your secrets (do not commit)
  .env.example        # Template
  requirements.txt

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured