analytics
Google Search Console MCP Integration for Claude Agent SDK
Connect Google Search Console to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Search Console to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Google Search Console MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |