MCP server for Google Search Console - search analytics, URL inspection, and site management via Claude
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add google-gsc --env GOOGLE_APPLICATION_CREDENTIALS='<GOOGLE_APPLICATION_CREDENTIALS>' -- npx -y mcp-google-gsc~/.codex/config.toml
[mcp_servers.google-gsc]
command = "npx"
args = ["-y", "mcp-google-gsc"]
env = { GOOGLE_APPLICATION_CREDENTIALS = "<GOOGLE_APPLICATION_CREDENTIALS>" }
# codex mcp add google-gsc --env GOOGLE_APPLICATION_CREDENTIALS='<GOOGLE_APPLICATION_CREDENTIALS>' -- npx -y mcp-google-gsc~/.cursor/mcp.json
{
"mcpServers": {
"google-gsc": {
"command": "npx",
"args": [
"-y",
"mcp-google-gsc"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-gsc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-gsc"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-gsc": {
"command": "npx",
"args": [
"-y",
"mcp-google-gsc"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-gsc": {
"command": "npx",
"args": [
"-y",
"mcp-google-gsc"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-gsc": {
"command": "npx",
"args": [
"-y",
"mcp-google-gsc"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Environment variables
GOOGLE_APPLICATION_CREDENTIALS
Replace the placeholders with your own credentials and keep them out of version control.