gmc-mcp

v0.3.0
io.github.kiwoongeom/gmc-mcp Checked 2 days ago Published 20 days ago

Google Merchant Center MCP (GMC MCP): 134 tools, policy audits, risk scores and weekly monitoring.

Values you need

VariableWhat it is
GMC_ACCOUNT_IDrequired Your 10-digit Google Merchant Center account ID (top-right of merchants.google.com).
GMC_SERVICE_ACCOUNT_KEYoptional 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_TOKENoptional 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_IDoptional Optional sub-account ID when operating an MCA (Multi-Client Account).
GMC_DRY_RUNoptional When 'true', writes are logged to the audit log only (no actual API calls). Default: false
GMC_LOG_LEVELoptional 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.0
Add 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

  1. Ask the user for: GMC_ACCOUNT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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