GSC MCP Worker
Provides tools for interacting with Google Search Console, including search analytics, URL inspection, sitemap management, and audit reporting.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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/mcpRelated MCP Connectors
Read-only Google Search Console MCP server for AI assistants.
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
Hosted Google Search Console MCP server, with each action switched on or off per account.
SEO MCP server for keyword research, live SERPs, backlinks, site audits and AI visibility.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for Google Search Console. 21 tools for search analytics, keyword opportunities, URL inspection, sitemaps, indexing, and property management.1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Google Search Console API that enables querying search analytics, managing sites, inspecting URLs, and supporting domain delegation via service accounts.22 PyPI1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Google Search Console, enabling querying search analytics, URL inspection, sitemap management, and more via natural language.31,535 npm3MIT
- AlicenseAqualityDmaintenanceMCP server for Google Search Console, enabling querying search performance, listing properties, and inspecting URL indexing status from MCP-compatible clients.418 npm1MIT