analytics
Google Search Console MCP Integration for OpenAI Agents SDK
Connect Google Search Console to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Search Console to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Google Search Console MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |