G

Gsc MCP

by sonnivasquez · io.github.sonnivasquez/gsc-mcp

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

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-sonnivasquez-gsc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sonnivasquez/gsc-mcp"
      ],
      "env": {
        "GSC_AUTH_MODE": "<VALUE>",
        "GSC_ACCESS_MODE": "readonly",
        "GSC_SITE_URLS": "<VALUE>",
        "GSC_KEY_FILE": "<VALUE>",
        "GSC_DATA_DIR": "~/.gsc-mcp",
        "GSC_EXPORTS": "<VALUE>",
        "GSC_HISTORY": "<VALUE>",
        "GSC_OAUTH_SECRETS_FILE": "<VALUE>",
        "GSC_OAUTH_CLIENT_ID": "<VALUE>",
        "GSC_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
        "GSC_SCOPES": "<VALUE>",
        "GSC_ENABLE_WRITE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GSC_AUTH_MODE No Authentication mode. The install snippets set this to "oauth" for Quick Connect.
GSC_ACCESS_MODE No Access mode. Defaults to read-only; set to "full" to enable write operations such as sitemap submission and eligible Indexing API URL notifications. Default: readonly
GSC_SITE_URLS No Search Console property identifier(s) to use, for example "sc-domain:example.com".
GSC_KEY_FILE No Path to your service account credentials file.
GSC_DATA_DIR No Local data directory where OAuth tokens and other local data are stored. Default: ~/.gsc-mcp
GSC_EXPORTS No Set to "1" to enable saving reports and exporting datasets.
GSC_HISTORY No Set to 1 for explicit local gsc_change_impact history actions. Independent of exports; no scheduler or notifications.
GSC_OAUTH_SECRETS_FILE No Path to your own Google Cloud OAuth client secrets file for custom OAuth.
GSC_OAUTH_CLIENT_ID No Client ID for your own Google Cloud OAuth client, used with GSC_OAUTH_CLIENT_SECRET.
GSC_OAUTH_CLIENT_SECRET secret No Client secret for your own Google Cloud OAuth client, used with GSC_OAUTH_CLIENT_ID.
GSC_SCOPES No Legacy scope tier, readonly or full. Ignored when GSC_ACCESS_MODE is set. full alone does not enable writes.
GSC_ENABLE_WRITE No 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.

Similar servers