Enables complete management of PrestaShop e-commerce stores, including products, categories, customers, orders, modules, cache, themes, and navigation menus through the PrestaShop API.
PrestaShop MCP Server
A professional Model Context Protocol (MCP) Server for complete management of PrestaShop e-commerce stores with extended functionality.
๐ Overview
This MCP Server enables complete management of your PrestaShop store through AI applications like Claude Desktop. With specialized tools, you can manage all aspects of your e-commerce business - from products and categories to customers, orders, modules, cache, themes, and navigation menus.
โจ Features
๐๏ธ Complete Store Management - Tools for all e-commerce areas
๐ง Module Management - Install, activate, deactivate modules
๐พ Cache Management - Clear and monitor cache status
๐จ Theme Management - Configure themes and settings
๐ Menu Management - Manage main navigation (ps_mainmenu)
๐๏ธ MCP Protocol Compliance for seamless AI integration
โก Async/Await Architecture for maximum performance
๐ก๏ธ Comprehensive Error Handling and validation
๐ง Production-Ready with complete test suite
๐ Comprehensive Documentation with practical examples
๐ ๏ธ Available Tools
๐ฆ Unified Product Management
get_products- UNIFIED Product retrieval supporting all use cases:Single Product by ID: Complete product details including stock and category info
Multiple Products: List with optional filtering and enhancement
Flexible Enhancement: Optional stock info, category details, custom field selection
Smart Filtering: By category, name, or custom criteria
create_product- Create new products with complete configurationupdate_product- Edit product informationdelete_product- Remove productsupdate_product_stock- Manage inventory levelsupdate_product_price- Update pricing
๐ท๏ธ Category Management
get_categories- Retrieve categories (with hierarchy filter)create_category- Create new categoriesupdate_category- Edit categoriesdelete_category- Remove categories
๐ฅ Customer Management
get_customers- Retrieve and filter customerscreate_customer- Create new customersupdate_customer- Edit customer data
๐ Order Management
get_orders- Retrieve and filter ordersupdate_order_status- Change order statusget_order_states- Retrieve available statuses
๐ง Module Management NEW
get_modules- List all PrestaShop modulesget_module_by_name- Get specific module detailsinstall_module- Install new modulesupdate_module_status- Activate/deactivate modules
๐ Main Menu Management NEW
get_main_menu_links- Retrieve ps_mainmenu navigation linksupdate_main_menu_link- Edit existing menu linksadd_main_menu_link- Add new navigation links
๐พ Cache Management NEW
clear_cache- Clear PrestaShop cache (all types)get_cache_status- Monitor cache configuration
๐จ Theme Management NEW
get_themes- Get current theme informationupdate_theme_setting- Configure theme settings
โ๏ธ Store Administration
test_connection- Test API connectionget_shop_info- Comprehensive store statistics
๐ Installation
โ ๏ธ Recommended Installation (Virtual Environment)
This approach prevents module conflicts and ensures reliable installation:
Windows:
Linux/macOS:
โ๏ธ Configuration
Create a .env file based on .env.example:
๐ฏ Usage
๐ค With Claude Desktop
Using Virtual Environment (Recommended)
Add this configuration to claude_desktop_config.json:
Windows:
Linux/macOS:
๐ป CLI Usage
๐ Extended Functionality Examples
Module Management
Main Menu Management
Cache Management
Theme Management
๐ Unified Product API
The get_products tool handles all product retrieval scenarios with a single, powerful interface:
Use Cases:
Scenario | Parameters | Result |
Single Product Details |
| Complete product info with stock & category |
Product List |
| List of products in category 5 |
Enhanced List |
| Full product details with stock for 10 products |
Filtered Search |
| All laptop products with complete information |
Custom Fields |
| Specific fields only for 50 products |
๐ ๏ธ Advanced Features
ps_mainmenu Integration
The ps_mainmenu module management allows you to:
Retrieve all main navigation links
Add custom navigation items
Update existing menu links (name, URL, status)
Control menu link positioning
Cache Performance Optimization
Cache management includes:
Clear all cache types (CSS, JS, Template, General)
Monitor cache status for performance optimization
Toggle cache settings for development/production
Module Lifecycle Management
Complete module control:
List all installed modules with status
Install new modules programmatically
Activate/deactivate modules as needed
Get detailed module information
Theme Customization
Theme management capabilities:
View current theme configuration
Update theme-specific settings
Manage logos and visual elements
Configure theme-related PrestaShop settings
๐ง Troubleshooting
โ Common Issues
"ModuleNotFoundError: No module named 'prestashop_mcp'"
Solution: Use virtual environment and ensure package is installed:
Module Management Issues
Check Module Permissions:
Cache Clear Not Working
Alternative Cache Clear: If the API-based cache clear doesn't work, you may need to:
Check PrestaShop permissions for API user
Use manual cache clearing in PrestaShop admin
Verify cache directory write permissions
๐ Debug Mode
Enable debug logging in Claude Desktop configuration:
๐ Project Structure
๐ API Documentation
PrestaShop API
Complete PrestaShop API documentation:
Authentication
Important Endpoints
Products:
/api/productsCategories:
/api/categoriesCustomers:
/api/customersOrders:
/api/ordersStock:
/api/stock_availablesOrder Status:
/api/order_statesModules:
/api/modulesNEWConfigurations:
/api/configurationsNEW
๐งช Development
๐๏ธ Development Environment
๐ Resources
๐ License
MIT License - see LICENSE for details.
๐ Changelog
See CHANGELOG.md for a detailed history of changes.
๐๏ธ Project Status & Development Notes
๐ Maintenance Status
โ ๏ธ Limited Maintenance: I currently do not plan to actively maintain this repository. The PrestaShop MCP Server was rather a test of how an MCP server can be created without significant own programming experience and largely based on LLMs and MCPs.
๐งช Experimental Nature
This project served as a Proof of Concept for:
LLM-Assisted Development: Development of complex software integration solutions with minimal manual programming
MCP Server Architecture: Practical implementation of the Model Context Protocol specification
AI-Driven E-Commerce Integration: Automated PrestaShop management through natural language
No-Code/Low-Code Approach: Maximum use of AI tools for professional software development
๐ณ Planned Docker Distribution
Upcoming Features: It is still planned to provide the entire MCP server as a ready-made Docker container as soon as all functions are implemented as desired.
Benefits of Docker deployment:
โ Zero-Configuration Setup: Easy installation without complex Python environment
โ Consistent Environment: Identical behavior on all platforms
โ Isolated Dependencies: No conflicts with local Python installations
โ Production-Ready: Optimized for productive use
โ Auto-Updates: Easy update to new versions
Planned Docker usage:
๐ฏ Manage your complete PrestaShop store including modules, cache, themes, and navigation through natural language with Claude Desktop!