Installation guide
How to install gmc-mcp (Google Merchant Center)
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
gmc-mcp is a local, self-hosted server. You install it with `pip install gmc-mcp`, give it a Google Cloud service account JSON key and your Merchant Center ID through environment variables, and the MCP client launches it over stdio with `gmc-mcp run`. There is no vendor-hosted URL and no sign-in screen. Credentials stay on your machine. The docs also describe an SSE transport and a Docker image, but the client setup below uses stdio.
This is a community project, not a Google product, and the docs say the service account needs Admin access in Merchant Center. It should be set up by a developer or technical marketer who can create Google Cloud service accounts and who has admin rights in Merchant Center. Start with `GMC_DRY_RUN` set to `true`, use a test account if you have one, and review the code before pointing it at a live feed.

Before you start
- Python and
pipon the machine that will run the server - A Google Cloud project where you can enable the Merchant API and create a service account with a
JSONkey - Admin rights in Merchant Center to add the service account email under Account access, plus your 10-digit Merchant Center ID
- A developer email address for the one-time
gmc-mcp register-gcpstep - A safe path for the
JSONkey, outside any shared or synced folder
- How it runs
- Local, runs on your machine
- Access
- Read and write
- Server address
- Copy it from the vendor documentation
gmc-mcp (Google Merchant Center) in Claude
- Run
pip install gmc-mcp. In Google Cloud, enable the Merchant API, create a service account (the docs name itgmc-mcp) and download aJSONkey. - In Merchant Center, open the gear menu, then
Account access, thenPeople. Add the service account email and grant Admin. Note the 10-digit Merchant Center ID. - Run
gmc-mcp register-gcp --developer-email you@example.comonce for a new project, thengmc-mcp describeto check the resolved config. - Open
claude_desktop_config.json(the docs give%APPDATA%/Claude/claude_desktop_config.jsonon Windows) and add thegmcentry from the snippet. Use your real account ID and absolute key path. AddGMC_DRY_RUNset totruewhile testing. - Restart Claude Desktop fully.
- Ask
What account am I connected to?. It should callgmc_describe_server.
{
"mcpServers": {
"gmc": {
"command": "gmc-mcp",
"args": [
"run"
],
"env": {
"GMC_ACCOUNT_ID": "1234567890",
"GMC_SERVICE_ACCOUNT_KEY": "/abs/path/to/service-account.json",
"GMC_DRY_RUN": "true"
}
}
}
}
gmc-mcp (Google Merchant Center) in ChatGPT
- The docs do not cover ChatGPT. gmc-mcp runs locally over stdio by default, and ChatGPT connectors need a remote MCP URL.
- The docs describe an SSE mode (
gmc-mcp run --transport sse --port 8000) and a Docker image, but they do not say how to expose it publicly or secure it. Do not publish a server with write access to your feed without authentication. - If you try it anyway, you would host the SSE endpoint yourself and add its URL in ChatGPT under Developer mode. Take the exact endpoint path from the vendor documentation or the repository code.
- For a first test, use a client the docs cover, such as Claude Desktop or Claude Code.
gmc-mcp (Google Merchant Center) in Gemini
- The docs do not cover Gemini. The standard route is Gemini CLI, which reads an
mcpServersobject from its settings file. - Install the package with
pip install gmc-mcpand complete the Google Cloud and Merchant Center steps from the Claude Desktop guide, includinggmc-mcp register-gcp. - Add an entry named
gmcwithcommandset togmc-mcp,argsset to["run"]and the sameenvblock as the Claude Desktop snippet. - Keep
GMC_DRY_RUNset totrueat first and restart Gemini CLI. - Ask which Merchant Center account is connected. It should call
gmc_describe_server.
{
"mcpServers": {
"gmc": {
"command": "gmc-mcp",
"args": [
"run"
],
"env": {
"GMC_ACCOUNT_ID": "1234567890",
"GMC_SERVICE_ACCOUNT_KEY": "/abs/path/to/service-account.json",
"GMC_DRY_RUN": "true"
}
}
}
}
gmc-mcp (Google Merchant Center) in Microsoft Copilot
- The docs do not cover Microsoft Copilot Studio or GitHub Copilot. The standard route for VS Code is
.vscode/mcp.jsonwith a top-levelserversobject. - Install the package with
pip install gmc-mcpand complete the Google Cloud, Merchant Center andgmc-mcp register-gcpsteps first. - In
.vscode/mcp.json, add agmcserver usingcommandgmc-mcp,args["run"]and the sameenvvalues. Do not commit the file if it holds real paths or IDs. - Start the server from the MCP list in VS Code and confirm the tools appear in Copilot Chat agent mode.
- Copilot Studio needs a remote endpoint. The docs do not describe how to host one securely, so use VS Code for local testing.
{
"servers": {
"gmc": {
"command": "gmc-mcp",
"args": [
"run"
],
"env": {
"GMC_ACCOUNT_ID": "1234567890",
"GMC_SERVICE_ACCOUNT_KEY": "/abs/path/to/service-account.json",
"GMC_DRY_RUN": "true"
}
}
}
}
gmc-mcp (Google Merchant Center) in Perplexity
- The docs do not cover Perplexity. Its desktop app connectors generally expect a remote server or a local command, depending on the app version.
- Check the current Perplexity documentation for whether a local command connector is supported on your platform.
- If it is, add a connector that runs
gmc-mcpwith the argumentrun, and setGMC_ACCOUNT_ID,GMC_SERVICE_ACCOUNT_KEYandGMC_DRY_RUNas environment variables. - Complete the Google Cloud, Merchant Center and
gmc-mcp register-gcpsteps before connecting. - If only remote URLs are accepted, the SSE mode would need self-hosting that the docs do not cover. Use another client.
gmc-mcp (Google Merchant Center) in Cursor
- The docs do not mention Cursor, but it uses the same
mcpServersJSONformat as Claude Desktop. - Run
pip install gmc-mcpand finish the Google Cloud, Merchant Center andgmc-mcp register-gcpsteps. - Open Cursor MCP settings and add a server, or edit the MCP config file (
.cursor/mcp.jsonin a project, or the global file). - Paste the
gmcentry from the snippet with your account ID and absolute key path. KeepGMC_DRY_RUNset totrueat first. - Enable the server in the MCP settings and check that the tools load.
- Ask which account is connected. It should call
gmc_describe_server.
{
"mcpServers": {
"gmc": {
"command": "gmc-mcp",
"args": [
"run"
],
"env": {
"GMC_ACCOUNT_ID": "1234567890",
"GMC_SERVICE_ACCOUNT_KEY": "/abs/path/to/service-account.json",
"GMC_DRY_RUN": "true"
}
}
}
}
gmc-mcp (Google Merchant Center) in Claude Code
- Run
pip install gmc-mcp, then create the Google Cloud service account andJSONkey and add the account in Merchant Center with Admin access. - Run
gmc-mcp register-gcp --developer-email you@example.comonce, thengmc-mcp describeto confirm the config. - Register the server with
claude mcp add, passing the environment variables with-e, as in the snippet. The docs show aJSONblock for~/.claude/settings.jsoninstead. Either route works. - Start Claude Code and run
/mcpto confirmgmcis connected. - Ask
What account am I connected to?. It should callgmc_describe_server.
claude mcp add gmc -e GMC_ACCOUNT_ID=1234567890 -e GMC_SERVICE_ACCOUNT_KEY=/abs/path/to/service-account.json -e GMC_DRY_RUN=true -- gmc-mcp runCheck that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- What account am I connected to? (should call gmc_describe_server)
- List my disapproved products grouped by issue code.
- Show the top 10 products by clicks over the last 7 days using a report query.
Troubleshooting
+Why do Merchant API calls fail on a new Google Cloud project?
The docs say a one-time registration is required before any v1 Merchant API call works for a new project. Run `gmc-mcp register-gcp --developer-email you@example.com`. Also confirm the Merchant API is enabled in the project and the service account email was added in Merchant Center.
+Why does the client not list the gmc server or its tools?
Check that `gmc-mcp` is on the PATH the client uses; a virtualenv install may need the full path in `command`. Run `gmc-mcp describe` in a terminal to see the resolved config. Validate the JSON, then restart the client fully.
+Why did my write not change anything in Merchant Center?
If `GMC_DRY_RUN` is `true`, writes are only recorded in the audit log (`./logs/audit.jsonl` by default) and not sent. Reads still work. Check with `gmc_audit_tail`. Set `GMC_DRY_RUN` to `false` only for supervised changes, and use `gmc_rollback` if an update was wrong.
Written Nov 2, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers
Questions readers and searchers ask about installing gmc-mcp (Google Merchant Center), answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.