Google Search Console MCP

v1.1.0
io.github.sonnivasquez/gsc-mcp Checked 19 hours ago Published 27 days ago

Local, read-only Google Search Console MCP server.

Values you need

VariableWhat it is
GSC_AUTH_MODEoptional oauth or service_account. Unset defaults to service_account. Set oauth for Quick Connect or your own OAuth client.
GSC_ACCESS_MODEoptional readonly or full. full enables gsc_submit_url, gsc_submit_batch, and gsc_submit_sitemap. When unset, legacy GSC_SCOPES and GSC_ENABLE_WRITE apply and writes stay off unless both allow them. Setup refuses full access for Quick Connect.
GSC_SITE_URLSoptional Property allowlist. JSON string array of exact Search Console property ids, a legacy comma-separated list, or all alone (or JSON ["all"]) for every current and future property. Property-scoped tools need an allowlist.
GSC_KEY_FILEoptional Path to a service account JSON key. Required when GSC_AUTH_MODE is service_account, which is the default mode.
GSC_DATA_DIRoptional Local state directory for OAuth tokens, datasets and opt-in audit history. Default is ~/.gsc-mcp.
GSC_EXPORTSoptional Set to 1 to allow gsc_export_dataset and saved gsc_generate_report files on this machine. Any other value keeps local export disabled.
GSC_HISTORYoptional Set to 1 for explicit local gsc_change_impact history actions. Independent of exports; no scheduler or notifications.
GSC_OAUTH_SECRETS_FILEoptional Optional path to a Desktop OAuth client secrets JSON file. It takes precedence over GSC_OAUTH_CLIENT_ID and GSC_OAUTH_CLIENT_SECRET. Quick Connect does not need it.
GSC_OAUTH_CLIENT_IDoptional Optional OAuth client id. Used with GSC_OAUTH_CLIENT_SECRET when GSC_OAUTH_SECRETS_FILE is unset. Quick Connect does not need it.
GSC_OAUTH_CLIENT_SECREToptional secret Optional OAuth client secret paired with GSC_OAUTH_CLIENT_ID. Quick Connect does not need it.
GSC_SCOPESoptional Legacy scope tier, readonly or full. Ignored when GSC_ACCESS_MODE is set. full alone does not enable writes.
GSC_ENABLE_WRITEoptional Legacy write opt-in. Set to 1 together with GSC_SCOPES=full when GSC_ACCESS_MODE is unset. Ignored when GSC_ACCESS_MODE is set.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gsc-mcp -- npx -y @sonnivasquez/gsc-mcp@1.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gsc-mcp": {
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gsc-mcp": {
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gsc-mcp": {
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp@1.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gsc-mcp]
command = "npx"
args = ["-y", "@sonnivasquez/gsc-mcp@1.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: gsc_page_audit, gsc_indexing_audit, gsc_internal_link_audit, gsc_change_impact, gsc_migration_audit, gsc_submit_url, gsc_submit_batch, gsc_submit_sitemap, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json