概要
ご自身の PrestaShop ショップに接続します。ショップの Webservice API を通じて、商品とコンビネーション、在庫、ステータス履歴付きの注文、顧客、住所、配送業者、カテゴリーを扱えます。注文のステータス、商品の価格、在庫数量も変更できます。
ガイド付きセットアップ
PrestaShop を Microsoft Copilot に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで PrestaShop を接続して、MCP URL を Microsoft Copilot に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
こう聞いてみよう
PrestaShop のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → PrestaShop をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
PrestaShop + Microsoft Copilot
ご自身の PrestaShop ショップに接続します。ショップの Webservice API を通じて、商品とコンビネーション、在庫、ステータス履歴付きの注文、顧客、住所、配送業者、カテゴリーを扱えます。注文のステータス、商品の価格、在庫数量も変更できます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
PRESTASHOP_URL, PRESTASHOP_WEBSERVICE_KEY
ステップ 1 — 認証情報を取得
- PrestaShop の管理画面で Advanced Parameters → Webservice を開き、Enable PrestaShop's webservice を Yes にして保存します。
- 同じページで Add new webservice key をクリックし、Generate で 32 文字のキーを生成します。説明を入力し、Status を有効にします。
- 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 列だけで十分です。マルチストアモードでは、キーがアクセスできるショップも選択します。 - ショップのルートアドレスを
PRESTASHOP_URLに入力し(例:https://shop.example.com、ショップがフォルダー内にある場合はhttps://example.com/shop。/apiも末尾のスラッシュも付けません)、キーをPRESTASHOP_WEBSERVICE_KEYに入力します。 - まず
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 — アダプターをインストール
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 はこれに対応しています。
- Copilot Studio でエージェントを開き(または新規作成し)、Tools で Add a tool → New tool → Model Context Protocol を選びます。
- Server name(例:
AnythingMCP)、コネクタでできることを説明する Server description、Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力します。Copilot Studio はこの説明をもとに、いつサーバーを呼び出すかを判断します。 - 認証で API key を選び、Type を Header、ヘッダー名を
X-API-Keyにして Create を選びます。 - Add tool で Create a new connection を選び、AnythingMCP の MCP API キー(MCP Servers → 対象のサーバー → API keys)を貼り付けて Add to agent を選びます。
- エージェントの Test ウィンドウで試します。
PrestaShopのツールが必要になる依頼をしてみましょう。 - Publish を選び、Channels → Microsoft 365 and Microsoft Teams で Make agent available in Microsoft Copilot を選択したまま Add channel を選びます。See agent in Teams で自分用にインストールされます。Microsoft 365 Copilot では @ を入力してエージェントを選びます。
ユーザーごとにサインインさせたい場合は、API キーの代わりに OAuth 2.0 → Dynamic discovery を選びます。各ユーザーは、エージェントが初めて呼び出すときに AnythingMCP にサインインします。
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Copilot Studio は Microsoft のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
prestashop_list_products | List products of the shop, with filters on id, reference, name, active flag and default category |
prestashop_get_product | Get one product with all its fields: prices (base price without tax, wholesale price), reference and EANs, descriptions, active flag, and… |
prestashop_list_combinations | List the combinations (variants such as size and colour) of products: reference, EAN, price impact on the product price, weight impact… |
prestashop_list_stock_availables | List stock rows: quantity per product and combination (id_product_attribute 0 is the product row), out-of-stock behaviour and whether… |
prestashop_update_product_price | Set a product's base price without tax, in the shop's default currency |
prestashop_update_stock_quantity | Set the quantity of one stock row (a product or one of its combinations) to an absolute number |
prestashop_list_orders | List orders, filtered by id, reference, customer, current status or a date range on date_add |
prestashop_get_order | Get one order: customer, delivery and invoice address ids, carrier, payment method, current status, totals with and without tax, currency… |
prestashop_list_order_states | List 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_histories | List 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_state | Move an order to another status by adding a row to its history |
prestashop_list_customers | List customer accounts with name, e-mail, company, group, language, newsletter and opt-in flags, guest flag, active flag, note and dates |
prestashop_get_customer | Get 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_addresses | List postal addresses with name, company, VAT number, street lines, postcode, city, country and state ids, phones and the customer they… |
prestashop_list_carriers | List carriers with id, name, active and deleted flags, delivery delay text, tracking URL and limits |
prestashop_list_categories | List product categories with id, name, parent id, depth in the tree, active flag and, with display=full, descriptions and associated… |
prestashop_list_product_features | List the product features (Caractéristiques, Merkmale) the shop defines, such as Material or Composition: id, name and position |
prestashop_list_product_feature_values | List 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_value | Get one product feature value by id: id_feature, custom flag and the value per language (or in one language with language) |
prestashop_list_attribute_groups | List the attribute groups (product options such as Size or Color) used to build combinations: id, name, public name, group type (select… |
prestashop_list_attribute_values | List 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_brands | List the brands (manufacturers) of the shop: id, name, active flag, dates and descriptions |
prestashop_list_order_shipping | List the shipping rows of orders (order_carriers): id, id_order, id_carrier, invoice, weight, shipping cost with and without tax, tracking… |
prestashop_update_product | Change fields of one product with a partial XML update (PATCH): only the elements sent change. fields_xml holds the product elements to… |
prestashop_add_product | Create a product from XML elements. fields_xml needs at least <price> (without tax) and should carry <id_category_default>… |
prestashop_update_product_feature_value | Change the text of one product feature value in one language (PATCH) |
prestashop_add_combination | Create a combination (variant) of a product. fields_xml carries <minimal_quantity>1</minimal_quantity> (required) and the attribute values… |
prestashop_upload_product_image | Add 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_number | Set 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" と入力すると新しいバージョンになります。
次のステップ
このガイドは役に立ちましたか?