analytics
Google Search Console MCP Integration for Codex
Connect Google Search Console to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Search Console to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Google Search Console MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"mcpServers": {
"kosmokrator-google_search_console": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=google_search_console",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=google_search_console --write=deny Why Use KosmoKrator Here
Expose only Google Search Console instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Google Search Console Tools Visible to Codex
Codex sees stable MCP tool names generated from the Google Search Console integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__google_search_console__google_search_console_add_site | google_search_console.google_search_console_add_site | Write | Add a new site property to Google Search Console. |
integration__google_search_console__google_search_console_delete_site | google_search_console.google_search_console_delete_site | Write | Remove a site property from Google Search Console. |
integration__google_search_console__google_search_console_delete_sitemap | google_search_console.google_search_console_delete_sitemap | Write | Remove a sitemap from Google Search Console. |
integration__google_search_console__google_search_console_get_sitemap | google_search_console.google_search_console_get_sitemap | Read | Get details of a specific sitemap in Google Search Console. Returns the sitemap's path, last submitted/downloaded dates, whether it's a sitemap index, and content type breakdown with submitted vs indexed URL counts. |
integration__google_search_console__google_search_console_inspect_url | google_search_console.google_search_console_inspect_url | Read | Check a URL's indexing status in Google Search Console. Returns: index verdict, coverage state, last crawl time, robots.txt state, indexing state, rich results, mobile usability, and AMP status. |
integration__google_search_console__google_search_console_list_sitemaps | google_search_console.google_search_console_list_sitemaps | Read | List all submitted sitemaps for a Google Search Console property. Returns each sitemap's path, last submitted/downloaded dates, whether it's a sitemap index, and content type counts (submitted vs indexed URLs). |
integration__google_search_console__google_search_console_list_sites | google_search_console.google_search_console_list_sites | Read | List all verified Google Search Console sites/properties with their permission levels. Use this first to discover available properties before querying performance data or inspecting URLs. Returns each site's URL (e.g., "sc-domain:example.com" or "https://www.example.com/") and your permission level. |
integration__google_search_console__google_search_console_performance | google_search_console.google_search_console_performance | Read | Query Google Search Console search performance data (clicks, impressions, CTR, position). Common queries: "top pages by clicks" → dimensions=["page"]. "Top search queries" → dimensions=["query"]. "Traffic trend" → dimensions=["date"]. "Mobile vs desktop" → dimensions=["device"]. "Blog section" → dimensions=["page"], filters=[{dimension:"page", operator:"contains", value:"/blog/"}]. Combine dimensions: dimensions=["query","device"] for queries by device. |
integration__google_search_console__google_search_console_submit_sitemap | google_search_console.google_search_console_submit_sitemap | Write | Submit a new sitemap to Google Search Console. |