Skip to main content
Glama

PrestaShop MCP Server

MIT License Node.js 18+ npm Tests

Enterprise governance layer for Claude-to-PrestaShop integrations.

79 read/write tools — audit trail, multi-site, SEO, KPI dashboards, HTTP transport.


Table of Contents


Related MCP server: PrestaShop MCP (Legacy WebService)

Architecture

┌─────────────────────────────────────────────────────────┐
│                    Claude Desktop / CLI                   │
│                   (or any MCP client)                    │
└───────────────┬──────────────────────┬──────────────────┘
                │ stdio                │ HTTP (Streamable)
                ▼                      ▼
┌─────────────────────────────────────────────────────────┐
│              PrestaShop MCP Server v3.1.0               │
│                                                         │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐  │
│  │ Products │ │  Orders  │ │   SEO    │ │    KPI    │  │
│  │ 6 tools  │ │ 3 tools  │ │ 4 tools  │ │  6 tools  │  │
│  └──────────┘ └──────────┘ └──────────┘ └───────────┘  │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐  │
│  │Customers │ │  Stock   │ │  Write   │ │  Analyse  │  │
│  │ 4 tools  │ │ 2 tools  │ │ 4 tools  │ │  5 tools  │  │
│  └──────────┘ └──────────┘ └──────────┘ └───────────┘  │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐  │
│  │   CMS    │ │ Scoring  │ │ Alerts   │ │ Geography │  │
│  │ 4 tools  │ │ 3 tools  │ │ 2 tools  │ │  3 tools  │  │
│  └──────────┘ └──────────┘ └──────────┘ └───────────┘  │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐  │
│  │Catalogue │ │Promotions│ │ Invoices │ │  + more   │  │
│  │ 4 tools  │ │ 4 tools  │ │ 2 tools  │ │ 17 tools  │  │
│  └──────────┘ └──────────┘ └──────────┘ └───────────┘  │
│                                                         │
│  ┌─────────────────────────────────────────────────┐    │
│  │     Governance: read-only gate · audit trail    │    │
│  │     multi-site · category filter · rate limit   │    │
│  └─────────────────────────────────────────────────┘    │
└───────────────────────────┬─────────────────────────────┘
                            │ HTTPS + API Key
                            ▼
                ┌───────────────────────┐
                │  PrestaShop Webservice│
                │     (JSON API)       │
                └───────────────────────┘

Why This Server

  • Governance-first — Read-only by default. Write operations require explicit opt-in (PS_READONLY=false) and back-office API key configuration.

  • Regulated environments — Audit trail middleware logs every tool invocation with timestamp, parameters, and user context.

  • Agencies & multi-site — Switch between PrestaShop instances at runtime via ps_set_target. Manage dozens of shops from a single Claude conversation.

  • 79 tools — From basic CRUD to advanced KPI dashboards, SEO audits, stock alerts, abandoned cart analysis, and cross-dataset intelligence.


Quick Start

1. Install & run

npx -y @adsim/prestashop-mcp-server

2. Environment variables

Create a .env file or pass variables directly:

PS_API_URL=https://your-shop.com
PS_API_KEY=YOUR_PRESTASHOP_WEBSERVICE_KEY

