SuperAPIAI Directory

mcp-google-merchants

github.com · AI developer platforms

mcp-google-merchants is a Google Merchant Center MCP server developed by A1-x-Tech that connects AI applications to the user's Google Merchant Center account via the Merchant API v1. It provides 22 tools, of which 15 only read data, 5 can write product, data source, or promotion data, and 2 are potentially destructive. Users can use it to query product disapproval reasons, check product status and inventory, view click and impression reports, compare market benchmark prices, and, after confirmation, update product prices or inventory in API data sources or create promotions. The server uses the user's own OAuth credentials and does not create a separate account; writes are limited to API data sources, and file-based data sources can only be re-fetched, not edited here. Tools carry read-only, write, and destructive metadata so AI clients can distinguish inspection from changes. Running it requires Node.js 20+, a Merchant Center account, and a registered Google Cloud project; credentials can be configured through a conversational OAuth flow or environment variables.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

mcp-google-merchants is an MCP server for Google Merchant Center, used to connect AI applications to Merchant Center accounts and work with the data behind Shopping product listings: products, data sources, promotions, and reports. It does not cover Google Ads campaigns, budgets, and bidding.

Main capabilities

The server provides 22 tools in total: 15 only read Merchant Center data, 5 write product, data source, or promotion data, and 2 are potentially destructive. Typical capabilities include:

  • Diagnosing product disapproval reasons and viewing the item-by-item issues reported by Google;
  • Querying the title, price, inventory, and current status of a specified SKU;
  • Listing out-of-stock products and summarizing frequent product issues;
  • Viewing performance reports such as clicks and impressions by product;
  • Viewing market benchmark prices, Google suggested prices, and their predicted impact (requires the account to join the free Market Insights);
  • Listing accessible Merchant Center accounts, checking whether the store homepage is verified, and viewing shipping settings;
  • Listing product and promotion data sources and identifying API data sources, and re-fetching scheduled file data sources;
  • Updating product prices and inventory in API data sources, creating API data sources, creating or updating promotions, and checking approval status.

Usage

Running it requires Node.js 20+, a Google Merchant Center account, and a Google Cloud project registered with Merchant Center. OAuth credentials are not required during installation; the server completes the connection during the conversation.

The recommended approach is to say "connect Google Merchant Center" directly in the AI application; the assistant will guide you through OAuth client creation and browser authorization, with no configuration file and no restart. The flow includes: printing a setup checklist, saving the OAuth client JSON path (readable only by the owner), returning a Google consent link and listening one-time on local 127.0.0.1 (PKCE) to receive the authorization code, and exchanging and saving the token to ~/.config/mcp-google-merchants/credentials.json (permissions 0600), and verify with real Merchant API calls.

You can also add the server manually via STDIO; the startup command is npx -y mcp-google-merchants@latest, with four environment variables configured. For CI or unattended installation, you can use the environment variable approach: create/select a Google Cloud project, enable the Merchant API, configure the OAuth consent screen, create an OAuth client of type Desktop app, obtain a refresh token, fill in the Merchant Center account ID, and register that Cloud project once in Merchant Center.

Use cases

Suitable for merchants and operations staff who need to let an AI assistant troubleshoot product disapprovals, check product and data source status, read performance reports, compare market prices, and, after explicit confirmation, make controlled modifications to products or promotions in API data sources.

Limitations

  • Writes are supported only for API data sources; file, UI, or automatic data sources are read-only, and file data sources can be re-fetched but their content cannot be edited here.
  • Merchant Center processing is asynchronous; after adding, updating, or deleting product inputs, it may take several minutes to be reflected in processed products, and approval issues also appear with a delay.
  • Price competitiveness and suggested price reports require the account to be enrolled in Market Insights to have data.
  • Quotas depend on the account and API method; use list_method_quotas to view them. Google's daily count resets at 12:00 UTC. On 429, retry a limited number of times according to Retry-After; do not replay writes when network or server failures leave the outcome uncertain.
  • There is no background monitoring; it works only when called by the AI application.
  • list_product_issues applies to standalone accounts and sub-accounts, not to advanced parent accounts.
  • The server sends anonymous usage telemetry (random installation ID, package version, AI client, Node.js/OS version, tool names, and call results with redacted error snippets); it does not send OAuth tokens, Merchant Center data, tool parameters, or prompts. Telemetry can be disabled for the A1 MCP server via an environment variable.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools