GSC MCP Worker
Provides tools for interacting with Google Search Console, including search analytics, URL inspection, sitemap management, and audit reporting.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GSC MCP Workershow me my search performance for the last 28 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GSC MCP Worker
Google Search Console MCP server hosted on a Cloudflare Worker.
Tools ported from AminForou/mcp-gsc (TypeScript rewrite, REST API via fetch)
SEO audit report engine ported from acamolese/google-search-console-mcp (translated to English)
Auth: Google service account (JWT signed with WebCrypto — no googleapis dependency)
Transports: Streamable HTTP (
/mcp) and legacy SSE (/sse), plus a browser endpoint/reportfor the HTML audit
For security/IT sign-off: SECURITY-REVIEW.md (architecture, auth model, secrets, egress, risk register, kill switch).
Setup
1. Google Cloud
Create (or pick) a GCP project and enable the Google Search Console API.
Create a service account (no roles needed) and download its JSON key.
In Search Console → Settings → Users and permissions, add the service account email (
...@...iam.gserviceaccount.com) as a user (Full permission if you want sitemap submission; Owner-added properties needed for add/delete site).
2. Deploy
npm install --legacy-peer-deps
npx wrangler secret put GCP_SERVICE_ACCOUNT_KEY # paste the full JSON key
npx wrangler secret put MCP_AUTH_TOKEN # any long random string, e.g. `openssl rand -hex 32`
npm run deploy3. Connect a client
Claude Code:
claude mcp add --transport http gsc https://gsc-mcp.gtm-ai.workers.dev/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"Claude Desktop / other stdio-only clients, via mcp-remote:
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": [
"mcp-remote",
"https://gsc-mcp.gtm-ai.workers.dev/mcp",
"--header",
"Authorization: Bearer <MCP_AUTH_TOKEN>"
]
}
}
}Related MCP server: google-search-console-mcp-python
Tools
Category | Tools |
Properties |
|
Analytics |
|
Inspection |
|
Sitemaps |
|
Reporting |
|
Meta |
|
* Destructive — disabled unless GSC_ALLOW_DESTRUCTIVE=true in wrangler.jsonc vars.
Audit report
generate_audit_report returns a self-contained HTML report (KPIs vs previous period, Chart.js
trend/device charts, detected issues with per-issue strategies, quick wins, keyword
cannibalization, page-2 opportunities, 30/60/90-day roadmap).
Also available directly in the browser:
https://gsc-mcp.gtm-ai.workers.dev/report?site_url=sc-domain:example.com&date_from=2026-07-01&date_to=2026-07-28&token=<MCP_AUTH_TOKEN>Config
Name | Kind | Meaning |
| secret | Full service account JSON key |
| secret | Bearer token required on every endpoint |
| var |
|
| var |
|
| var (optional) | JSON overriding report branding, e.g. |
Local dev
cp .dev.vars.example .dev.vars # or create .dev.vars with the two secrets
npm run dev # http://localhost:8787/mcpThis server cannot be deployed
Maintenance
Related MCP Connectors
Google Search Console MCP for analytics, indexing, sitemaps, and SEO diagnostics.
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
MCP server for Google search results via SERP API
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceMCP server for Google Search Console. 21 tools for search analytics, keyword opportunities, URL inspection, sitemaps, indexing, and property management.1MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for Google Search Console API that enables querying search analytics, managing sites, inspecting URLs, and supporting domain delegation via service accounts.MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for Google Search Console, enabling querying search analytics, URL inspection, sitemap management, and more via natural language.351 npm1MIT
- AlicenseAqualityDmaintenanceMCP server for Google Search Console, enabling querying search performance, listing properties, and inspecting URL indexing status from MCP-compatible clients.411 npm1MIT