3. Claude Desktop configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "prestashop": {
      "command": "npx",
      "args": ["-y", "@adsim/prestashop-mcp-server"],
      "env": {
        "PS_API_URL": "https://your-shop.com",
        "PS_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

4. Claude Code (CLI)

claude mcp add prestashop -- npx -y @adsim/prestashop-mcp-server

Then set environment variables in your shell or .env file.


HTTP Streamable Transport

v3.0.0 adds HTTP Streamable transport alongside the default stdio, enabling remote and browser-based MCP clients.

Configuration

PS_TRANSPORT=http          # "stdio" (default) or "http"
PS_HTTP_PORT=3000          # Default: 3000
PS_HTTP_HOST=127.0.0.1     # Default: 127.0.0.1
PS_AUTH_TOKEN=my-secret    # Required for HTTP mode (Bearer token)
PS_ALLOWED_ORIGINS=https://app.example.com   # Optional, comma-separated
PS_DUAL_MODE=false         # Set to "true" for stdio + HTTP simultaneously

Health check

curl http://127.0.0.1:3000/health
{ "status": "ok", "version": "3.1.0", "transport": "http", "tools": 79 }

Dual mode

Run both stdio and HTTP simultaneously for mixed client environments:

PS_TRANSPORT=http
PS_DUAL_MODE=true

Available Tools (79)

Site & Multi-site (4)

Tool

Description

ps_site_info

Shop info, languages, CMS version

ps_list_languages

List active languages

ps_list_targets

List configured PrestaShop targets

ps_set_target

Switch active target at runtime

Products (6)

Tool

Description

ps_list_products

List products with filters

ps_get_product

Get product details

ps_search_products

Full-text product search

ps_create_product

Create a new product

ps_delete_product

Delete a product

ps_get_product_images

Get product image URLs

Categories (4)

Tool

Description

ps_list_categories

List categories

ps_get_category

Get category details

ps_create_category

Create a new category

ps_update_category

Update a category

Orders (3)

Tool

Description

ps_list_orders

List orders with filters

ps_get_order

Get full order details

ps_list_order_states

List order statuses

Customers (4)

Tool

Description

ps_list_customers

List customers with filters

ps_get_customer

Get customer details

ps_create_customer

Create a new customer

ps_update_customer

Update a customer

Stock (2)

Tool

Description

ps_list_stock

List stock levels

ps_get_product_stock

Get stock for a specific product

CMS (4)

Tool

Description

ps_list_cms_pages

List CMS pages

ps_get_cms_page

Get CMS page content

ps_create_cms_page

Create a CMS page

ps_update_cms_page

Update a CMS page

Catalogue (4)

Tool

Description

ps_list_carriers

List shipping carriers

ps_list_combinations

List product combinations

ps_list_product_features

List product features

ps_list_product_options

List product options

Promotions (4)

Tool

Description

ps_list_cart_rules

List cart rules / vouchers

ps_list_specific_prices

List specific price rules

ps_create_specific_price

Create a specific price

ps_delete_specific_price

Delete a specific price

Management (3)

Tool

Description

ps_list_order_histories

List order status history

ps_list_tax_rules

List tax rules

ps_list_addresses

List customer addresses

Write Operations (4)

Tool

Description

ps_update_product

Update product fields

ps_update_stock

Update stock quantity

ps_update_order_status

Update order status

ps_create_cart_rule

Create a cart rule / voucher

SEO (4)

Tool

Description

ps_audit_seo

SEO audit for products

ps_update_seo

Update product SEO fields

ps_audit_seo_categories

SEO audit for categories

ps_audit_seo_cms

SEO audit for CMS pages

Analysis (5)

Tool

Description

ps_get_order_details

Get order detail rows

ps_get_customer_orders

Get orders for a customer

ps_low_stock_report

Products below threshold

ps_abandoned_cart_analysis

Abandoned cart analysis

ps_supplier_performance

Supplier performance metrics

Scoring (3)

Tool

Description

ps_dead_products_report

Products with zero sales

ps_stock_rotation_score

Stock rotation scoring

ps_margin_scoring

Product margin analysis

Alerts (2)

Tool

Description

ps_stock_alert_check

Check stock against thresholds

ps_configure_stock_alerts

Configure alert thresholds

KPI Dashboards (6)

Tool

Description

ps_top_revenue_products

Top products by revenue

ps_average_basket_analysis

Average basket analysis

ps_customer_ltv

Customer lifetime value

ps_generate_full_report

Full KPI dashboard

ps_category_performance

Revenue per category

ps_inventory_value_report

Inventory valuation

Cross-Analysis (1)

Tool

Description

ps_cross_analysis

Cross-dataset analysis engine

Manufacturers (2)

Tool

Description

ps_list_manufacturers

List manufacturers

ps_get_manufacturer

Get manufacturer details

Suppliers (2)

Tool

Description

ps_list_suppliers

List suppliers

ps_get_supplier

Get supplier details

Geography (3)

Tool

Description

ps_list_countries

List countries

ps_list_zones

List zones

ps_list_states

List states / provinces

Currencies (1)

Tool

Description

ps_list_currencies

List currencies

Groups (2)

Tool

Description

ps_list_groups

List customer groups

ps_get_group

Get group details

Carts (2)

Tool

Description

ps_list_carts

List carts

ps_get_cart

Get cart details

Invoices & Payments (2)

Tool

Description

ps_list_order_invoices

List order invoices

ps_list_order_payments

List order payments

Configuration (2)

Tool

Description

ps_list_configurations

List configuration keys

ps_get_configuration

Get configuration value


Enterprise Controls

Variable

Default

Description

PS_API_URL

—

PrestaShop shop URL (required)

PS_API_KEY

—

Webservice API key (required)

PS_READONLY

true

Block all write operations

PS_TOOL_CATEGORIES

*

Comma-separated tool categories to load

PS_TRANSPORT

stdio

Transport mode: stdio or http

PS_HTTP_PORT

3000

HTTP server port

PS_HTTP_HOST

127.0.0.1

HTTP server bind address

PS_AUTH_TOKEN

—

Bearer token for HTTP mode (required)

PS_ALLOWED_ORIGINS

—

Comma-separated allowed origins

PS_DUAL_MODE

false

Run stdio + HTTP simultaneously

PS_TARGETS

—

JSON array of multi-site targets

PS_DATA_DIR

./data

Directory for reports and exports

PS_SAFE_SORT

true

Disable sort parameter in API calls (avoids PS 1.7/8.x 500 errors)

Tool category filter

Only load the tools you need:

PS_TOOL_CATEGORIES=products,orders,stock,seo

Available categories: site, products, categories, orders, customers, stock, cms, catalogue, promotions, management, images, write, seo, analyse, scoring, alerts, kpi, cross-analysis, manufacturers, suppliers, geography, currencies, groups, carts, invoices, configuration.


Testing

npm test

622 tests across 34 test suites, 100% pass rate. Uses Vitest with mock PrestaShop client.

npm run test:coverage    # Coverage report
npm run test:watch       # Watch mode

Multi-Target Configuration

Manage multiple PrestaShop shops from a single instance:

{
  "mcpServers": {
    "prestashop": {
      "command": "npx",
      "args": ["-y", "@adsim/prestashop-mcp-server"],
      "env": {
        "PS_API_URL": "https://shop-1.com",
        "PS_API_KEY": "KEY_1",
        "PS_TARGETS": "[{\"name\":\"shop-2\",\"url\":\"https://shop-2.com\",\"apiKey\":\"KEY_2\"},{\"name\":\"shop-3\",\"url\":\"https://shop-3.com\",\"apiKey\":\"KEY_3\"}]"
      }
    }
  }
}

Then use ps_list_targets and ps_set_target to switch between shops at runtime.


Security

  • Read-only by default — Write operations gated behind PS_READONLY=false

  • Bearer authentication — HTTP transport requires PS_AUTH_TOKEN

  • Origin validation — Optional PS_ALLOWED_ORIGINS prevents DNS rebinding

  • No credentials in code — All secrets via environment variables

  • Minimal permissions — Configure your PrestaShop API key with only the resources you need

  • Local binding — HTTP transport binds to 127.0.0.1 by default


Troubleshooting

"Cannot connect to PrestaShop API"

  1. Verify PS_API_URL is correct and reachable

  2. Check your API key has the necessary resource permissions in Back Office → Advanced Parameters → Webservice

  3. Ensure the webservice is enabled in PrestaShop

"Write operation blocked"

Set PS_READONLY=false in your environment and enable PUT/POST methods for your API key in PrestaShop Back Office.

"Tool not found"

Check your PS_TOOL_CATEGORIES filter. Remove the filter or add the required category.

HTTP transport not responding

  1. Verify PS_TRANSPORT=http is set

  2. Check PS_AUTH_TOKEN is configured

  3. Test with curl http://127.0.0.1:3000/health


Changelog

v3.1.0 — Robustness & Production Fixes

Critical bugfixes for real-world PrestaShop stores (tested on 21K+ orders):

  • Paginate from the END — fetchRecentOrders and fetchOrderDetailsBatch now discover total count first, then paginate from the tail. Fixes the bug where KPI tools returned 0€ revenue on large stores (PrestaShop returns ascending order by default, sort is stripped in safe-sort mode).

  • Order details fallback — When GET /api/orders/{id} returns empty order_rows (deleted languages bug), automatically falls back to /api/order_details. Samples 5 orders first to avoid thousands of wasted API calls.

  • SEO audit resilience — Per-item try/catch in all 3 SEO audit tools. Corrupt multilang translations no longer crash the entire audit.

  • Date filtering robustness — filterByDate includes items with missing/unparseable dates instead of silently dropping them. Prevents 0€ revenue when date fields are null.

  • Health check — ps_site_info now probes key API endpoints (products, orders, CMS) and reports ok/fail status.

  • Language ID gap detection — ps_site_info warns when language IDs have gaps (common source of 500 errors).

  • Debug metadata — ps_top_revenue_products includes _debug with total_orders_in_shop, start_offset, oldest_date, newest_date, fallback_used, order_details_fetched, order_details_matched.

  • Safe-sort mode — PS_SAFE_SORT=true (default) strips sort parameter from API calls to avoid PrestaShop 500 errors on 1.7/8.x.

  • 622 tests across 34 test suites, 100% pass rate.

v3.0.0

  • HTTP Streamable transport (MCP SDK StreamableHTTPServerTransport)

  • Dual-mode: stdio + HTTP simultaneously

  • Health endpoint (/health)

  • Bearer token authentication for HTTP mode

  • Origin validation (anti-DNS-rebinding)

  • 16 new resource tools (manufacturers, suppliers, geography, currencies, groups, carts, invoices, configuration)

  • 6 advanced analysis tools (category performance, inventory valuation, abandoned carts, supplier performance, SEO audit for categories & CMS)

  • 79 tools total, 580 tests

v2.0.0

  • Write operations (product updates, stock, order status, cart rules)

  • SEO audit & update tools

  • Multi-site / multi-target support

  • Tool category filter (PS_TOOL_CATEGORIES)

  • Read-only governance gate

v1.0.0

  • Initial release

  • Read-only tools for products, categories, orders, customers, stock, CMS

  • Catalogue, promotions, management tools

  • Product image support


Credits

Built by AdSim — Digital Marketing & AI Agency, Liege, Belgium.


Licensed under MIT. See LICENSE for details.

Available Tools

79 tools
ps_abandoned_cart_analysisAbandoned Cart AnalysisA
Read-onlyIdempotent

Analyse shopping carts that were not converted to orders (abandoned carts).

Crosses carts with orders to identify carts without a matching order. Enriches with customer data when available.

Args:

  • days: Lookback period in days (default: 30)

  • limit: Max carts to analyse (default: 200)

Returns: Abandoned cart count, conversion rate, and list of abandoned carts with customer info.

Inputs: days, limit.

ps_audit_seoPrestaShop SEO AuditA
Read-onlyIdempotent

Scan active products and identify SEO issues: missing meta_title, missing meta_description, descriptions too short (<50 chars) or too long (>160 chars), meta_title too long (>70 chars), missing link_rewrite.

Returns a global score (0-100) and a prioritised action list sorted by severity.

Args:

  • limit: Number of products to scan (default: 50, max: 200)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: SEO score, total products scanned, issue counts, and prioritised action list.

Inputs: limit, lang_id.

ps_audit_seo_categoriesPrestaShop Category SEO AuditA
Read-onlyIdempotent

Scan active categories and identify SEO issues: missing meta_title, missing meta_description, descriptions too short or too long, missing link_rewrite.

Same scoring methodology as ps_audit_seo but applied to categories.

Args:

  • limit: Number of categories to scan (default: 50, max: 200)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: SEO score, total categories scanned, issue counts, and prioritised action list.

Inputs: limit, lang_id.

ps_audit_seo_cmsPrestaShop CMS Page SEO AuditA
Read-onlyIdempotent

Scan active CMS pages and identify SEO issues: missing meta_title, missing meta_description, descriptions too short or too long, missing link_rewrite.

Args:

  • limit: Number of CMS pages to scan (default: 50, max: 200)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: SEO score, total pages scanned, issue counts, and prioritised action list.

Inputs: limit, lang_id.

ps_average_basket_analysisAverage Basket AnalysisB

Analyse average basket value overall and by month, carrier, and customer group.

Also computes the trend (current period vs previous period) to show whether baskets are growing.

Args:

  • days: Lookback period in days (default: 90)

  • limit: Max orders to analyse (default: 2000)

Inputs: days, limit.

ps_category_performanceCategory Performance AnalysisB
Read-onlyIdempotent

Analyse revenue and margin per product category by crossing orders, order_details, and products.

Calculates: revenue per category, number of products, average basket per category.

Args:

  • days: Lookback period in days (default: 90)

  • lang_id: Language ID for category names (default: "1")

  • limit: Max orders to analyse (default: 1000)

Inputs: days, limit, lang_id.

ps_configure_stock_alertsConfigure Stock AlertsA
Idempotent

Set global and per-product stock alert thresholds.

Updates /data/stock_alert_config.json.

Args:

  • default_threshold: Global warning threshold (default: 5)

  • critical_threshold: Global critical threshold (default: 0)

  • check_interval_minutes: Recommended check interval in minutes (default: 60)

  • product_thresholds: JSON object mapping product_id → threshold e.g. { "42": 10, "99": 3 }

Returns the updated configuration.

Inputs: default_threshold, critical_threshold, product_thresholds, check_interval_minutes.

ps_create_cart_ruleCreate PrestaShop Cart RuleA

Create a discount voucher/coupon code with a percentage or fixed amount reduction.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • name: Internal name for the rule (required)

  • code: Voucher code customers enter (leave empty for auto-apply)

  • reduction_type: "percent" for percentage, "amount" for fixed amount

  • reduction_value: Reduction value (e.g., 10 for 10% or 10.00 for €10)

  • date_from: Start date (ISO format: YYYY-MM-DD HH:MM:SS)

  • date_to: Expiry date (ISO format: YYYY-MM-DD HH:MM:SS)

  • quantity: Total number of usages allowed (default: 1)

  • quantity_per_user: Max usages per customer (default: 1)

  • lang_id: Language ID for the name (default: "1")

Returns: Created cart rule ID and details.

Inputs: name (required), date_to (required), date_from (required), reduction_type (required), +6 more.

ps_create_categoryCreate PrestaShop CategoryA

Create a new product category.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • name: Category name (required)

  • id_parent: Parent category ID (required, use 2 for "Home")

  • active: Activate the category (default: true)

  • description: Category description

  • meta_title: SEO title

  • meta_description: SEO meta description

  • link_rewrite: URL slug (auto-generated from name if not provided)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Created category ID and summary.

Inputs: name (required), id_parent (required), active, lang_id, +5 more.

ps_create_cms_pageCreate PrestaShop CMS PageA

Create a new CMS (static content) page.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • meta_title: Page title (required)

  • content: Page content (HTML allowed, required)

  • active: Activate the page (default: true)

  • id_cms_category: CMS category ID (default: 1)

  • meta_description: SEO meta description

  • link_rewrite: URL slug (auto-generated from title if not provided)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Created CMS page ID and summary.

Inputs: content (required), meta_title (required), active, lang_id, +4 more.

ps_create_customerCreate PrestaShop CustomerA

Create a new customer account.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • firstname: First name (required)

  • lastname: Last name (required)

  • email: Email address (required)

  • passwd: Password (required, min 5 chars)

  • active: Activate the account (default: true)

  • newsletter: Subscribe to newsletter (default: false)

  • id_default_group: Customer group ID (default: 3 = Customer)

Returns: Created customer ID and summary.

Inputs: email (required), passwd (required), lastname (required), firstname (required), +4 more.

ps_create_productCreate PrestaShop ProductA

Create a new product.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • name: Product name (required)

  • price: Price tax excluded (required)

  • id_category_default: Default category ID (required)

  • description: Long description (HTML allowed)

  • description_short: Short description (HTML allowed)

  • reference: Product reference code

  • active: Activate the product (default: true)

  • meta_title: SEO title

  • meta_description: SEO meta description

  • link_rewrite: URL slug (auto-generated from name if not provided)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Created product ID and summary.

Inputs: name (required), price (required), id_category_default (required), active, +8 more.

ps_create_specific_priceCreate PrestaShop Specific PriceA

Create a specific price rule (product-level promotion).

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • id_product: Product ID (required)

  • reduction: Reduction value (required)

  • reduction_type: "percentage" or "amount" (required)

  • from: Start date (ISO YYYY-MM-DD, optional)

  • to: End date (ISO YYYY-MM-DD, optional)

  • id_group: Customer group ID (0 = all groups)

  • id_country: Country ID (0 = all countries)

  • from_quantity: Minimum quantity for the price to apply (default: 1)

Returns: Created specific price ID.

Inputs: reduction (required), id_product (required), reduction_type (required), to, +5 more.

ps_cross_analysisCross-Dataset AnalysisA
Read-onlyIdempotent

Perform server-side cross-dataset analysis combining stock and order data. Returns only the final compact result — no intermediate raw records are exposed. Use this instead of manually paginating ps_list_stock + ps_list_orders to avoid filling the context window.

analysis_type options: • "dead_products" — products with stock > threshold but 0 units sold in the last days days • "low_movers" — products with stock > threshold and fewer than threshold units sold (sorted by velocity asc) • "out_of_stock_with_demand" — products with quantity = 0 that had at least 1 sale in the last days days

Supports pagination via limit + offset for large catalogues.

Args:

  • analysis_type: One of "dead_products", "low_movers", "out_of_stock_with_demand" (required)

  • days: Lookback period in days for sales data (default: 90)

  • threshold: Stock quantity threshold; interpretation depends on analysis_type (default: 0)

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to scan from PrestaShop (default: 200, max: 500)

  • offset: Skip N products — use with limit to paginate large catalogues (default: 0)

Inputs: analysis_type (required), days, limit, offset, +2 more.

ps_customer_ltvCustomer Lifetime Value (LTV)A

Calculate customer LTV and segment customers.

LTV = avg_order_value × purchase_frequency × lifespan_months

Segments:

  • "champion" : high LTV (top 20%)

  • "loyal" : medium LTV (20–60%)

  • "at_risk" : no purchase in 60+ days but ≥3 previous orders

  • "lost" : no purchase in 60+ days and <3 orders, or bottom 40% LTV

Saves to /data/kpi_ltv_YYYY-MM-DD.json.

Args:

  • limit: Max customers to analyse (default: 500)

  • at_risk_days: Days without purchase to flag as at_risk (default: 60)

Inputs: limit, at_risk_days.

ps_dead_products_reportDead Products ReportA

Identify products with 0 sales in the last 90 days but with stock > 0.

Returns: product_id, name, stock, price, days_since_last_sale, estimated_loss (stock × price). Saves report to /data/dead_products_YYYY-MM-DD.json.

Args:

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to scan (default: 200)

Inputs: limit, lang_id.

ps_delete_productDelete PrestaShop ProductA
Destructive

Delete a product by ID.

⚠️ Requires PS_READONLY=false and DELETE enabled on the PrestaShop Webservice key. Note: PrestaShop may soft-delete (set active=0) depending on shop configuration.

Args:

  • id: Product ID (required)

  • confirmation_token: Confirmation token (when PS_CONFIRM_DESTRUCTIVE=true)

Returns: Confirmation of deletion.

Inputs: id (required), confirmation_token.

ps_delete_specific_priceDelete PrestaShop Specific PriceA
Destructive

Delete a specific price rule by ID.

⚠️ Requires PS_READONLY=false and DELETE enabled on the PrestaShop Webservice key.

Args:

  • id: Specific price ID (required)

  • confirmation_token: Confirmation token (when PS_CONFIRM_DESTRUCTIVE=true)

Returns: Confirmation of deletion.

Inputs: id (required), confirmation_token.

ps_generate_full_reportGenerate Full Business ReportA

Run all scoring and KPI tools sequentially and produce a consolidated report.

Executes:

  1. Stock rotation score

  2. Margin scoring

  3. Dead products report

  4. Top revenue products

  5. Average basket analysis

  6. Customer LTV

Saves consolidated output to /data/full_report_YYYY-MM-DD.json.

Args:

  • lang_id: Language ID for product/category names (default: "1")

  • days: Lookback period for KPI tools in days (default: 90)

  • limit: Max items to analyse per tool (default: 200)

Inputs: days, limit, lang_id.

ps_get_cartGet PrestaShop CartB
Read-onlyIdempotent

Get full details of a shopping cart by ID, including cart rows (products).

Args:

  • id: Cart ID (required)

Returns: Complete cart data with customer, carrier, products, and dates.

Inputs: id (required).

ps_get_categoryGet PrestaShop CategoryA
Read-onlyIdempotent

Get full details of a category by ID, including all multilang fields and SEO metadata.

Args:

  • id: Category ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete category data with name, description, hierarchy info, and SEO metadata.

Inputs: id (required), lang_id.

ps_get_cms_pageGet PrestaShop CMS PageA
Read-onlyIdempotent

Get full details of a CMS page by ID, including content and SEO metadata.

Args:

  • id: CMS page ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete CMS page data with title, content (HTML), SEO metadata, and configuration.

Inputs: id (required), lang_id.

ps_get_configurationGet PrestaShop ConfigurationB
Read-onlyIdempotent

Get a specific configuration entry by ID.

Args:

  • id: Configuration ID (required)

Returns: Configuration entry with id, name, value, and dates.

Inputs: id (required).

ps_get_customerGet PrestaShop CustomerA
Read-onlyIdempotent

Get full details of a customer by ID.

Args:

  • id: Customer ID (required)

Returns: Complete customer data with personal info, groups, and dates. Note: sensitive data like password hashes are excluded.

Inputs: id (required).

ps_get_customer_ordersGet Customer Order HistoryA
Read-onlyIdempotent

Get the complete order history for a customer, with totals and statuses.

Args:

  • id_customer: Customer ID (required)

  • limit: Max orders to return (default: 50)

Returns: Array of orders sorted by date (newest first) with id, reference, state, payment method, totals, and dates. Also returns customer summary (total orders, total spent).

Inputs: id_customer (required), limit.

ps_get_groupGet PrestaShop Customer GroupA
Read-onlyIdempotent

Get full details of a customer group by ID.

Args:

  • id: Group ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete group data with name, reduction, and configuration.

Inputs: id (required), lang_id.

ps_get_manufacturerGet PrestaShop ManufacturerB
Read-onlyIdempotent

Get full details of a manufacturer by ID.

Args:

  • id: Manufacturer ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete manufacturer data with name, description, and SEO metadata.

Inputs: id (required), lang_id.

ps_get_orderGet PrestaShop OrderA
Read-onlyIdempotent

Get full details of an order by ID, including order rows (products), payment info, and shipping details.

Args:

  • id: Order ID (required)

Returns: Complete order data with reference, customer, state, payment, totals, order rows (products with quantities and prices), and dates.

Inputs: id (required).

ps_get_order_detailsGet PrestaShop Order DetailsA
Read-onlyIdempotent

Get complete details of an order including ordered products, delivery address, carrier, and payment info.

Args:

  • id: Order ID (required)

Returns: Full order with products list (name, reference, quantity, unit price, total), delivery address, carrier, payment method, and all totals.

Inputs: id (required).

ps_get_productGet PrestaShop ProductA
Read-onlyIdempotent

Get full details of a product by ID, including all multilang fields, associations (categories, images, combinations, features), and SEO metadata.

Args:

  • id: Product ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete product data with name, descriptions, price, stock, images, categories, features, combinations, and SEO metadata.

Inputs: id (required), lang_id.

ps_get_product_imagesGet Product ImagesA
Read-onlyIdempotent

Get all image URLs for a specific product.

The PrestaShop Webservice exposes product images at: {PS_API_URL}/api/images/products/{product_id}/{image_id}

This tool fetches the product to retrieve its image IDs, then constructs the full URLs.

Args:

  • id_product: Product ID (required)

Returns: Array of image objects with id and URL for each image associated with the product.

Inputs: id_product (required).

ps_get_product_stockGet Product StockA
Read-onlyIdempotent

Get stock information for a specific product, including all its combinations/variants.

Args:

  • id_product: Product ID (required)

Returns: Stock entries for the product and all its combinations, with quantities and out-of-stock policy.

Inputs: id_product (required).

ps_get_supplierGet PrestaShop SupplierA
Read-onlyIdempotent

Get full details of a supplier by ID.

Args:

  • id: Supplier ID (required)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Complete supplier data with name, description, and SEO metadata.

Inputs: id (required), lang_id.

ps_inventory_value_reportInventory Value ReportA
Read-onlyIdempotent

Calculate the total value of inventory by multiplying stock × wholesale_price.

Returns: total inventory value, number of products, top products by inventory value.

Args:

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to analyse (default: 200)

Inputs: limit, lang_id.

ps_list_addressesList PrestaShop AddressesB
Read-onlyIdempotent

List customer or supplier addresses with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_customer: Filter by customer ID

  • deleted: Include deleted addresses (default: false)

Returns: Array of addresses with id, customer_id, firstname, lastname, company, address, city, country_id, and phone.

Inputs: limit, offset, deleted, id_customer.

ps_list_carriersList PrestaShop CarriersA
Read-onlyIdempotent

List shipping carriers configured in the shop.

Args:

  • active: Filter by active status (true/false)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of carriers with id, name, delay, price, active status, and configuration.

Inputs: active, lang_id.

ps_list_cart_rulesList PrestaShop Cart RulesA
Read-onlyIdempotent

List cart rules (discount codes / vouchers) with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • active: Filter by active status (true/false)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of cart rules with id, name, code, discount type, amount, and validity dates.

Inputs: limit, active, offset, lang_id.

ps_list_cartsList PrestaShop CartsA
Read-onlyIdempotent

List shopping carts with optional filtering. Useful for abandoned cart analysis.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_customer: Filter by customer ID

Returns: Array of carts with id, customer_id, currency, carrier, and dates.

Inputs: limit, offset, id_customer.

ps_list_categoriesList PrestaShop CategoriesB
Read-onlyIdempotent

List product categories with hierarchy information.

Args:

  • limit: Max categories to return (default: 50)

  • offset: Pagination offset (default: 0)

  • active: Filter by active status

  • id_parent: Filter by parent category ID (for subcategories)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of categories with id, name, parent_id, level_depth, active status, and SEO metadata.

Inputs: limit, active, offset, lang_id, +1 more.

ps_list_cms_pagesList PrestaShop CMS PagesA
Read-onlyIdempotent

List CMS (static content) pages. These are informational pages like "About Us", "Terms & Conditions", etc.

Args:

  • active: Filter by active status

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of CMS pages with id, title, active status, and SEO metadata.

Inputs: active, lang_id.

ps_list_combinationsList PrestaShop CombinationsB
Read-onlyIdempotent

List product combinations (variants) with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_product: Filter by product ID

Returns: Array of combinations with id, product_id, reference, price impact, and stock info.

Inputs: limit, offset, id_product.

ps_list_configurationsList PrestaShop ConfigurationsA
Read-onlyIdempotent

List shop configuration keys and values.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

Returns: Array of configuration entries with id, name, and value.

Inputs: limit, offset.

ps_list_countriesList PrestaShop CountriesA
Read-onlyIdempotent

List countries configured in the shop.

Args:

  • limit: Max items to return (default: 50)

  • active: Filter by active status

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of countries with id, name, iso_code, and active status.

Inputs: limit, active, lang_id.

ps_list_currenciesList PrestaShop CurrenciesA
Read-onlyIdempotent

List currencies configured in the shop.

Args:

  • active: Filter by active status

Returns: Array of currencies with id, name, iso_code, sign, conversion_rate, and active status.

Inputs: active.

ps_list_customersList PrestaShop CustomersB
Read-onlyIdempotent

List customers with optional filtering and pagination.

Args:

  • limit: Max customers to return (default: 50)

  • offset: Pagination offset (default: 0)

  • sort: Sort field and direction (default: "id_DESC")

  • active: Filter by active status

  • email: Filter by exact email

  • search_name: Search in customer names (partial match)

  • newsletter: Filter by newsletter subscription

Returns: Array of customers with id, firstname, lastname, email, active status, newsletter, and dates.

Inputs: sort, email, limit, active, +3 more.

ps_list_groupsList PrestaShop Customer GroupsA
Read-onlyIdempotent

List customer groups (e.g., Visitor, Guest, Customer).

Args:

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of groups with id, name, reduction, price_display_method, and show_prices.

Inputs: lang_id.

ps_list_languagesList PrestaShop LanguagesA
Read-onlyIdempotent

List all languages configured in the shop. Language IDs are essential for reading multilang fields (product names, descriptions, SEO metadata).

Returns: Array of languages with id, name, iso_code, language_code, and active status.

Inputs: no named parameters.

ps_list_manufacturersList PrestaShop ManufacturersA
Read-onlyIdempotent

List manufacturers (brands) with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • active: Filter by active status

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of manufacturers with id, name, active status, and description.

Inputs: limit, active, offset, lang_id.

ps_list_order_historiesList PrestaShop Order HistoriesB
Read-onlyIdempotent

List order status history entries with optional filtering by order or state.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_order: Filter by order ID

  • id_order_state: Filter by order state ID

Returns: Array of history entries with id, order_id, state_id, employee_id, and date.

Inputs: limit, offset, id_order, id_order_state.

ps_list_order_invoicesList PrestaShop Order InvoicesA
Read-onlyIdempotent

List order invoices with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_order: Filter by order ID

Returns: Array of invoices with id, order_id, number, totals, and dates.

Inputs: limit, offset, id_order.

ps_list_order_paymentsList PrestaShop Order PaymentsA
Read-onlyIdempotent

List order payments with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_order: Filter by order reference

Returns: Array of payments with id, order_reference, payment_method, amount, and date.

Inputs: limit, offset, id_order.

ps_list_ordersList PrestaShop OrdersA
Read-onlyIdempotent

List orders with optional filtering and pagination.

Args:

  • limit: Max orders to return (default: 50)

  • offset: Pagination offset (default: 0)

  • sort: Sort field and direction (e.g., "id_DESC", "date_add_DESC") (default: "id_DESC")

  • id_customer: Filter by customer ID

  • current_state: Filter by order state ID

  • reference: Filter by order reference

  • mode: Response shape (default: "raw"): • "raw" → full order records (default, backward-compatible) • "summary" → aggregated stats only (count, total revenue, avg basket, state breakdown) • "ids_only" → flat array of order IDs — minimal payload

Returns: Array of orders with id, reference, customer_id, state, payment method, totals, and dates.

Inputs: mode, sort, limit, offset, +3 more.

ps_list_order_statesList PrestaShop Order StatesA
Read-onlyIdempotent

List all order states/statuses. Use this to understand order state IDs when filtering orders.

Returns: Array of order states with id, name, and configuration.

Inputs: lang_id.

ps_list_product_featuresList PrestaShop Product FeaturesA
Read-onlyIdempotent

List product features (characteristics) defined in the shop (e.g., Material, Color, Size).

Args:

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of product features with id and name.

Inputs: lang_id.

ps_list_product_optionsList PrestaShop Product OptionsA
Read-onlyIdempotent

List product attribute options (e.g., Size, Color) used for combinations/variants.

Args:

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of product options (attributes) with id, name, type, and position.

Inputs: lang_id.

ps_list_productsList PrestaShop ProductsA
Read-onlyIdempotent

List products with optional filtering, sorting, and pagination.

Args:

  • limit: Max products to return (default: 50)

  • offset: Skip N products for pagination (default: 0)

  • sort: Sort field and direction (e.g., "id_DESC", "price_ASC", "name_ASC", "date_add_DESC")

  • active: Filter by active status (true/false)

  • id_category: Filter by category ID

  • reference: Filter by product reference

  • search_name: Search in product name (partial match)

  • lang_id: Language ID for multilang fields (default: "1")

  • mode: Response shape (default: "raw"): • "raw" → full product records (default, backward-compatible) • "summary" → aggregated stats only (counts, price range, active ratio) — zero individual records • "ids_only" → flat array of product IDs — minimal payload for further lookups

Returns: Array of products with id, name, reference, price, active status, category, and stock info.

Inputs: mode, sort, limit, active, +5 more.

ps_list_specific_pricesList PrestaShop Specific PricesA
Read-onlyIdempotent

List specific prices (promotional prices, quantity-based prices) configured for products.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_product: Filter by product ID

Returns: Array of specific prices with id, product_id, price, reduction type/amount, and validity dates.

Inputs: limit, offset, id_product.

ps_list_statesList PrestaShop StatesB
Read-onlyIdempotent

List states/provinces with optional country filter.

Args:

  • limit: Max items to return (default: 50)

  • id_country: Filter by country ID

Returns: Array of states with id, name, iso_code, and country_id.

Inputs: limit, id_country.

ps_list_stockList PrestaShop StockA
Read-onlyIdempotent

List stock availability for products.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_product: Filter by product ID

  • out_of_stock_only: Only show products with quantity <= 0

  • mode: Response shape (default: "raw"): • "raw" → full stock entries (default, backward-compatible) • "summary" → aggregated stats only (total units, out-of-stock count, in-stock count) • "ids_only" → flat array of product IDs that have stock entries

Returns: Array of stock entries with product_id, product_attribute_id, quantity, and out_of_stock policy.

Inputs: mode, limit, offset, id_product, +1 more.

ps_list_suppliersList PrestaShop SuppliersA
Read-onlyIdempotent

List suppliers with optional filtering.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • active: Filter by active status

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of suppliers with id, name, active status, and description.

Inputs: limit, active, offset, lang_id.

ps_list_targetsList PrestaShop SitesA
Read-onlyIdempotent

List all configured PrestaShop shops available for this MCP server.

Sites are configured via environment variables:

  • Default: PS_API_URL + PS_API_KEY (+ optional PS_SITE_DEFAULT_NAME)

  • Extra shops: PS_SITE_1_URL, PS_SITE_1_KEY, PS_SITE_1_NAME, PS_SITE_2_URL, etc.

Returns: Array of configured shops with key, name, URL, and connection status.

Inputs: no named parameters.

ps_list_tax_rulesList PrestaShop Tax RulesA
Read-onlyIdempotent

List tax rules configured in the shop, optionally filtered by tax rule group.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_tax_rules_group: Filter by tax rule group ID

Returns: Array of tax rules with id, group_id, country_id, state_id, zip_range, and rate.

Inputs: limit, offset, id_tax_rules_group.

ps_list_zonesList PrestaShop ZonesB
Read-onlyIdempotent

List geographic zones (e.g., Europe, North America).

Args:

  • limit: Max items to return (default: 50)

Returns: Array of zones with id, name, and active status.

Inputs: limit.

ps_low_stock_reportPrestaShop Low Stock ReportA
Read-onlyIdempotent

List products whose stock is below a threshold, sorted by quantity ascending (most critical first).

Args:

  • threshold: Stock alert threshold (default: 5) — products with quantity <= threshold are returned

  • limit: Max products to return (default: 50)

  • lang_id: Language ID for product names (default: "1")

Returns: Array of low-stock products with product_id, name, stock_id, quantity, and out_of_stock policy. Includes a summary with total count and critical (quantity=0) count.

Inputs: limit, lang_id, threshold.

ps_margin_scoringMargin ScoringA

Calculate gross margin per product using the wholesale_price field.

margin % = (price - wholesale_price) / price × 100 Classification: "excellent" (>50%), "good" (30–50%), "low" (15–30%), "critical" (<15%) Products without wholesale_price are marked as "no_data".

Saves to /data/margin_scores_YYYY-MM-DD.json.

Args:

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to analyse (default: 200)

Inputs: limit, lang_id.

ps_search_productsSearch PrestaShop ProductsA
Read-onlyIdempotent

Search products using PrestaShop's built-in search engine.

Args:

  • query: Search query string (required)

  • lang_id: Language ID for search (default: "1")

Returns: Array of matching products with basic info.

Inputs: query (required), lang_id.

ps_set_targetSwitch PrestaShop SiteA
Idempotent

Switch the active PrestaShop shop. All subsequent tool calls will target this shop.

Use ps_list_targets to see available site keys.

Args:

  • site: Site key (e.g., "default", "site_1", "site_2")

Returns: Confirmation with the new active site details.

Inputs: site (required).

ps_site_infoPrestaShop Site InfoA
Read-onlyIdempotent

Get PrestaShop site information including available API resources, shops, languages, and currencies. Use this first to understand the shop configuration.

Returns: Shop details, active languages with IDs (needed for multilang fields), currencies, list of available API resources, and multi-site configuration.

Inputs: no named parameters.

ps_stock_alert_checkStock Alert CheckA

Compare current product stock against configured thresholds and report alerts.

Reads thresholds from /data/stock_alert_config.json (created with defaults if absent). Default config: { default_threshold: 5, critical_threshold: 0 }

Returns summary: { total_warnings, total_critical, alerts[] } Writes current alerts to /data/stock_alerts.json and history to /data/stock_alerts_history.json.

Args:

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to check (default: 500)

Inputs: limit, lang_id.

ps_stock_rotation_scoreStock Rotation ScoreA

Calculate stock rotation rate per product.

rotation = units_sold_30d / average_stock Classification: "fast" (>2), "normal" (0.5–2), "slow" (0.1–0.5), "dead" (<0.1)

Saves to /data/stock_rotation_YYYY-MM-DD.json.

Args:

  • lang_id: Language ID for product names (default: "1")

  • limit: Max products to analyse (default: 200)

Inputs: limit, lang_id.

ps_supplier_performanceSupplier Performance AnalysisB
Read-onlyIdempotent

Analyse supplier performance by crossing suppliers, products, stock, and orders.

Calculates per supplier: number of products, total stock, revenue generated, average margin.

Args:

  • days: Lookback period in days (default: 90)

  • lang_id: Language ID for supplier names (default: "1")

Returns: Array of suppliers with performance metrics.

Inputs: days, lang_id.

ps_top_revenue_productsTop Revenue Products (Pareto)A

Calculate revenue per product from order history and return the top 20% by revenue (Pareto principle).

Includes: product_id, name, total_revenue, units_sold, avg_price, % of total revenue. Saves to /data/kpi_top_products_YYYY-MM-DD.json.

Args:

  • days: Lookback period in days (default: 90)

  • limit: Max orders to analyse (default: 1000)

Inputs: days, limit.

ps_update_categoryUpdate PrestaShop CategoryA
Idempotent

Update an existing category.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • id: Category ID (required)

  • name: Category name

  • active: Activate/deactivate

  • description: Category description

  • meta_title: SEO title

  • meta_description: SEO meta description

  • link_rewrite: URL slug

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Confirmation with updated fields.

Inputs: id (required), name, active, lang_id, +5 more.

ps_update_cms_pageUpdate PrestaShop CMS PageA
Idempotent

Update an existing CMS page.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • id: CMS page ID (required)

  • meta_title: Page title

  • content: Page content (HTML)

  • active: Activate/deactivate

  • meta_description: SEO meta description

  • link_rewrite: URL slug

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Confirmation with updated fields.

Inputs: id (required), active, content, lang_id, +4 more.

ps_update_customerUpdate PrestaShop CustomerA
Idempotent

Update an existing customer's information.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key. Note: Password cannot be modified through this tool for security reasons.

Args:

  • id: Customer ID (required)

  • firstname: First name

  • lastname: Last name

  • email: Email address

  • active: Activate/deactivate

  • newsletter: Newsletter subscription

Returns: Confirmation with updated fields.

Inputs: id (required), email, active, lastname, +3 more.

ps_update_order_statusUpdate PrestaShop Order StatusA

Change the status of an order by creating a new order history entry.

⚠️ Requires PS_READONLY=false and POST enabled on the PrestaShop Webservice key.

Args:

  • id_order: Order ID (required)

  • id_order_state: New state ID (use ps_list_order_states to get valid IDs)

Returns: Confirmation with new history entry ID.

Inputs: id_order (required), id_order_state (required), confirmation_token.

ps_update_productUpdate PrestaShop ProductB
Idempotent

Update product fields: price, active status, name, description, meta_title, meta_description, link_rewrite.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • id: Product ID (required)

  • price: New price (tax excluded)

  • active: Activate or deactivate the product

  • name: Product name (for lang_id language)

  • description: Long description (HTML allowed)

  • description_short: Short description (HTML allowed)

  • meta_title: SEO title

  • meta_description: SEO meta description

  • link_rewrite: URL slug

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Updated product summary.

Inputs: id (required), name, price, active, +7 more.

ps_update_seoUpdate PrestaShop SEO MetadataA
Idempotent

Update meta_title, meta_description, and link_rewrite (URL slug) for a product or a category.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • type: "product" or "category"

  • id: Product or category ID (required)

  • meta_title: SEO title (max 70 chars recommended)

  • meta_description: SEO description (50-160 chars recommended)

  • link_rewrite: URL slug (lowercase letters, numbers, hyphens only)

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Confirmation of the update.

Inputs: id (required), type (required), lang_id, meta_title, +3 more.

ps_update_stockUpdate PrestaShop StockA
Idempotent

Update the available quantity for a product or a specific combination/variant.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • id: Stock available ID (use ps_get_product_stock to find it)

  • quantity: New quantity (must be >= 0)

  • out_of_stock: Behaviour when out of stock: 0=deny orders, 1=allow orders, 2=use shop default

Returns: Updated stock entry.

Inputs: id (required), quantity (required), out_of_stock, confirmation_token.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 79 tools

    Disambiguation2/5

    Several tools have unclear boundaries: ps_get_order and ps_get_order_details appear to return nearly identical order detail, and ps_dead_products_report overlaps heavily with ps_cross_analysis using analysis_type=dead_products. Stock/alert tools (ps_low_stock_report, ps_stock_alert_check, ps_list_stock, ps_get_product_stock, ps_stock_rotation_score) and SEO update paths (ps_update_product, ps_update_category, ps_update_seo) also risk misselection.

    Naming Consistency3/5

    All tools use a consistent ps_ prefix and snake_case, which is readable. However, many analytics tools are noun-first reports (ps_dead_products_report, ps_stock_rotation_score, ps_customer_ltv) while the core CRUD tools are verb-first (ps_list_*, ps_get_*, ps_create_*), creating a mixed convention across the set.

    Tool Count1/5

    At 79 tools, the surface is extremely large for an MCP server and exceeds the point where an agent can reliably choose among tools. Much of the count comes from overlapping analytics/report tools and many read-only list/get endpoints, making the set feel overgrown rather than well-scoped.

    Completeness3/5

    Coverage is broad across products, categories, customers, orders, carts, stock, CMS, SEO, carriers, pricing, and reporting. However, several resources are list/get only (manufacturers, suppliers, carriers, tax rules, zones, configurations), and there are gaps in product combination/image management, order creation, and delete/update operations for some entities.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers