Google Search Console (GSC) MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GSC_CREDENTIALS_PATH | No | Path to the Google Search Console credentials JSON file. Defaults to ~/.config/gws/searchconsole_credentials.json |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gsc_list_sitesA | List the Search Console properties (sites) the signed-in Google account can access, with each one's permission level. This is the entry point: every other tool needs a property string in the exact form returned here. |
| gsc_search_analyticsA | Query Search Console search analytics for a property over a date range: clicks, impressions, CTR, and average position, grouped by the dimensions you pass (query, page, country, device, date). Returns compact rows. Use this for 'what are my top queries / pages' and trend questions. GSC data lags ~2-3 days, so end your range a few days before today. |
| gsc_striking_distanceB | The SEO goldmine view: queries ranking just off page one (average position 8-25) with enough impressions to be worth optimizing. These are the keywords where a small content tweak can win real clicks. Computed client-side from search analytics; returns queries sorted by impressions. |
| gsc_list_sitemapsA | List the sitemaps submitted for a property, with each one's submit/download times, pending state, and warning/error counts. Use this to check whether a sitemap was processed and is error-free. |
| gsc_submit_sitemapA | Submit (or re-submit) a sitemap to Google Search Console for a property. This is a WRITE action: it registers the sitemap and pings Google to crawl it. Requires the full webmasters OAuth scope — if the saved credential is read-only, re-run the OAuth flow from the README requesting the full scope. Idempotent: re-submitting the same sitemap URL just refreshes it. |
| gsc_delete_sitemapA | Remove a sitemap from a property in Search Console. This is a DESTRUCTIVE write action: it deregisters the sitemap (it does not delete the file from your server, but Google stops tracking it). Requires the full webmasters OAuth scope. |
| gsc_inspect_urlA | Inspect a single URL with the URL Inspection API: whether Google has it indexed, its coverage state, last crawl time, Google's chosen canonical, and a one-line mobile/rich-results summary. Returns a compact projection, not the full raw blob. Use this to debug 'why isn't this page indexed'. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool maps to a distinct resource and action: sites, analytics, sitemaps (list/submit/delete), and URL inspection. The only pair with any overlap is gsc_striking_distance, which is a pre-computed filtered view of gsc_search_analytics, but the description makes the distinction explicit so an agent is unlikely to misselect.
All tools share a predictable gsc_ snake_case prefix with verb_noun structure (list_sites, search_analytics, submit_sitemap, delete_sitemap, inspect_url). The lone deviation is gsc_striking_distance, which is a noun phrase with no verb, but it still reads clearly within the family.
Seven tools is well-scoped for the Search Console domain, with every tool earning its place: one entry point, one analytics query, one derived analytics view, full sitemap lifecycle, and URL inspection. Nothing feels padded or missing at the count level.
Core workflows are covered: property discovery, performance queries, sitemap list/submit/delete, and URL index debugging, which is solid lifecycle coverage. Minor gaps remain (no property add/remove management, no get-sitemap detail beyond the list, no bulk/batch URL inspection), but agents can work around these.