SS

saurabhsharma2u/search-console-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

334 stars 32 forks 质量 79 趋势 10MIT

saurabhsharma2u/search-console-mcp 是从 https://github.com/saurabhsharma2u/search-console-mcp. 导入的 MCP 服务器候选。

概览

saurabhsharma2u/search-console-mcp 是从 https://github.com/saurabhsharma2u/search-console-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

谷歌搜索控制台 + 必应网站管理员工具 + GA4 + AdSense ——在一个上下文窗口中。

停止导出CSV。开始向你的AI代理提问关于你网站流量、排名和收入的问题。

📚 文档 ·快速入门 ·工具 ·向后兼容 ·安全性


⚡ v2.1.4 有什么新内容

  • 🎯 正确属性解析(#110):拥有多个已验证属性共享同一主机名的账户(如/en-gb/ + /de-de/,根属性和sc-domain:属性)可能无声返回分析数据,针对错误属性**——无论解析器先触碰的冲突属性。解析现按属性类型和路径精确;裸域查询按确定性排序(sc-domain: › 根),真正模糊的请求在匹配属性列表中失败,而非猜测。感谢Alcip在#110中出色的根因分析。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


⚡ What’s New in v2.1.4

  • 🎯 Correct-property resolution (#110): Accounts with multiple verified properties sharing one hostname (locale subfolders like /en-gb/ + /de-de/, the root property, and the sc-domain: property) could get analytics data silently returned for the wrong property — whichever colliding property the resolver happened to touch first. Resolution is now exact by property type and path; bare-domain queries rank deterministically (sc-domain: › root), and truly ambiguous requests fail with the list of matching properties instead of guessing. With thanks to Alcip for the outstanding root-cause analysis in #110.
  • 🔐 Explicit write authorization for GSC mutation tools (#113): sitemaps_submit, sitemaps_delete and site-management calls now require an explicit webmasters write scope, offered as an inline re-authorization flow in the CLI when a tool first needs it. The server stays read-only by default at setup; you opt into write capabilities explicitly. Credit to chase-weiser88 for surfacing the missing write scope in #84.
  • 🛡️ SSE transport secured & deprecated (#114): SSE mode now binds to 127.0.0.1 by default (--host=/MCP_HTTP_HOST to override), requires a bearer token (--token=/MCP_HTTP_TOKEN, auto-generated if unset), never sends wildcard CORS, and rejects forged non-loopback Host headers (DNS-rebinding guard). SSE mode is deprecated and will be removed in the next release — prefer the default stdio transport.
在 GitHub 查看完整 README

安装

npx search-console-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "search-console": { "command": "npx", "args": ["search-console-mcp"] } } }