Read-only Google Search Console tools: performance queries, URL inspection, indexing checks and HTML SEO audit reports.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add google-search-console-acamolese --env GSC_CLIENT_SECRET='<GSC_CLIENT_SECRET>' --env GSC_REFRESH_TOKEN='<GSC_REFRESH_TOKEN>' -- uvx mcp-google-search-console~/.codex/config.toml
[mcp_servers.google-search-console-acamolese]
command = "uvx"
args = ["mcp-google-search-console"]
env = { GSC_CLIENT_SECRET = "<GSC_CLIENT_SECRET>", GSC_REFRESH_TOKEN = "<GSC_REFRESH_TOKEN>" }
# codex mcp add google-search-console-acamolese --env GSC_CLIENT_SECRET='<GSC_CLIENT_SECRET>' --env GSC_REFRESH_TOKEN='<GSC_REFRESH_TOKEN>' -- uvx mcp-google-search-console~/.cursor/mcp.json
{
"mcpServers": {
"google-search-console-acamolese": {
"command": "uvx",
"args": [
"mcp-google-search-console"
],
"env": {
"GSC_CLIENT_SECRET": "<GSC_CLIENT_SECRET>",
"GSC_REFRESH_TOKEN": "<GSC_REFRESH_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-search-console-acamolese": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-google-search-console"
],
"env": {
"GSC_CLIENT_SECRET": "<GSC_CLIENT_SECRET>",
"GSC_REFRESH_TOKEN": "<GSC_REFRESH_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-search-console-acamolese": {
"command": "uvx",
"args": [
"mcp-google-search-console"
],
"env": {
"GSC_CLIENT_SECRET": "<GSC_CLIENT_SECRET>",
"GSC_REFRESH_TOKEN": "<GSC_REFRESH_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-search-console-acamolese": {
"command": "uvx",
"args": [
"mcp-google-search-console"
],
"env": {
"GSC_CLIENT_SECRET": "<GSC_CLIENT_SECRET>",
"GSC_REFRESH_TOKEN": "<GSC_REFRESH_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-search-console-acamolese": {
"command": "uvx",
"args": [
"mcp-google-search-console"
],
"env": {
"GSC_CLIENT_SECRET": "<GSC_CLIENT_SECRET>",
"GSC_REFRESH_TOKEN": "<GSC_REFRESH_TOKEN>"
}
}
}
}需要的环境变量
GSC_CLIENT_SECRETGSC_REFRESH_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。