gmc-mcp
v0.3.0Google Merchant Center MCP (GMC MCP): 134 tools, policy audits, risk scores and weekly monitoring.
Values you need
| Variable | What it is | |
|---|---|---|
GMC_ACCOUNT_ID | required | Your 10-digit Google Merchant Center account ID (top-right of merchants.google.com). |
GMC_SERVICE_ACCOUNT_KEY | optional secret | Absolute path to a Google Cloud service-account JSON key file. The service account must be added as Admin in Merchant Center. |
GMC_OAUTH_TOKEN | optional secret | Absolute path to an OAuth user-token JSON file produced by `gmc-mcp auth-init`. Use this OR GMC_SERVICE_ACCOUNT_KEY. |
GMC_SUBACCOUNT_ID | optional | Optional sub-account ID when operating an MCA (Multi-Client Account). |
GMC_DRY_RUN | optional | When 'true', writes are logged to the audit log only (no actual API calls). Default: false |
GMC_LOG_LEVEL | optional | Log verbosity: DEBUG / INFO / WARNING / ERROR. Default: INFO |
PyPI (uvx)
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add gmc-mcp -e 'GMC_ACCOUNT_ID=<GMC_ACCOUNT_ID>' -- uvx gmc-mcp==0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"gmc-mcp": {
"args": [
"gmc-mcp==0.3.0"
],
"command": "uvx",
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gmc-mcp": {
"args": [
"gmc-mcp==0.3.0"
],
"command": "uvx",
"env": {
"GMC_ACCOUNT_ID": "<GMC_ACCOUNT_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GMC_ACCOUNT_ID",
"id": "gmc-account-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"gmc-mcp": {
"args": [
"gmc-mcp==0.3.0"
],
"command": "uvx",
"env": {
"GMC_ACCOUNT_ID": "${input:gmc-account-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gmc-mcp]
command = "uvx"
args = ["gmc-mcp==0.3.0"]
env = { "GMC_ACCOUNT_ID" = "<GMC_ACCOUNT_ID>" }For AI agents
- Ask the user for: GMC_ACCOUNT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json