KosmoKrator

analytics

Google Search Console MCP Integration for Vercel AI SDK

Connect Google Search Console to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Manual OAuth token auth

Connect Google Search Console to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Google Search Console MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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

Scoped tools

Expose only Google Search Console instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Search Console Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Google Search Console integration catalog.

MCP toolSource functionTypeDescription
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.

Related Google Search Console Pages