Skip to content

What is GMC?

GMC is a command-line interface for the Google Merchant API — the successor to the Content API for Shopping. It gives you typed, scriptable, CI-friendly access to your Merchant Center accounts and product data.

It is built around things the Merchant API makes harder than they should be:

  • gmc doctor — catches the silent failure mode where a credential authenticates fine but the Cloud project was never registered / the API was never enabled, so calls return cryptic empty results.
  • gmc preflight — an offline scanner that flags the attribute, format, policy, and SEO problems that get products disapproved or buried, before you upload.
  • gmc migrate — an assistant for moving off the Content API: scope swaps, price-to-micros, identifier remaps, and the feed-label transfer check.
  • gmc mcp — an MCP server that exposes 12 tools to AI assistants like Claude Desktop, Cursor, and VS Code Copilot.
  • GitHub Action — a first-party CI gate with inline PR annotations, a findings summary, and structured outputs.

Why a CLI

Most Merchant Center work is still done by hand in the web UI. A CLI makes it:

  • scriptable — feeds become version-controllable JSON you can diff and review;
  • CI-friendly--json on every command and classed exit codes so pipelines can branch on the failure class;
  • honestdoctor tells you why something is broken instead of returning an empty list.

Status

gmc is stable, feature-complete, and publicly launched (latest v1.0.16) — see the launch announcement. All 12 GA (v1) Merchant API sub-APIs are coveredaccounts (incl. developer-registration), products, datasources, inventory, promotions, regions, reports, notifications, quota, issues, conversions, lfp (Local Feeds Partnership), and ordertracking — alongside the differentiators doctor, preflight (incl. SEO optimization rules), migrate, feeds-as-code, an MCP server for AI assistants, and a first-party GitHub Action for CI. The API layer tracks Merchant API v1. See the roadmap for the phase breakdown and the changelog for what shipped in each release.

Ready to try it? Head to Getting started.

Released under the MIT License.