连接器指南阅读约 5 分钟29 个 MCP 工具7 种语言

将 PrestaShop MCP 连接到 ChatGPT

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

PrestaShop

PrestaShop

Your own PrestaShop shop: products with features, combinations and attributes, brands, stock, orders with their status history and shipping rows, customers, addresses, carriers and categories, through the shop's Webservice API. Create and update products and combinations, feature values, images, prices, stock, order status and tracking numbers.

个工具

29

区域

INTL

类别

电子商务

身份验证

Basic Auth

所需环境变量

PRESTASHOP_URLPRESTASHOP_WEBSERVICE_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

摘要

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

引导式设置

2 分钟将 PrestaShop 连接到 ChatGPT

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 PrestaShop,再把你的 MCP URL 添加到 ChatGPT。无需代码,也无需自行运行服务器。

无需信用卡 · 7 天试用 · 提供自托管方案

ChatGPT 插件目录中的 AnythingMCP 插件可在 AnythingMCP Cloud 上回答有关企业数据库的问题(PostgreSQL、MySQL、SQL Server、Oracle、SAP HANA、SQLite、MongoDB,只读):打开插件页面 (在新标签页中打开)并点击 Install plugin。其他所有连接器都以自定义 MCP 服务器的方式添加到 ChatGPT,使用你的 AnythingMCP MCP URL。

试试这样问

PrestaShop 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

PrestaShop · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → PrestaShop、粘贴凭证、生成 MCP API key — 完成。无 Docker、无 git clone、无本地服务器。

PrestaShop + ChatGPT

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

PRESTASHOP_URL, PRESTASHOP_WEBSERVICE_KEY

