MCP directory
GS

Google Search Console MCP

by github.com/sonnivasquez · v1.1.0 · updated Nov 5, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @sonnivasquez/[email protected]

Environment variables

  • GSC_AUTH_MODE

    oauth or service_account. Unset defaults to service_account. Set oauth for Quick Connect or your own OAuth client.

  • GSC_ACCESS_MODE

    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_URLS

    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_FILE

    Path to a service account JSON key. Required when GSC_AUTH_MODE is service_account, which is the default mode.

  • GSC_DATA_DIR

    Local state directory for OAuth tokens, datasets and opt-in audit history. Default is ~/.gsc-mcp.

  • GSC_EXPORTS

    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_HISTORY

    Set to 1 for explicit local gsc_change_impact history actions. Independent of exports; no scheduler or notifications.

  • GSC_OAUTH_SECRETS_FILE

    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_ID

    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_SECRETsecret

    Optional OAuth client secret paired with GSC_OAUTH_CLIENT_ID. Quick Connect does not need it.

  • GSC_SCOPES

    Legacy scope tier, readonly or full. Ignored when GSC_ACCESS_MODE is set. full alone does not enable writes.

  • GSC_ENABLE_WRITE

    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.

More MCP servers