Skip to content
Google E-commerce (GA4, Search Console, Merchant Center)
Install guide · VS Code

Install Google E-commerce (GA4, Search Console, Merchant Center) for VS Code

Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.

  1. Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

.vscode/mcp.json
{  "servers": {    "mooneyes-google-ecommerce-mcp": {      "type": "stdio",      "command": "uvx",      "args": [        "google-ecommerce-mcp"      ],      "env": {        "GA4_PROPERTY_ID": "",        "GSC_SITE_URL": "",        "MERCHANT_ACCOUNT_ID": "",        "GTM_CONTAINER_ID": "",        "PAGESPEED_API_KEY": "YOUR_PAGESPEED_API_KEY",        "GEM_CLIENT": "",        "GEM_WRITE": "",        "GOOGLE_TOKEN_FILE": ""      }    }  }}

Where the config lives

SystemPath
macOS.vscode/mcp.json
Windows.vscode/mcp.json
Linux.vscode/mcp.json