Search Console MCP
Provides read-only access to Google Search Console, including listing verified sites, listing sitemaps, querying search analytics, and performing URL inspections.
Provides page speed and performance analysis for URLs using Google PageSpeed Insights.
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., "@Search Console MCPCompare Google and Bing organic clicks for my site in the last month."
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.
Search Console MCP on Cloudflare Workers
Read-only Google Search Console + Bing Webmaster Tools + PageSpeed Insights Remote MCP for Cloudflare Workers, designed for ChatGPT and other clients that support authenticated Streamable HTTP MCP.
This is a Workers-oriented adapter aligned with saurabhsharma2u/search-console-mcp. It does not run the upstream Node CLI inside Workers; local filesystem/keychain auth is replaced by Worker Secrets and WebCrypto-friendly REST calls.
Current v0.1 scope
The first milestone intentionally exposes only read operations:
connection_statussites_listsitemaps_listanalytics_queryinspection_inspectbing_crawl_issuespagespeed_analyzecompare_engines
No sitemap submission, URL submission, indexing submission, site deletion, or other external write action is exposed.
Related MCP server: Google Search Console MCP Server
Architecture
ChatGPT / MCP client
│ HTTPS + OAuth (PKCE)
▼
Cloudflare Worker /mcp
├─ OAuth gate + SQLite Durable Object state
├─ Google Search Console REST
│ └─ restricted service account / webmasters.readonly
├─ Bing Webmaster Tools REST
│ └─ API key
└─ PageSpeed Insights RESTExternal credentials are stored only as Cloudflare Worker Secrets. OAuth authorization codes and refresh tokens used by the MCP client are stored in a SQLite-backed Durable Object and consumed atomically.
Required secrets
npx wrangler secret put GOOGLE_SERVICE_ACCOUNT_JSON
npx wrangler secret put BING_API_KEY
npx wrangler secret put OAUTH_PASSWORD
npx wrangler secret put OAUTH_JWT_SECRETOptional but recommended for stable PageSpeed quota:
npx wrangler secret put PAGESPEED_API_KEYGOOGLE_SERVICE_ACCOUNT_JSON
Paste the entire downloaded service-account JSON file as the secret value. Do not commit it, upload it to issues, or split the private key into normal [vars].
The service account should be added to the target Search Console property with the minimum permissions needed. This Worker only requests:
https://www.googleapis.com/auth/webmasters.readonlyLocal checks
npm install
npm run check
npm test
npm run buildnpm run build is a Wrangler dry-run. It does not deploy.
Deploy
npx wrangler login
npm run deployThen configure the secrets above. The Remote MCP URL is:
https://<worker>.workers.dev/mcpGET /health only reports configuration presence and process health. It never prints secret values and does not prove the external credentials are valid; verify with sites_list after deployment.
ChatGPT connection
Create a custom Remote MCP / Plugin connection using the Worker /mcp URL and OAuth. The Worker publishes OAuth discovery, dynamic client registration, PKCE S256, token refresh, and protected-resource metadata. The authorization page is protected by OAUTH_PASSWORD.
Start with:
Show
connection_status, then list my verified sites from Google and Bing.
Only after both engines pass should cross-engine comparisons be trusted.
Security notes
OAUTH_PASSWORDmust be at least 16 characters.OAUTH_JWT_SECRETmust be an independent random value of at least 32 characters.Keep
CORS_ALLOWED_ORIGINSexact. Do not replace it with*.Google/Bing/API-returned text is untrusted data and is not treated as instructions.
The Worker intentionally exposes no external write tools in v0.1.
Cloudflare free-tier suitability depends on real request/CPU/storage usage and upstream API quotas; it is not an unlimited-use guarantee.
See NOTICE.md for upstream attribution.
This server cannot be deployed
Maintenance
Related MCP Connectors
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Read Search Console performance, keyword opportunities and annotations for your sites.
Read-only Search Console analytics, URL inspection, indexing diagnostics, and sitemaps.
Google Search Console in your AI: overview, opportunities, index gaps, page checks, long history.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides read-only access to Google Search Console data, allowing AI assistants to query site performance metrics like keywords, clicks, and rankings using natural language. It supports listing verified properties, querying search analytics with dimension filters, and retrieving sitemap information.31MIT
- AlicenseAqualityAmaintenanceProvides AI agents with read-only access to Google Search Console data, including search analytics, index coverage, and sitemap status. It enables users to query clicks, impressions, and ranking performance or check URL indexing status through natural language.4261 npm9MIT
- FlicenseNot gradedqualityFmaintenanceEnables interacting with Google Search Console via natural language, supporting search analytics, URL inspection, sitemap management, and site listing.25-
- AlicenseAqualityCmaintenanceConnects Google Search Console to AI assistants, enabling natural language analysis of SEO data. Provides read-only tools for properties, search analytics, URL inspection, and sitemaps.15MIT