Skip to content
VS Code

Google Merchant Center MCP for VS Code

io.github.a1-x-tech/mcp-google-merchants

MCP server for Google Merchant Center (Merchant API v1): products, promotions, reports, issues.

client:VS Code transport:stdio runtime:npm

Install Google Merchant Center MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-merchants-client-id",
      "description": "GOOGLE_MERCHANTS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-client-secret",
      "description": "GOOGLE_MERCHANTS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-refresh-token",
      "description": "GOOGLE_MERCHANTS_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-access-token",
      "description": "GOOGLE_MERCHANTS_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-account-id",
      "description": "GOOGLE_MERCHANTS_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-oauth-port",
      "description": "GOOGLE_MERCHANTS_OAUTH_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-api-base",
      "description": "GOOGLE_MERCHANTS_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-timeout-ms",
      "description": "GOOGLE_MERCHANTS_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-merchants-max-retries",
      "description": "GOOGLE_MERCHANTS_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "mcp-google-merchants": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-merchants"
      ],
      "env": {
        "GOOGLE_MERCHANTS_CLIENT_ID": "${input:google-merchants-client-id}",
        "GOOGLE_MERCHANTS_CLIENT_SECRET": "${input:google-merchants-client-secret}",
        "GOOGLE_MERCHANTS_REFRESH_TOKEN": "${input:google-merchants-refresh-token}",
        "GOOGLE_MERCHANTS_ACCESS_TOKEN": "${input:google-merchants-access-token}",
        "GOOGLE_MERCHANTS_ACCOUNT_ID": "${input:google-merchants-account-id}",
        "GOOGLE_MERCHANTS_OAUTH_PORT": "${input:google-merchants-oauth-port}",
        "GOOGLE_MERCHANTS_API_BASE": "${input:google-merchants-api-base}",
        "GOOGLE_MERCHANTS_TIMEOUT_MS": "${input:google-merchants-timeout-ms}",
        "GOOGLE_MERCHANTS_MAX_RETRIES": "${input:google-merchants-max-retries}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Google Merchant Center MCP in other clients