インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Google Merchant Center をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
Merchant API v1 を通じて、あらゆる AI エージェントから Google Merchant Center を操作:処理済み商品と商品入力、フィード(データソース)、商品のステータスと問題、Merchant Center Query Language によるパフォーマンス、価格競争力、ベストセラーのレポート、店舗在庫と地域在庫、プロモーション、通知。Google で OAuth サインイン。削除系はインストール時にオフです。
こう聞いてみよう
Google Merchant Center のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Google Merchant Center をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Google Merchant Center
Merchant API v1 を通じて、あらゆる AI エージェントから Google Merchant Center を操作:処理済み商品と商品入力、フィード(データソース)、商品のステータスと問題、Merchant Center Query Language によるパフォーマンス、価格競争力、ベストセラーのレポート、店舗在庫と地域在庫、プロモーション、通知。Google で OAuth サインイン。削除系はインストール時にオフです。
セットアップ
設定は一度だけで、約 15 分です。Merchant Center アカウント、そのアカウントにアクセスできる Google ユーザー(プロジェクトの一回限りの登録には Admin)、Google Cloud プロジェクトが必要です。このコネクタは Merchant API v1(https://merchantapi.googleapis.com)を使います。これは Content API for Shopping v2.1 の後継です。Google は 2026 年 8 月 18 日に Content API の提供を終了し、2026 年 9 月 1 日以降その呼び出しは HTTP 410 で失敗することが増えており、2027 年初めに完全に停止します。
- https://console.cloud.google.com を開き、プロジェクトを選ぶか作成して、APIs & Services、Library から Merchant API を有効にします。
- APIs & Services、OAuth consent screen で、Google Workspace なら Internal、それ以外は External を選び、公開ステータスを In production にします。アプリが Testing のままだと Google は 7 日後にリフレッシュトークンを取り消し、コネクタは毎週止まります。
- Credentials、Create credentials、OAuth client ID で種類 Web application を選び、承認済みリダイレクト URI に
<your AnythingMCP URL>/api/mcp-oauth/callback(AnythingMCP Cloud ではhttps://cloud.anythingmcp.com/api/mcp-oauth/callback)を追加します。 - クライアント ID を
GOOGLE_CLIENT_IDに、クライアントシークレットをGOOGLE_CLIENT_SECRETに貼り付けます。GOOGLE_MERCHANT_ACCOUNT_IDには Merchant Center のアカウント ID を入れます。Merchant Center 上部のストア名の横にある番号、またはアドレスのa=の後の番号です(merchants.google.com/mc/overview?a=123456789)。拡張アカウント(複数クライアント)では、アカウント自体を管理するなら拡張アカウントの ID を、特定のショップならそのサブアカウントの ID を使います。 - コネクタのページで Authorize with Provider をクリックし、Merchant Center アカウントのユーザーである Google アカウントでサインインします。設定と書き込みには Admin、商品とフィードには Standard、読み取りには Read only が必要です(Performance reporting はパフォーマンスレポートだけが対象です)。
- Cloud プロジェクトを一度だけ登録します。
google_merchant_center_register_gcp_projectを実行し、必要ならdeveloper_emailを指定します。その Google アカウントは技術担当の連絡先になり、API デベロッパーのロールを受け取ります。まだアカウントのユーザーでなければ、14 日以内に承諾する招待が届きます。登録が済むまで、ほかの呼び出しはすべて 401GCP project with id ... is not registered with the merchant accountを返します。登録には Admin ユーザーが必要で、各サブアカウントではなくメインのアカウント(拡張または単独)で行います。google_merchant_center_get_developer_registrationで登録済みのプロジェクト番号を確認できます。 google_merchant_center_get_accountを実行して接続を確認します。
同じ Cloud プロジェクトと OAuth クライアントは、すべての Google コネクタ(Gmail、Google Calendar、Google Drive、Google Sheets、Search Console、Analytics、Ads、Merchant Center)で使えます。そのプロジェクトで各 API を有効にし、GOOGLE_CLIENT_ID と GOOGLE_CLIENT_SECRET を使い回して、各コネクタを一度ずつ認可してください。
スコープとアカウント: コネクタは Merchant API 唯一のスコープ https://www.googleapis.com/auth/content(読み取りと書き込み)を要求します。AI にできることは、サインインしたユーザーの Merchant Center 権限で制限されます。読み取り専用のエージェントにするには Read only ユーザーでサインインし、insert、update、create、fetch、register のツールをすべてオフにします。1 つのコネクタは GOOGLE_MERCHANT_ACCOUNT_ID の 1 アカウントだけを扱います。google_merchant_center_list_accounts はユーザーが開けるすべてのアカウントを、google_merchant_center_list_subaccounts は拡張アカウントのサブアカウントを一覧にします。別のアカウントには、その ID でコネクタをもう一度インストールします。
読み取る内容: タイムゾーンと言語を含むアカウント、ビジネス情報(住所、電話番号、カスタマーサービス)、ホームページとその確認・申し立ての状態、重大度付きのアカウントの問題、適格性付きのプログラム(無料リスティング、ショッピング広告、ローカルリスティング、チェックアウト)、配送設定、地域、アクセス権付きのユーザー、API の割り当て。すべてのデータソースを統合した処理済み商品と、その属性、配信先と国ごとの productStatus(商品レベルの問題を含む)。レポートコンテキストと国ごとのステータス件数と頻出の問題。データソース(フィード)と最新のファイルアップロードの結果。商品ごとの店舗在庫と地域在庫、承認ステータス付きのプロモーション、通知の登録。Merchant Center Query Language のレポート: 商品のパフォーマンス(クリック数、表示回数、CTR、コンバージョン)、商品ごとのステータスと問題、価格競争力と価格の提案(suggested_price)、ベストセラー、競合との可視性。
書き込む内容: API データソース内の商品入力(google_merchant_center_insert_product_input は作成または全体の置き換え、google_merchant_center_update_product_input は update_mask に挙げたフィールドを変更。例: product_attributes.price,product_attributes.availability)、データソース(作成、変更、ファイルフィードの即時取得)、店舗や地域ごとの店舗在庫と地域在庫(insert はその項目を置き換えます)、プロモーションデータソース内のプロモーション、PRODUCT_STATUS_CHANGE または ACCOUNT_SERVICE_CHANGE で HTTPS コールバックに送信する通知の登録です。ファイルフィードの商品や Merchant Center の画面で追加した商品はここでは編集できません。代わりに補助 API データソースで属性を上書きします。変更は数分後に google_merchant_center_get_product に反映され、広告と無料リスティングの承認には数日かかることがあります。Google はすべてのプロモーションを審査します(その国でプロモーションプログラムが有効である必要があります)。
インストール時はオフ: google_merchant_center_delete_product_input、google_merchant_center_delete_local_inventory、google_merchant_center_delete_regional_inventory、google_merchant_center_delete_notification_subscription です。元に戻せない(削除した商品は履歴とステータスを失う)ため、チームが必要とするときに管理者がオンにします。
データ形式: 商品 ID は contentLanguage~feedLabel~offerId で、例は en~US~sku123 です。/、%、~ を含むオファー ID は、ID 全体をパディングなしの base64url でエンコードして渡します。リソース名は accounts/123/dataSources/456 のようなパスで、ツールは最後の部分を ID として受け取ります。金額はマイクロ単位です: {"amountMicros": "19990000", "currencyCode": "EUR"} は 19.99 EUR です。大きな数値(マイクロ、数量、ID)は JSON 文字列で届きます。時刻は UTC の RFC 3339 で、レポートの date の値はアカウントのタイムゾーンです。属性名は camelCase です(title、link、imageLink、availability、condition、gtins、brand、mpn、googleProductCategory、salePrice、shipping)。
レポート: google_merchant_center_search_reports は snake_case のフィールド名で SELECT fields FROM table WHERE ... ORDER BY ... LIMIT n を受け取ります。条件は AND でしか結べず(OR の代わりに IN を使います)、ORDER BY は選択したフィールドにしか使えません。product_performance_view と non_product_performance_view には date DURING LAST_30_DAYS のような日付条件と、少なくとも 1 つの指標が必要です。ベストセラーのテーブルではフィルタに report_granularity と report_country_code が必要です。行は results[] で届き、各行には productPerformanceView のようにテーブル名のオブジェクトが 1 つ入っています。
ページングと制限: 一覧ツールは nextPageToken を返し、AI はそれがなくなるまで page_token を付けて呼び直します。google_merchant_center_list_products は既定で 1 ページ 25 件、最大 1000 件、レポートは 1 ページ最大 100000 行(既定 1000 行)です。google_merchant_center_list_quotas はメソッドグループごとの 1 日と 1 分あたりの上限、今日の使用量を示します。商品の書き込みは、カタログの規模に応じて 1 日あたりの上限があります。一括変更は分散させ、何千件もの個別更新より補助フィードを 1 つ使う方が適しています。
よくあるエラー: 401 GCP project with id ... is not registered は手順 6 が済んでいないことを意味します。それ以外の 401 は認可が期限切れか取り消されたことを意味します(同意画面が Testing のままなら必ず 7 日後に起きます)。もう一度 Authorize with Provider をクリックしてください。403 The caller does not have access to the accounts は、サインインしたユーザーがそのアカウントのユーザーではないか、GOOGLE_MERCHANT_ACCOUNT_ID が間違っていることを意味します。403 Merchant API has not been used in project は API が有効になっていないことです(手順 1)。商品入力での 400 は、必須属性が欠けているか綴りが違う、またはデータソースが API ソースではないことを意味します。404 は不明な商品、データソース、プロモーションの ID です。429 RESOURCE_EXHAUSTED は割り当ての使い切りで、google_merchant_center_list_quotas を確認して後で再試行してください。
このコネクタは注文と返品を扱わず、配送ポリシーや返品ポリシーの変更、アカウントの作成、ユーザー管理、商品レビューの読み取り、Google 広告キャンペーンの管理も行いません(それは Google Ads コネクタの役割です)。
前提条件: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_MERCHANT_ACCOUNT_ID
ローカルでコネクタをインストール
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
http://localhost:3000/connectors/store を開き、 Google Merchant Center を選択し、前提条件に記載された環境変数を入力します。
利用可能なツール
| Tool | What it does |
|---|---|
google_merchant_center_get_account | Read the configured Merchant Center account: accountId, accountName, time zone, language, adult content flag and whether it is a test… |
google_merchant_center_list_accounts | List every Merchant Center account the signed-in Google user can open (up to 500 per page): standalone accounts, advanced accounts and… |
google_merchant_center_list_subaccounts | List the sub-accounts of the configured account when it is an advanced (multi-client) account, with accountId and accountName |
google_merchant_center_get_business_info | Read the business details of the account: legal address, phone and its verification state, and customer service contact (URI, email, phone) |
google_merchant_center_get_homepage | Read the store's homepage URI and whether it is verified and claimed |
google_merchant_center_list_account_issues | List the account-level issues Merchant Center shows (policy violations, unclaimed website, missing shipping or tax, suspensions): title… |
google_merchant_center_list_programs | List the Merchant Center programs (free-listings, shopping-ads, local listings, checkout...) and, for each, whether it is ENABLED, ELIGIBLE… |
google_merchant_center_get_shipping_settings | Read the shipping settings of the account: shipping services per country with delivery times, rates and rate tables, warehouses and the… |
google_merchant_center_list_regions | List the regions defined in the account (groups of postal codes or geo targets) used for regional inventory, pricing and shipping… |
google_merchant_center_list_users | List the people with access to the account: email, state (PENDING or VERIFIED) and access rights (STANDARD, ADMIN, PERFORMANCE_REPORTING… |
google_merchant_center_get_developer_registration | Show which Google Cloud project numbers are registered with this Merchant Center account |
google_merchant_center_register_gcp_project | One-time setup: register the Google Cloud project of this connector's OAuth client with the Merchant Center account, so the Merchant API… |
google_merchant_center_list_products | List the final, processed products of the account (merged from every data source, up to 1000 per page; default 25): name, offerId… |
google_merchant_center_get_product | Read one processed product with its attributes and productStatus: per destination and country whether it is approved, pending or… |
google_merchant_center_insert_product_input | Create a product, or replace the input of an existing one with the same contentLanguage, feedLabel and offerId, in an API data source |
google_merchant_center_update_product_input | Change some attributes of a product input in its API data source (primary or supplemental), e.g. price or availability. update_mask lists… |
google_merchant_center_delete_product_input | Delete a product input from one API data source |
google_merchant_center_list_data_sources | List the data sources of the account (feeds): name with the numeric id, displayName, input (API, FILE, UI, AUTOFEED) and type… |
google_merchant_center_get_data_source | Read one data source with its type settings and, for file feeds, the fetch schedule and file URL |
google_merchant_center_get_latest_file_upload | Read the result of the latest file upload or fetch of a data source: processingState (SUCCEEDED, FAILED, IN_PROGRESS), uploadTime… |
google_merchant_center_create_data_source | Create a data source |
google_merchant_center_update_data_source | Change a data source's display name, countries or fetch schedule. update_mask lists the fields to change, e.g. "displayName" or… |
google_merchant_center_fetch_data_source | Fetch a file data source from its URL now, outside its schedule |
google_merchant_center_list_aggregate_product_statuses | Count products by status per reporting context (SHOPPING_ADS, FREE_LISTINGS, ...) and country: approved, pending and disapproved counts and… |
google_merchant_center_search_reports | Run a Merchant Center Query Language (MCQL) report: product performance (clicks, impressions, CTR, conversions), product status and issues… |
google_merchant_center_list_local_inventories | List the in-store inventory of one product: per storeCode the price, sale price, availability, quantity and pickup settings |
google_merchant_center_insert_local_inventory | Set the in-store availability and price of a product at one store (creates or replaces that store entry) |
google_merchant_center_delete_local_inventory | Remove the inventory entry of a product at one store; the product then no longer shows as available there |
google_merchant_center_list_regional_inventories | List the regional prices and availability of one product: per region id the price, sale price and availability |
google_merchant_center_insert_regional_inventory | Set the price and availability of a product in one region (creates or replaces that region entry) |
google_merchant_center_delete_regional_inventory | Remove the regional price and availability of a product in one region |
google_merchant_center_list_promotions | List the promotions of the account (up to 250 per page): promotionId, targetCountry, contentLanguage, redemptionChannel, attributes (long… |
google_merchant_center_get_promotion | Read one promotion with its status per destination (pending, approved, rejected) and item-level issues |
google_merchant_center_insert_promotion | Create a promotion, or replace one with the same promotionId, country and language, in a promotion data source |
google_merchant_center_list_notification_subscriptions | List the push notification subscriptions of the account: event (PRODUCT_STATUS_CHANGE, ACCOUNT_SERVICE_CHANGE), callback URL and which… |
google_merchant_center_get_notification_subscription | Read one notification subscription by its id: event type, callback URL and covered accounts |
google_merchant_center_create_notification_subscription | Subscribe an HTTPS callback URL to push notifications, e.g. when a product becomes disapproved |
google_merchant_center_update_notification_subscription | Change the HTTPS callback URL that a notification subscription posts its messages to |
google_merchant_center_delete_notification_subscription | Delete a notification subscription; the callback URL stops receiving messages |
google_merchant_center_list_quotas | Show the Merchant API call quotas of the account per method group: daily limit, per-minute limit and today's usage |
プロンプトの例
- 「ストアの健全性チェックをしてください。アカウントの問題と、国ごとの不承認商品の数を教えてください。」
- 「対象外または不承認の商品はどれですか? それぞれ何を直せばよいですか?」
- 「過去 30 日間でクリック数が多い上位 20 商品を、表示回数と CTR 付きで見せてください。」
- 「自分の価格がベンチマーク価格より高い商品はどれですか? 差が大きい順に一覧にしてください。」
- 「商品 en
USsku123 を OUT_OF_STOCK にしてください。送信前に変更内容を見せてください。」
次のステップ
このガイドは役に立ちましたか?