步骤 1 — 获取凭证

  1. 在 PrestaShop 后台打开 Advanced Parameters → Webservice,将 Enable PrestaShop's webservice 设为 Yes 并保存。
  2. 在同一页面点击 Add new webservice key,再点击 Generate 生成 32 位密钥。填写描述,并将 Status 设为启用。
  3. 在 Permissions 中为 products、combinations、stock_availables、orders、order_states、order_histories、order_carriers、customers、addresses、carriers、categories、product_features、product_feature_values、product_options、product_option_values 和 manufacturers 勾选 GET。如需使用写入工具,还要为 order_histories、products、combinations 和 images 勾选 POST(订单状态,以及新建商品、组合和图片),为 products、stock_availables、product_feature_values 和 order_carriers 勾选 PATCH(商品字段、价格、库存、特性值和物流单号)。只读密钥只需勾选 GET 一列。多店铺模式下,还要选择该密钥可访问的店铺。
  4. 将商店根地址填入 PRESTASHOP_URL(例如 https://shop.example.com;商店位于子目录时为 https://example.com/shop;不带 /api,末尾不加斜杠),将密钥填入 PRESTASHOP_WEBSERVICE_KEY。
  5. 先用 prestashop_list_order_states 获取商店的状态 id,再使用 prestashop_list_orders 和 prestashop_get_order。除非指定 display=full 或 [id,name,price] 这样的字段列表,列表只返回 id。

此处菜单名称为英文;后台使用其他语言时会显示对应译名。读取功能支持 PrestaShop 1.7 和 8;更新工具(价格、库存、商品字段、特性值和物流单号)使用 PATCH,需要 PrestaShop 8.0 或更高版本。商品价格为不含税的基础价格,以商店默认货币计。如果密钥正确但每次调用都返回 401,说明服务器丢弃了 Authorization 请求头:请在 Webservice 页面启用 CGI mode for PHP。prestashop_change_order_state 会执行该状态触发的操作(开票、库存变动,以及 send_email 为 1 时向客户发送邮件),因此请先确认再执行。

目录和配送:该连接器还能读取商品特性及其值、属性组和属性值(构成组合的选项)、品牌以及订单的配送行。它可以创建商品和组合,从公开图片 URL 为商品添加图片,修改商品字段和特性值,并在订单的配送行中设置物流单号。写入商品时发送 XML 字段,分类、特性或组合的属性值这类列表会整体替换,因此 AI 会先读取商品,向你展示改动,并在每次写入前征求你的确认。预定义的特性值由所有使用它的商品共享。设置物流单号不会发送后台通常发出的发货邮件。

已经安装? 之前安装的连接器可通过目录更新获得新工具:在 AnythingMCP 中打开该连接器,在 Catalog update available 下查看新工具列表,然后点击 Apply update。你的凭据和你自己添加的工具保持不变。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 ChatGPT 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。

  1. 前往 chatgpt.com/plugins,点击 Add,然后选择 Add custom MCP server。
  2. 填写名称,例如 Name: PrestaShop。
  3. 在 Connection 下的 Server URL 中填入 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。
  4. 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
  5. 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。

可用工具

ToolWhat it does
prestashop_list_productsList products of the shop, with filters on id, reference, name, active flag and default category
prestashop_get_productGet one product with all its fields: prices (base price without tax, wholesale price), reference and EANs, descriptions, active flag, and…
prestashop_list_combinationsList the combinations (variants such as size and colour) of products: reference, EAN, price impact on the product price, weight impact…
prestashop_list_stock_availablesList stock rows: quantity per product and combination (id_product_attribute 0 is the product row), out-of-stock behaviour and whether…
prestashop_update_product_priceSet a product's base price without tax, in the shop's default currency
prestashop_update_stock_quantitySet the quantity of one stock row (a product or one of its combinations) to an absolute number
prestashop_list_ordersList orders, filtered by id, reference, customer, current status or a date range on date_add
prestashop_get_orderGet one order: customer, delivery and invoice address ids, carrier, payment method, current status, totals with and without tax, currency…
prestashop_list_order_statesList the shop's order statuses with id, name and flags: paid, shipped, delivery, invoice, whether the customer gets an e-mail (send_email)…
prestashop_list_order_historiesList the status history of orders: each row is one status change with the order id, the status id, the employee who made it (0 for the…
prestashop_change_order_stateMove an order to another status by adding a row to its history
prestashop_list_customersList customer accounts with name, e-mail, company, group, language, newsletter and opt-in flags, guest flag, active flag, note and dates
prestashop_get_customerGet one customer account by id: name, e-mail, company, group, language, newsletter and opt-in flags, guest flag, active flag, note and dates
prestashop_list_addressesList postal addresses with name, company, VAT number, street lines, postcode, city, country and state ids, phones and the customer they…
prestashop_list_carriersList carriers with id, name, active and deleted flags, delivery delay text, tracking URL and limits
prestashop_list_categoriesList product categories with id, name, parent id, depth in the tree, active flag and, with display=full, descriptions and associated…
prestashop_list_product_featuresList the product features (Caractéristiques, Merkmale) the shop defines, such as Material or Composition: id, name and position
prestashop_list_product_feature_valuesList the values of product features: id, id_feature, custom flag (1 = a value typed for one product, 0 = a predefined value) and the value…
prestashop_get_product_feature_valueGet one product feature value by id: id_feature, custom flag and the value per language (or in one language with language)
prestashop_list_attribute_groupsList the attribute groups (product options such as Size or Color) used to build combinations: id, name, public name, group type (select…
prestashop_list_attribute_valuesList the attribute values (product option values such as S, M, L or Red) of the attribute groups: id, id_attribute_group, name, color and…
prestashop_list_brandsList the brands (manufacturers) of the shop: id, name, active flag, dates and descriptions
prestashop_list_order_shippingList the shipping rows of orders (order_carriers): id, id_order, id_carrier, invoice, weight, shipping cost with and without tax, tracking…
prestashop_update_productChange fields of one product with a partial XML update (PATCH): only the elements sent change. fields_xml holds the product elements to…
prestashop_add_productCreate a product from XML elements. fields_xml needs at least <price> (without tax) and should carry <id_category_default>…
prestashop_update_product_feature_valueChange the text of one product feature value in one language (PATCH)
prestashop_add_combinationCreate a combination (variant) of a product. fields_xml carries <minimal_quantity>1</minimal_quantity> (required) and the attribute values…
prestashop_upload_product_imageAdd an image to a product from a public image URL (JPG, PNG, GIF or WebP): the connector downloads the file and uploads it to the shop…
prestashop_set_order_tracking_numberSet the tracking number of an order's shipping row (order_carrier), found with prestashop_list_order_shipping (PATCH)

FAQ

ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。

下一步

这份指南对你有帮助吗?

2 分钟将 PrestaShop 连接到 ChatGPT

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 PrestaShop,再把你的 MCP URL 添加到 ChatGPT。无需代码,也无需自行运行服务器。

相关指南

连接器

将 PrestaShop MCP 连接到 Microsoft Copilot

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

连接器

将 PrestaShop MCP 连接到 Claude

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

连接器

将 PrestaShop MCP 连接到 Cursor

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

连接器

将 PrestaShop MCP 连接到 Gemini CLI

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

连接器

将 PrestaShop MCP 连接到 Meta Muse

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。

连接器

PrestaShop MCP 服务器:商品、库存与订单

您自己的 PrestaShop 商店:通过商店的 Webservice API 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。