Set up the Google Search Console MCP server
Read Search Console performance and indexing data in your AI client, with sitemap management through AminForou’s community server.
Community · AminForou (community)
Add it to your client
Before you start
- 01
Prepare a Google OAuth client JSON for the Google account that can access your Search Console property.
- 02
Set GSC_OAUTH_CLIENT_SECRETS_FILE to the full path of that JSON file.
- 03
For a GUI client, replace uvx in the command with the full path to your uvx executable.
- 04
Follow the server’s Google authorization flow when you connect.
- 01
In the AI panel, open Customize › Connections.
- 02
Under Add connection, choose Local command.
- 03
Name the connection Google Search Console. Set the command to uvx and the arguments to mcp-search-console.
- 04
Add the environment variable GSC_OAUTH_CLIENT_SECRETS_FILE. Replace /full/path/to/client_secrets.json with your own value, using the setup above where provided.
- 05
Save the connection, then review the tools it makes available.
What you can do
List your Search Console properties.
Read and filter search performance data.
Compare performance between 2 periods.
Inspect crawl and index status for up to 10 URLs per batch.
Submit or delete sitemaps with the required access.
Try asking
“Compare this property’s search performance between these 2 date ranges.”
“Inspect these 10 URLs and show their crawl and index status.”
What it can change
Can submit or delete sitemaps with the required access. Check your Google permissions before a write; the setup shown does not establish that your token can change sitemaps.
Browse 7 tools
list_propertiesLists your Search Console properties.get_search_analyticsReads clicks, impressions, CTR and position by query or page.get_advanced_search_analyticsReads search analytics with country, device, query and page filters.compare_search_periodsCompares search performance between two date ranges.inspect_url_enhancedReads detailed crawl and index status for a URL.batch_url_inspectionInspects up to ten URLs at once.manage_sitemapsSubmits or deletes sitemaps.