Skip to content
VS Code

Google Search Console for VS Code

io.github.akzar1el/mcp-gsc

Google Search Console MCP for analytics, indexing, sitemaps, and SEO diagnostics.

client:VS Code transport:stdio runtime:npm

Install Google Search Console in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "port",
      "description": "PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-access-mode",
      "description": "GSC_ACCESS_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-gsc-state-dir",
      "description": "MCP_GSC_STATE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-id",
      "description": "GOOGLE_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-secret",
      "description": "GOOGLE_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "token-encryption-key",
      "description": "TOKEN_ENCRYPTION_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-gsc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "PORT": "${input:port}",
        "GSC_ACCESS_MODE": "${input:gsc-access-mode}",
        "MCP_GSC_STATE_DIR": "${input:mcp-gsc-state-dir}",
        "GOOGLE_CLIENT_ID": "${input:google-client-id}",
        "GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
        "TOKEN_ENCRYPTION_KEY": "${input:token-encryption-key}"
      }
    }
  }
}

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 in other clients