LP

latinogino/prestashop-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

8 stars 11 forks 质量 65 趋势 7MIT

PrestaShop MCP 服务器 - 专业电子商务集成(CLEAN HISTORY)

概览

PrestaShop电子商务商店的完整管理专业模式上下文协议服务器。 这个MCP 服务器通过 Claude Desktop 等 AI 应用程序可以实现对您的 PrestaShop 商店的完整管理 。 通过专门的工具,你可以管理你的电子商务业务的各个方面——从产品和类别到客户,订单, - 用于所有电子商务领域的工具 - 安装、激活、停用模块 - - 清除和监测缓存状态 - 配置主题和设置 - 管理主导航(ps mainmenu) - 用于无缝的AI集成 - 用于最大性能 - 和验证 - 带有完整的测试套件 - 有实例 - get products - 支持所有用例的产品检索: - :包括库存和类别信息在内的完整产品细节 - :带有可选过滤和增强功能的列表 - :可选库存信息,类别细节,自定义字段选择 - : 按类别,名称,或自定义标准-创建 产品-创建新产品.

概述(AI 翻译)

用于PrestaShop电子商务商店完整管理的专业模式上下文协议(MCP)服务器,具有扩展功能.

□ □ □ 概览

这个MCP 服务器通过 Claude Desktop 等 AI 应用程序可以实现对您的 PrestaShop 商店的完整管理 。 有了专门的工具,你就可以管理电子商务业务的各个方面——从产品和类别到客户、订单、模块、缓存、主题和导航菜单。

□ * * * * 特点

  • 完整的储存管理** – – 所有电子商务领域的工具
  • 模块管理** - 安装、激活、失效模块 -QQ快取管理** - 清除并监视快取状态
  • 主题管理** - 配置主题和设置
  • 菜单管理** - 管理主导航(ps mainmenu)
  • MCP协议的遵守** 无缝AI集成
  • ⚡ Async/Await Architecture 最大性能
  • 综合错误处理**和验证
  • 装有全套测试套件的生产-准备**
  • 有实例的综合文件**

# # # 可用的工具

统一产品管理

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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 configuration
  • update_product - Edit product information
  • delete_product - Remove products
  • update_product_stock - Manage inventory levels
  • update_product_price - Update pricing

🏷️ Category Management

  • get_categories - Retrieve categories (with hierarchy filter)
  • create_category - Create new categories
  • update_category - Edit categories
  • delete_category - Remove categories

👥 Customer Management

  • get_customers - Retrieve and filter customers
  • create_customer - Create new customers
  • update_customer - Edit customer data

📋 Order Management

  • get_orders - Retrieve and filter orders
  • update_order_status - Change order status
  • get_order_states - Retrieve available statuses

🔧 Module Management NEW

  • get_modules - List all PrestaShop modules
  • get_module_by_name - Get specific module details
  • install_module - Install new modules
  • update_module_status - Activate/deactivate modules

📋 Main Menu Management NEW

  • get_main_menu_links - Retrieve ps_mainmenu navigation links
  • update_main_menu_link - Edit existing menu links
  • add_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 information
在 GitHub 查看完整 README

安装

docker run -e PRESTASHOP_SHOP_URL=https://your-shop.com \
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "prestashop": { "command": "C:\\\\path\\\\to\\\\prestashop-mcp\\\\venv_prestashop\\\\Scripts\\\\python.exe", "args": ["-m", "prestashop_mcp.prestashop_mcp_server"], "cwd": "C:\\\\path\\\\to\\\\prestashop-mcp", "env": { "PRESTASHOP_SHOP_URL": "https://your-shop.example.com", "PRESTASHOP_API_KEY": "YOUR_API_KEY" } } } }