google-gsc-mcp

v0.6.2
io.github.bilalnaseer/google-gsc-mcp Checked 8 hours ago Published 15 days ago

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

Values you need

VariableWhat it is
WSP_CLIENT_IDoptional OAuth Client ID from your own Google Cloud project (Desktop app client).
WSP_CLIENT_SECREToptional secret OAuth Client secret that belongs to WSP_CLIENT_ID.
WSP_OAUTH_FILEoptional Absolute path to a downloaded OAuth client JSON file (alternative to WSP_CLIENT_ID and WSP_CLIENT_SECRET).
WSP_SERVICE_ACCOUNT_FILEoptional Absolute path to a service account JSON key (for automation and teams).
WSP_ALLOW_WRITESoptional Set to true to enable write tools (add/remove websites and sitemaps). Off by default. Default: false

npm (npx) discovery passed

Requires Node.js 18+

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

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: wsp_show_status_gsc, wsp_list_websites_gsc, wsp_add_website_gsc, wsp_remove_website_gsc, wsp_show_website_gsc, wsp_check_url_gsc, wsp_check_urls_gsc, wsp_show_traffic_gsc, ….
  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