Google Search Console
v0.3.0MCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection
Values you need
| Variable | What it is | |
|---|---|---|
GSC_SERVICE_ACCOUNT_KEY | optional secret | Service account key as JSON, or base64-encoded JSON. One of the three credential options. |
GSC_SERVICE_ACCOUNT_KEY_FILE | optional | Path to a service account key file. Alternative to GSC_SERVICE_ACCOUNT_KEY. |
GSC_CLIENT_ID | optional | OAuth2 client id. Use together with GSC_CLIENT_SECRET and GSC_REFRESH_TOKEN. |
GSC_CLIENT_SECRET | optional secret | OAuth2 client secret. All three OAuth2 variables are required together. |
GSC_REFRESH_TOKEN | optional secret | OAuth2 refresh token. All three OAuth2 variables are required together. |
GOOGLE_APPLICATION_CREDENTIALS | optional | Path to application default credentials, used when no GSC_ credential is set. |
GSC_SITE_URL | optional | Default property, e.g. sc-domain:example.com or https://example.com/ — makes site_url optional |
GSC_ALLOWED_SITES | optional | Comma-separated properties this server may touch; anything else is refused |
GSC_READ_ONLY | optional | Set to true to register only the read tools (default: false) |
GSC_ALLOW_TOOLS | optional | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
GSC_DENY_TOOLS | optional | Comma-separated tool names or list_* prefixes to remove from whatever the allow list left |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add google-search-console-mcp -- npx -y @ni-c/google-search-console-mcp@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"google-search-console-mcp": {
"args": [
"-y",
"@ni-c/google-search-console-mcp@0.3.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"google-search-console-mcp": {
"args": [
"-y",
"@ni-c/google-search-console-mcp@0.3.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"google-search-console-mcp": {
"args": [
"-y",
"@ni-c/google-search-console-mcp@0.3.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.google-search-console-mcp]
command = "npx"
args = ["-y", "@ni-c/google-search-console-mcp@0.3.0"]Docker
Requires Docker
Run in a terminal
claude mcp add google-search-console-mcp -- docker run -i --rm ghcr.io/ni-c/google-search-console-mcp:0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"google-search-console-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ni-c/google-search-console-mcp:0.3.0"
],
"command": "docker"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"google-search-console-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ni-c/google-search-console-mcp:0.3.0"
],
"command": "docker"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"google-search-console-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ni-c/google-search-console-mcp:0.3.0"
],
"command": "docker",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.google-search-console-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/ni-c/google-search-console-mcp:0.3.0"]For AI agents
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_sites, get_site, add_site, delete_site, list_sitemaps, get_sitemap, submit_sitemap, submit_sitemaps, ….
- 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