other
Google Maps MCP Integration for Vercel AI SDK
Connect Google Maps to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Maps 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 Maps MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-google-maps": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=google-maps",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=google-maps --write=deny Why Use KosmoKrator Here
Expose only Google Maps 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 Maps Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Google Maps integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__google_maps__google_maps_geocode_address | google-maps.google_maps_geocode_address | Read | Convert a street address into geographic coordinates and place details using Google Maps geocoding. |
integration__google_maps__google_maps_reverse_geocode | google-maps.google_maps_reverse_geocode | Read | Convert latitude and longitude coordinates into street addresses using Google Maps reverse geocoding. |
integration__google_maps__google_maps_search_places | google-maps.google_maps_search_places | Read | Search for places with a text query using Google Maps Places search. |
integration__google_maps__google_maps_get_place_details | google-maps.google_maps_get_place_details | Read | Get detailed information about a specific Google Maps place by Place ID. |
integration__google_maps__google_maps_get_directions | google-maps.google_maps_get_directions | Read | Get directions between an origin and destination using Google Maps Directions API. |
integration__google_maps__google_maps_get_distance_matrix | google-maps.google_maps_get_distance_matrix | Read | Calculate travel distances and durations between multiple origins and destinations. |
integration__google_maps__google_maps_get_current_user | google-maps.google_maps_get_current_user | Read | Get geolocation data for the current requester and verify Google Maps API credentials. |