概要
ご自身の PrestaShop ショップに接続します。ショップの Webservice API を通じて、商品とコンビネーション、在庫、ステータス履歴付きの注文、顧客、住所、配送業者、カテゴリーを扱えます。注文のステータス、商品の価格、在庫数量も変更できます。
ガイド付きセットアップ
PrestaShop を ChatGPT に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで PrestaShop を接続して、MCP URL を ChatGPT に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
ChatGPT のプラグインディレクトリにある AnythingMCP プラグインは、AnythingMCP Cloud 上で社内データベース(PostgreSQL、MySQL、SQL Server、Oracle、SAP HANA、SQLite、MongoDB、読み取り専用)への質問に答えます。掲載ページを開き (新しいタブで開きます)、Install plugin をクリックしてください。それ以外のコネクタは、AnythingMCP の MCP URL を使ってカスタム MCP サーバーとして ChatGPT に追加します。
こう聞いてみよう
PrestaShop のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → PrestaShop をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
PrestaShop + ChatGPT
ご自身の 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 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT では、Web 版の Plugins ページから MCP サーバーをプラグインとして追加します。有料プランで利用でき、開発者モードはもう必要ありません。Business ワークスペースで追加できるのは管理者とオーナーだけです。Enterprise・Edu では、管理者が Create plugins with MCPs 権限を付与できます。
- chatgpt.com/plugins を開き、Add をクリックして Add custom MCP server を選びます。
- 名前を入力します(例: Name:
PrestaShop)。 - Connection の Server URL に
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Authentication は OAuth のままにします。 - I understand and want to continue を選び、Create as a plugin をクリックします。ChatGPT に求められたら AnythingMCP にサインインし、アクセスを許可します。
- 個人用プラグインから新しいプラグインをインストールし、チャットで @ を入力して選択します。
利用可能なツール
| 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
ChatGPT の無料プランでカスタム MCP サーバーは使えますか? OpenAI がカスタム MCP サーバーを案内しているのは有料プランだけで、Free プランは対象に含まれていません。
次のステップ
このガイドは役に立ちましたか?