Is the Google Search Console MCP server safe? What it can reach
What the Google Search Console MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Google does not publish a Search Console MCP server that I could confirm. The most used community option is AminForou/mcp-gsc, run locally with uvx. It signs in with your Google account (OAuth) or a service account. It reads by default; site and sitemap deletes need GSC_ALLOW_DESTRUCTIVE=true.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| AminForou/mcp-gsc (community) | Community | active |
It runs as a local process on your machine.
How it signs in
Use your own Google OAuth client and sign in once in a browser, or use a service account JSON key added as a user on the property. The server acts with that account’s Search Console rights.
| Scope or permission | Access |
|---|---|
webmasters.readonly | read |
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_capabilities, list_properties, get_site_details, get_search_analytics, get_performance_overview, compare_search_periods, get_search_by_page_query, get_advanced_search_analytics, inspect_url_enhanced, batch_url_inspection, check_indexing_issues, get_sitemaps, list_sitemaps_enhanced, reauthenticate |
| Write | manage_sitemaps |
| Can’t be undone | add_site, delete_site, delete_sitemap |
The README says there are 20 tools but its table lists 14, and the Safety section names add_site, delete_site and delete_sitemap. The other tools are not named. Those three are off unless GSC_ALLOW_DESTRUCTIVE=true. manage_sitemaps can submit or delete sitemaps.
Built-in limits
| Option | What it does |
|---|---|
GSC_ALLOW_DESTRUCTIVE | Defaults to false. When false, add_site, delete_site and delete_sitemap are disabled and OAuth requests only the read-only scope. |
Service account access level | For a service account, add it to the property with a lower permission than Full if you only need reports. The README’s example uses Full access. |
GSC_SKIP_OAUTH | Set to true to force service account auth and skip OAuth. |
The risks
- manage_sitemaps can submit or delete sitemaps, and a deleted sitemap can slow how fast Google finds new pages.
- If GSC_ALLOW_DESTRUCTIVE is set, an injected instruction could remove a property or its sitemaps from your Search Console account.
- The OAuth token or service account key sits on disk and carries your Search Console rights for every property in that account.
- This is a community project, not a Google product, so you are trusting its maintainers and its dependencies.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env GSC_OAUTH_CLIENT_SECRETS_FILE=... gsc -- uvx mcp-search-consoleClaude Code names MCP tools mcp__gsc__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__gsc__add_site",
"mcp__gsc__delete_site",
"mcp__gsc__delete_sitemap"
],
"ask": [
"mcp__gsc__manage_sitemaps"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.gsc]
command = "uvx"
args = ["mcp-search-console"]
env_vars = ["GSC_OAUTH_CLIENT_SECRETS_FILE"]
disabled_tools = ["add_site", "delete_site", "delete_sitemap"]Checklist
- Leave GSC_ALLOW_DESTRUCTIVE unset.
- Prefer OAuth with your own client over a shared service account.
- If you use a service account, grant only the permission level you need.
- Deny add_site, delete_site and delete_sitemap.
- Pin the package version instead of floating to the latest.
Checked against the vendor documentation on November 25, 2026. AminForou/mcp-gsc README · README (raw, with changelog 0.4.2)
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing