HomeMarketing & E-Commerce › Google Search Console

Google Search Console

MCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection

TypeScript Cloud macOSWindowsLinux
★ 0 stars Last pushed 2026-09-20 License: MIT

Topics: Marketing

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 0.3.0)

npx -y @ni-c/google-search-console-mcp@0.3.0

Or add to your MCP client config:

{
  "mcpServers": {
    "google-search-console-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/google-search-console-mcp@0.3.0"
      ],
      "env": {
        "GSC_SERVICE_ACCOUNT_KEY": "<YOUR_VALUE>",
        "GSC_SERVICE_ACCOUNT_KEY_FILE": "<YOUR_VALUE>",
        "GSC_CLIENT_ID": "<YOUR_VALUE>",
        "GSC_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_VALUE>",
        "GSC_SITE_URL": "<YOUR_VALUE>",
        "GSC_ALLOWED_SITES": "<YOUR_VALUE>",
        "GSC_READ_ONLY": "<YOUR_VALUE>",
        "GSC_ALLOW_TOOLS": "<YOUR_VALUE>",
        "GSC_DENY_TOOLS": "<YOUR_VALUE>"
      }
    }
  }
}
  • GSC_SERVICE_ACCOUNT_KEY secret — Service account key as JSON, or base64-encoded JSON. One of the three credential options.
  • GSC_SERVICE_ACCOUNT_KEY_FILE — Path to a service account key file. Alternative to GSC_SERVICE_ACCOUNT_KEY.
  • GSC_CLIENT_ID — OAuth2 client id. Use together with GSC_CLIENT_SECRET and GSC_REFRESH_TOKEN.
  • GSC_CLIENT_SECRET secret — OAuth2 client secret. All three OAuth2 variables are required together.
  • GSC_REFRESH_TOKEN secret — OAuth2 refresh token. All three OAuth2 variables are required together.
  • GOOGLE_APPLICATION_CREDENTIALS — Path to application default credentials, used when no GSC_ credential is set.
  • GSC_SITE_URL — Default property, e.g. sc-domain:example.com or https://example.com/ — makes site_url optional
  • GSC_ALLOWED_SITES — Comma-separated properties this server may touch; anything else is refused
  • GSC_READ_ONLY — Set to true to register only the read tools (default: false)
  • GSC_ALLOW_TOOLS — Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • GSC_DENY_TOOLS — Comma-separated tool names or list_* prefixes to remove from whatever the allow list left

Package (oci)

docker run -i --rm ghcr.io/ni-c/google-search-console-mcp:0.3.0

Or add to your MCP client config:

{
  "mcpServers": {
    "google-search-console-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ni-c/google-search-console-mcp:0.3.0"
      ],
      "env": {
        "GSC_SERVICE_ACCOUNT_KEY": "<YOUR_VALUE>",
        "GSC_SERVICE_ACCOUNT_KEY_FILE": "<YOUR_VALUE>",
        "GSC_CLIENT_ID": "<YOUR_VALUE>",
        "GSC_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_VALUE>",
        "GSC_SITE_URL": "<YOUR_VALUE>",
        "GSC_ALLOWED_SITES": "<YOUR_VALUE>",
        "GSC_READ_ONLY": "<YOUR_VALUE>",
        "GSC_ALLOW_TOOLS": "<YOUR_VALUE>",
        "GSC_DENY_TOOLS": "<YOUR_VALUE>"
      }
    }
  }
}
  • GSC_SERVICE_ACCOUNT_KEY secret — Service account key as JSON, or base64-encoded JSON. One of the three credential options.
  • GSC_SERVICE_ACCOUNT_KEY_FILE — Path to a service account key file. Alternative to GSC_SERVICE_ACCOUNT_KEY.
  • GSC_CLIENT_ID — OAuth2 client id. Use together with GSC_CLIENT_SECRET and GSC_REFRESH_TOKEN.
  • GSC_CLIENT_SECRET secret — OAuth2 client secret. All three OAuth2 variables are required together.
  • GSC_REFRESH_TOKEN secret — OAuth2 refresh token. All three OAuth2 variables are required together.
  • GOOGLE_APPLICATION_CREDENTIALS — Path to application default credentials, used when no GSC_ credential is set.
  • GSC_SITE_URL — Default property, e.g. sc-domain:example.com or https://example.com/ — makes site_url optional
  • GSC_ALLOWED_SITES — Comma-separated properties this server may touch; anything else is refused
  • GSC_READ_ONLY — Set to true to register only the read tools (default: false)
  • GSC_ALLOW_TOOLS — Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • GSC_DENY_TOOLS — Comma-separated tool names or list_* prefixes to remove from whatever the allow list left

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry