
Gsc
io.github.mikusnuz由 GitHub 帳號 mikusnuz 發布v1.3.6更新於 Oct 26, 2026
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
概覽
本機 MCP 伺服器,讓助理存取 Google Search Console 與 Indexing API:搜尋分析、網站地圖、網址檢查與索引通知。
- 可以做什麼
- 列出、檢視、新增與移除 Search Console 資源
- 列出、檢視、提交與刪除網站地圖
- 依篩選、分組與小時維度查詢搜尋成效資料(點擊、曝光、點閱率、排名)
- 檢查網址的索引狀態、檢索資訊、複合式搜尋結果與 AMP
- 為符合資格的徵才或直播網址送出 Indexing API 通知,支援最多 100 筆批次送出
- 適用情境
- 適合想讓助理直接回答網站搜尋成效問題、找出索引有誤的頁面、管理網站地圖,或就符合資格的徵才與直播網址通知 Google 的情境。
- 執行需求
- 透過 npx 以 npm 套件 @mikusnuz/gsc-mcp 在本機執行,需要 Node.js 20 或更新版本。認證方式二選一:OAuth2(GSC_CLIENT_ID、GSC_CLIENT_SECRET、GSC_REFRESH_TOKEN,需 webmasters 與 indexing 權限範圍),或服務帳戶金鑰檔路徑 GSC_SERVICE_ACCOUNT_KEY_PATH。需在 Google Cloud 專案啟用 Search Console API 與 Indexing API,帳戶需對相關資源具備擁有者或足夠權限。
安裝
README
gsc-mcp
MCP server for Google Search Console API and Google Indexing API — full API coverage.
Requires Node.js 20 or newer, matching the MCP SDK's installed runtime dependencies.
When to Use
For AI agents: See
llms.txtfor a machine-readable summary. Copytemplates/CLAUDE.mdortemplates/AGENTS.mdinto your project to teach your agent about this MCP.
Unlike other GSC MCP servers that only wrap searchAnalytics.query, this server exposes every endpoint available in the Google Search Console and Indexing APIs.
Tools (13)
Sites
Sitemaps
Search Analytics
URL Inspection
Indexing API
Indexing API eligibility: Google supports this API only for pages with
JobPostingstructured data or livestream pages withBroadcastEventembedded in aVideoObject. The tools requirecontentTypeso callers must identify which supported type applies. A successful API response confirms receipt of the notification; it does not guarantee that Google indexed the URL. Useurl_inspection_inspectto check index status. See Google's Indexing API usage guide.
Indexing API quotas
Google's default per-project limits are 200 publish requests per day, 180 metadata requests per minute, and 380 requests per minute across endpoints. The daily limit resets at midnight Pacific Time. A batch of 100 URLs still consumes 100 requests; batching reduces connections, not quota usage. Check your project's actual quota before sending notifications. See the official quota reference.
Authentication
Two authentication methods are supported:
Option 1: OAuth2 Refresh Token
Required OAuth2 scopes:
https://www.googleapis.com/auth/webmastershttps://www.googleapis.com/auth/indexing
Option 2: Service Account
For Search Console read/write tools, add the service account as an owner or user with sufficient permission. For Indexing API tools, Google requires the service account to be added as a delegated owner of the property; user-level access is not sufficient.
Setup Guide
OAuth2 Setup
- Go to Google Cloud Console
- Create a project (or select existing)
- Enable Search Console API and Indexing API
- Create OAuth 2.0 credentials (Desktop app type)
- Use the OAuth Playground to generate a refresh token with scopes:
https://www.googleapis.com/auth/webmastershttps://www.googleapis.com/auth/indexing
Service Account Setup
- Go to Google Cloud Console
- Create a service account
- Download the JSON key file
- Enable Search Console API and Indexing API
- In Search Console, add the service account email as an owner for your sites
License
MIT
來源:README.md,提交 16a3f5a
工具
0版本歷史
3- v1.3.6最新Oct 19, 2026
- v1.3.4Oct 8, 2026
- v1.3.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分