团队应用/google-search-console
Markdown 视图

Google Search Console MCP 与 API 接入

团队应用鉴权:oauth

查看团队自有站点在 Google 搜索中的表现、站点属性与 Sitemap 状态。

本地 Google Search Console MCP 配置

每台设备存放明文密钥

  • 原始 Google Search Console Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 Google Search Console

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

可以让智能体这样提问

“Which queries brought the most clicks to our site in the last 28 days?”

## Top queries, 14 Oct to 10 Nov | Query | Clicks | Impressions | CTR | Average position | |---|---|---|---|---| | **example product** | 812 | 10,440 | 7.8% | 2.4 | | **example pricing** | 455 | 6,900 | 6.6% | 3.1 | | **how to use example** | 301 | 9,200 | 3.3% | 5.8 | “example product” brings the most clicks. “how to use example” gets nearly as many impressions as it, but far fewer clicks and ranks lower, around position 6, so a better title and description could win clicks there. Want me to look at the page that ranks for it?

search-analytics

“Has Google indexed https://example.com/pricing? If not, why?”

## https://example.com/pricing **Yes, it is indexed.** | Check | Result | |---|---| | Index status | Submitted and indexed | | Last crawled | 8 Nov 2026, as a mobile page | | Allowed by robots.txt | Yes | | Indexing allowed | Yes | | Canonical (Google’s and yours) | https://example.com/pricing | Nothing is wrong with this page. Want me to inspect another URL?

url-inspection

全部操作(10)

操作价格
GET www.googleapis.com/webmasters/v3/sites

The Search Console properties the connected account can see.

自备 Key
GET www.googleapis.com/webmasters/v3/sites/{siteUrl}

One Search Console property, and the account's permission on it.

自备 Key
PUT www.googleapis.com/webmasters/v3/sites/{siteUrl}

Adds a property to the connected account's Search Console.

自备 Key
DELETE www.googleapis.com/webmasters/v3/sites/{siteUrl}

Removes a property from the connected account's Search Console.

自备 Key
POST www.googleapis.com/webmasters/v3/sites/{siteUrl}/searchAnalytics/query

Clicks, impressions, CTR and position of a site in Google Search, grouped as asked.

自备 Key
POST searchconsole.googleapis.com/v1/urlInspection/index:inspect

Whether Google has indexed a URL of a site, and why or why not.

自备 Key
GET www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps

The sitemaps submitted for a property, with their errors and warnings.

自备 Key
GET www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}

One sitemap of a property, with its errors and warnings.

自备 Key
PUT www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}

Submits a sitemap of a property to Google.

自备 Key
DELETE www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}

Removes a sitemap from a property in Search Console.

自备 Key

常见问题

如何在 Claude Code 或 Cursor 中接入 Google Search Console?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Google Search Console 全部 10 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 Google Search Console 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 Google Search Console 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。