MCP directory
GS

Google Search Console

by github.com/ni-c · v0.3.0 · updated Sep 7, 2026

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

npmDocker

Run it locally

Install the package and point your AI client at it.

npm

npx -y @ni-c/[email protected]

Environment variables

  • GSC_SERVICE_ACCOUNT_KEYsecret

    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_SECRETsecret

    OAuth2 client secret. All three OAuth2 variables are required together.

  • GSC_REFRESH_TOKENsecret

    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

Docker

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

Environment variables

  • GSC_SERVICE_ACCOUNT_KEYsecret

    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_SECRETsecret

    OAuth2 client secret. All three OAuth2 variables are required together.

  • GSC_REFRESH_TOKENsecret

    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

More from github.com/ni-c

More MCP servers