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__gsc_list_sites | google-search-console.gsc_list_sites | Read | List all sites the authenticated user has access to in Google Search Console. Returns site URLs and permission levels. |
integration__google_search_console__gsc_get_site | google-search-console.gsc_get_site | Read | Get details for a specific site in Google Search Console, including permission level. |
integration__google_search_console__gsc_list_sitemaps | google-search-console.gsc_list_sitemaps | Read | List sitemaps submitted for a site in Google Search Console. Returns sitemap URLs, types, and indexing status. |
integration__google_search_console__gsc_get_sitemap | google-search-console.gsc_get_sitemap | Read | Get details for a specific sitemap in Google Search Console, including indexing status and any errors. |
integration__google_search_console__gsc_list_search_analytics | google-search-console.gsc_list_search_analytics | Read | Query search performance data from Google Search Console — clicks, impressions, CTR, and average position. Group by dimensions like query, page, country, or device. |
integration__google_search_console__gsc_list_url_inspection | google-search-console.gsc_list_url_inspection | Read | Inspect URLs for a site in Google Search Console. Returns indexing status, crawl information, and any detected issues. |
integration__google_search_console__gsc_get_current_user | google-search-console.gsc_get_current_user | Read | Get the authenticated user's profile from Google Search Console. Returns email and account information. |