GSC MCP
Provides tools for managing Google Search Console properties, including site verification, adding sites, submitting sitemaps, and listing sitemaps and sites.
Click on "Install 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 MCPSubmit sitemap for example.com"
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
An extensible Model Context Protocol (MCP) server for Google Site Verification and Google Search Console. It uses the MCP Streamable HTTP transport and keeps Google OAuth credentials and tokens local.
Available tools
Tool | Purpose |
| Get a FILE or META verification token for a URL-prefix site |
| Verify site ownership after the file or meta tag is live |
| Add a verified URL-prefix property |
| Submit a sitemap for a property |
| List Search Console properties |
| List submitted sitemaps and their status |
Related MCP server: mcp-gsc-multi-account
Requirements
Node.js 20 or newer
A Google Cloud OAuth Desktop client
Site Verification API and Search Console API enabled in the Google Cloud project
Setup
npm ci
cp .env.example .envFill GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in .env, then generate a strong MCP bearer token:
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"Put the generated value in MCP_AUTH_TOKEN, authorize Google once, and start the server:
npm run auth
npm startThe endpoints are:
MCP:
http://127.0.0.1:8787/mcpHealth:
http://127.0.0.1:8787/health
MCP requests must include Authorization: Bearer <MCP_AUTH_TOKEN>. To connect a remote MCP client, expose the local endpoint through a trusted HTTPS tunnel and keep bearer authentication enabled.
Architecture
src/index.js runtime composition
src/http-server.js HTTP transport and bearer auth
src/server.js MCP server construction
src/google-client.js reusable Google OAuth/API client
src/tools/index.js central tool registry
src/tools/google-search-console.js
Search Console tool moduleTo add another MCP capability:
Create one registrar module in
src/tools/.Export a function with the signature
registerFeatureTools(server, dependencies).Add that registrar to
src/tools/index.js.Add contract tests under
test/.
Keep API clients outside tool modules and inject them as dependencies. This keeps tools testable and prevents credentials from becoming part of the MCP layer.
Validation
npm test
npm run security:check
npm run checkCI runs the same deterministic checks on every push and pull request.
Security
.env, token*.json, client_secret*.json, private keys, dependencies, and logs are excluded from Git. The secret check scans only tracked files and fails on blocked credential filenames or high-confidence token patterns. See SECURITY.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- CalmSEOOAuthcom.calmseo
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
Google Ads MCP server — manage campaigns, keywords, and metrics.
MCP server for Google search results via SERP API
Official SerpApi MCP server for Google, Bing, and other search engines.
Related MCP Servers
- 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
- FlicenseNot gradedqualityDmaintenanceEnables managing multiple Google Search Console accounts through a single MCP server, providing tools for search analytics, quick win detection, period comparison, URL inspection and indexing, and sitemap management.-
- AlicenseNot gradedqualityDmaintenanceThis MCP server provides LLMs with programmatic access to Google Search Console data and functionality, including search analytics, sitemap management, site management, and URL inspection.MIT
- AlicenseAqualityBmaintenanceMCP server for Google Search Console, enabling querying search performance, listing properties, and inspecting URL indexing status from MCP-compatible clients.4141MIT