Gmc MCP
Diagnose Google Merchant Center products, reports and policy issues from your MCP client
Gmc MCP is an open-source MCP server for e-commerce. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- What it can do
- Can change data (3 tools)
- Version
- 0.3.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add gmc-mcp --env GMC_ACCOUNT_ID='<GMC_ACCOUNT_ID>' --env GMC_SERVICE_ACCOUNT_KEY='<GMC_SERVICE_ACCOUNT_KEY>' --env GMC_OAUTH_TOKEN='<GMC_OAUTH_TOKEN>' -- uvx gmc-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"gmc-mcp": {
"command": "uvx",
"args": [
"gmc-mcp"
],
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>",
"GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>",
"GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"gmc-mcp": {
"command": "uvx",
"args": [
"gmc-mcp"
],
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>",
"GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>",
"GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gmc-mcp": {
"command": "uvx",
"args": [
"gmc-mcp"
],
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>",
"GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>",
"GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"gmc-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"gmc-mcp"
],
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>",
"GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>",
"GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add gmc-mcp --env GMC_ACCOUNT_ID='<GMC_ACCOUNT_ID>' --env GMC_SERVICE_ACCOUNT_KEY='<GMC_SERVICE_ACCOUNT_KEY>' --env GMC_OAUTH_TOKEN='<GMC_OAUTH_TOKEN>' -- uvx gmc-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.gmc-mcp]
command = "uvx"
args = ["gmc-mcp"]
env = { GMC_ACCOUNT_ID = "<GMC_ACCOUNT_ID>", GMC_SERVICE_ACCOUNT_KEY = "<GMC_SERVICE_ACCOUNT_KEY>", GMC_OAUTH_TOKEN = "<GMC_OAUTH_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gmc-mcp": {
"command": "uvx",
"args": [
"gmc-mcp"
],
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>",
"GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>",
"GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Or run: gemini mcp add -s user -e GMC_ACCOUNT_ID='<GMC_ACCOUNT_ID>' -e GMC_SERVICE_ACCOUNT_KEY='<GMC_SERVICE_ACCOUNT_KEY>' -e GMC_OAUTH_TOKEN='<GMC_OAUTH_TOKEN>' gmc-mcp uvx -- gmc-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "gmc-mcp": { "command": "uvx", "args": [ "gmc-mcp" ], "env": { "GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>", "GMC_SERVICE_ACCOUNT_KEY": "<GMC_SERVICE_ACCOUNT_KEY>", "GMC_OAUTH_TOKEN": "<GMC_OAUTH_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
GMC_ACCOUNT_IDYour 10-digit Google Merchant Center account ID (top-right of merchants.google.com).RequiredGMC_SERVICE_ACCOUNT_KEYAbsolute path to a Google Cloud service-account JSON key file. The service account must be added as Admin in Merchant Center.GMC_OAUTH_TOKENAbsolute path to an OAuth user-token JSON file produced by `gmc-mcp auth-init`. Use this OR GMC_SERVICE_ACCOUNT_KEY.GMC_SUBACCOUNT_IDOptional sub-account ID when operating an MCA (Multi-Client Account).GMC_DRY_RUNWhen 'true', writes are logged to the audit log only (no actual API calls).GMC_LOG_LEVELLog verbosity: DEBUG / INFO / WARNING / ERROR.
About Gmc MCP
This Python server works against Merchant API v1 using your own Google credentials, either a service account key added as Admin in Merchant Center or an OAuth token from gmc-mcp auth-init. Requests go directly to Google, while audit history and policy state stay on your host. Setup includes a one-time gmc-mcp register-gcp step before v1 calls work for a new project.
Read tools cover products and disapprovals, account and product issues, shipping, returns, data sources, programs, users, quotas, regions, local and regional inventory, conversion sources and promotions. Report tools query performance, pricing, category, competitive visibility and best sellers. Policy tools audit public storefront contact and policy pages, keep downloaded evidence with byte counts and hashes, prioritise failed or unknown checks, draft an appeal for review before any submission and save weekly monitoring schedules.
A GMC_DRY_RUN setting sends writes to the audit log only. The README describes a focused 60-tool default set, while the registry blurb mentions 134 tools. Scheduled unattended runs need an OS worker.
Tools this server provides (15)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 15 tools change data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- gmc_get_productName suggests: reads
- Gets one product's details.
- gmc_list_disapproved_productsName suggests: reads
- Lists disapproved products.
- gmc_list_productsName suggests: reads
- Lists products.
- gmc_get_product_statusName suggests: reads
- Gets a product's status.
- gmc_list_account_issuesName suggests: reads
- Lists account issues.
- gmc_summarize_product_issuesName suggests: reads
- Summarises product issues.
- gmc_best_sellers
- Reports best-selling products.
- gmc_price_competitiveness
- Reports price competitiveness.
- gmc_product_performance
- Reports product performance.
- gmc_run_policy_auditName suggests: changes
- Runs a storefront policy audit.
- gmc_get_policy_fix_planName suggests: reads
- Returns a prioritised fix plan.
- gmc_generate_policy_appeal
- Drafts an appeal for review.
- gmc_set_policy_monitoringName suggests: changes
- Saves a policy monitoring schedule.
- gmc_set_dry_runName suggests: changes
- Toggles dry-run mode for writes.
- gmc_health_checkName suggests: reads
- Diagnoses endpoint health.
What it does
- Catalog diagnosis
- Inspect product status, find disapproved products and summarise issues.
- Shopping reports
- Query performance, price competitiveness, best sellers and competitive visibility.
- Account configuration reads
- Read shipping, returns, data sources, programs, users and quotas.
- Storefront policy audit
- Check contact and policy pages with evidence hashes.
- Fix plans and appeals
- Prioritise findings and draft an appeal for review.
- Dry-run and audit log
- Log writes only, with an append-only JSONL audit trail.
Good for
- Group disapproved products by issue
- Audit a storefront's policy pages before an appeal
- Review price competitiveness and best sellers
- Schedule weekly policy checks and compare changes
Pricing
Open source
Gmc MCP FAQ
What credentials does Gmc MCP need?
A Merchant Center account ID plus a Google service account key or an OAuth token.
Where does data go?
API requests go directly to Google; audit history and policy state stay on your host.
Can Gmc MCP change my account?
A few write tools exist, such as checkout settings, and dry-run mode logs writes without calling the API.
What does Gmc MCP require?
Python 3.10 or newer, installed with pip install gmc-mcp.
Is Gmc MCP free?
Yes. Gmc MCP is open source, so you can use and self-host it for free.
How do I add Gmc MCP to Claude Code?
Run this command in your terminal: claude mcp add gmc-mcp --env GMC_ACCOUNT_ID='<GMC_ACCOUNT_ID>' --env GMC_SERVICE_ACCOUNT_KEY='<GMC_SERVICE_ACCOUNT_KEY>' --env GMC_OAUTH_TOKEN='<GMC_OAUTH_TOKEN>' -- uvx gmc-mcp
What are the best alternatives to Gmc MCP?
The closest alternatives to Gmc MCP are ChatGPT for Amazon, Google Ads + Meta Ads + SEO/GEO MCP, TryPost, Calven and O'So MCP Server for PrestaShop.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.