Skip to content
VS Code

Google Search Console MCP for VS Code

io.github.sonnivasquez/gsc-mcp

Local, read-only Google Search Console MCP server. Quick Connect needs no Cloud project.

client:VS Code transport:stdio runtime:npm

Install Google Search Console MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gsc-auth-mode",
      "description": "GSC_AUTH_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-access-mode",
      "description": "GSC_ACCESS_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-site-urls",
      "description": "GSC_SITE_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-key-file",
      "description": "GSC_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-data-dir",
      "description": "GSC_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-exports",
      "description": "GSC_EXPORTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-history",
      "description": "GSC_HISTORY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-oauth-secrets-file",
      "description": "GSC_OAUTH_SECRETS_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-oauth-client-id",
      "description": "GSC_OAUTH_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-oauth-client-secret",
      "description": "GSC_OAUTH_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-scopes",
      "description": "GSC_SCOPES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-enable-write",
      "description": "GSC_ENABLE_WRITE",
      "password": true
    }
  ],
  "servers": {
    "gsc-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "${input:gsc-auth-mode}",
        "GSC_ACCESS_MODE": "${input:gsc-access-mode}",
        "GSC_SITE_URLS": "${input:gsc-site-urls}",
        "GSC_KEY_FILE": "${input:gsc-key-file}",
        "GSC_DATA_DIR": "${input:gsc-data-dir}",
        "GSC_EXPORTS": "${input:gsc-exports}",
        "GSC_HISTORY": "${input:gsc-history}",
        "GSC_OAUTH_SECRETS_FILE": "${input:gsc-oauth-secrets-file}",
        "GSC_OAUTH_CLIENT_ID": "${input:gsc-oauth-client-id}",
        "GSC_OAUTH_CLIENT_SECRET": "${input:gsc-oauth-client-secret}",
        "GSC_SCOPES": "${input:gsc-scopes}",
        "GSC_ENABLE_WRITE": "${input:gsc-enable-write}"
      }
    }
  }
}

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

Google Search Console MCP in other clients