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

将 PrestaShop MCP 连接到 Microsoft Copilot

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

HC作者:HelpCode 团队更新于 6 分钟阅读 在 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 连接到 Microsoft Copilot

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

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

试试这样问

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 + Microsoft Copilot

您自己的 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 — 在 Microsoft Copilot 中添加连接器

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

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 PrestaShop 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

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

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 PrestaShop 连接到 Microsoft Copilot

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

相关指南

连接器

将 PrestaShop MCP 连接到 ChatGPT

您自己的 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 访问商品及其组合、库存、带状态历史的订单、客户、地址、承运商和分类。可更改订单状态、商品价格或库存数量。