npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

prestashop-mcp-server

v1.0.0

Published

Model Context Protocol server for PrestaShop API

Readme

PrestaShop MCP Server

A Model Context Protocol (MCP) server that integrates with the PrestaShop API to provide tools for managing products, orders, and customers in your PrestaShop store.

Features

  • Products: List, get details, create, update, and delete products
  • Orders: List, get details, and update orders
  • Customers: List, get details, create, update, and delete customers

Installation

Global Installation (Recommended for n8n)

npm install -g prestashop-mcp-server

Local Installation

npm install prestashop-mcp-server

Configuration

The PrestaShop MCP server requires the following environment variables:

  • PRESTASHOP_API_URL: The URL of your PrestaShop store's API (e.g., https://your-store.com)
  • PRESTASHOP_API_KEY: Your PrestaShop API key

Getting Your PrestaShop API Key

  1. Log in to your PrestaShop admin panel
  2. Go to Advanced Parameters > Webservice
  3. Enable the webservice by setting "Enable PrestaShop's webservice" to "Yes"
  4. Click on "Add new webservice key"
  5. Enter a key name and generate a key
  6. Set the appropriate permissions for the resources you want to access
  7. Save the configuration

Usage with n8n

This MCP server can be used with n8n through the n8n-nodes-mcp custom node.

Setting up in Docker/Railway

  1. Create a custom Dockerfile for n8n:
FROM n8nio/n8n:latest

# Install the MCP server and n8n-nodes-mcp
RUN npm install -g prestashop-mcp-server n8n-nodes-mcp

# Enable community packages as tools
ENV N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
  1. Configure environment variables in your Docker/Railway setup:
MCP_PRESTASHOP_API_URL=https://your-store.com
MCP_PRESTASHOP_API_KEY=your-api-key
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true

Configuring in n8n

  1. In n8n, go to "Credentials" and create new credentials of type "MCP Client API"

  2. Choose "Command-line Based Transport (STDIO)"

  3. Configure as follows:

    • Command: npx
    • Arguments: -y prestashop-mcp-server
    • Environment Variables: (leave empty if configured in Docker)
  4. Create a workflow using the MCP Client node with your credentials

Example Workflow

  1. Add an MCP Client node
  2. Select "List Tools" operation to see available tools
  3. Add another MCP Client node
  4. Select "Execute Tool" operation
  5. Choose a tool (e.g., "get_products")
  6. Configure parameters as needed

Adding to Claude Desktop

To add this MCP server to Claude Desktop:

  1. Install the package globally:

    npm install -g prestashop-mcp-server
  2. Open the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add the following configuration to the mcpServers object:

"prestashop": {
  "command": "npx",
  "args": ["-y", "prestashop-mcp-server"],
  "env": {
    "PRESTASHOP_API_URL": "https://your-store.com",
    "PRESTASHOP_API_KEY": "your-api-key"
  },
  "disabled": false,
  "autoApprove": []
}

Available Tools

Products

get_products

Get a list of products from your PrestaShop store.

{
  "limit": 10,
  "page": 1,
  "filter": {
    "name": "T-shirt"
  }
}

get_product

Get details of a specific product.

{
  "id": 1
}

create_product

Create a new product in your PrestaShop store.

{
  "product": {
    "name": [
      {
        "id": 1,
        "value": "New Product"
      }
    ],
    "price": "19.99",
    "active": 1
  }
}

update_product

Update an existing product in your PrestaShop store.

{
  "id": 1,
  "product": {
    "price": "24.99"
  }
}

delete_product

Delete a product from your PrestaShop store.

{
  "id": 1
}

Orders

get_orders

Get a list of orders from your PrestaShop store.

{
  "limit": 10,
  "page": 1,
  "filter": {
    "current_state": 3
  }
}

get_order

Get details of a specific order.

{
  "id": 1
}

update_order

Update an existing order in your PrestaShop store.

{
  "id": 1,
  "order": {
    "current_state": 4
  }
}

Customers

get_customers

Get a list of customers from your PrestaShop store.

{
  "limit": 10,
  "page": 1,
  "filter": {
    "email": "[email protected]"
  }
}

get_customer

Get details of a specific customer.

{
  "id": 1
}

create_customer

Create a new customer in your PrestaShop store.

{
  "customer": {
    "firstname": "John",
    "lastname": "Doe",
    "email": "[email protected]",
    "passwd": "securepassword"
  }
}

update_customer

Update an existing customer in your PrestaShop store.

{
  "id": 1,
  "customer": {
    "firstname": "Jane"
  }
}

delete_customer

Delete a customer from your PrestaShop store.

{
  "id": 1
}

Examples

Example: Getting a list of products

use_mcp_tool
server_name: prestashop
tool_name: get_products
arguments: {
  "limit": 5,
  "page": 1
}

Example: Creating a new product

use_mcp_tool
server_name: prestashop
tool_name: create_product
arguments: {
  "product": {
    "name": [
      {
        "id": 1,
        "value": "New T-shirt"
      }
    ],
    "description": [
      {
        "id": 1,
        "value": "A comfortable cotton t-shirt"
      }
    ],
    "price": "19.99",
    "active": 1
  }
}

License

ISC