productivity
Google Calendar MCP Integration for Vercel AI SDK
Connect Google Calendar to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Calendar 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 Calendar MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-google_calendar": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=google_calendar",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=google_calendar --write=deny Why Use KosmoKrator Here
Expose only Google Calendar 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 Calendar Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Google Calendar integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__google_calendar__google_calendar_create_event | google_calendar.google_calendar_create_event | Write | Create a Google Calendar event. Use startDateTime/endDateTime for timed events, or startDate/endDate for all-day events. |
integration__google_calendar__google_calendar_delete_event | google_calendar.google_calendar_delete_event | Write | Delete a Google Calendar event by its ID. |
integration__google_calendar__google_calendar_freebusy | google_calendar.google_calendar_freebusy | Read | Check free/busy availability across one or more Google Calendars. Returns busy time slots within the specified time range. Useful for finding open slots for scheduling meetings. |
integration__google_calendar__google_calendar_get_event | google_calendar.google_calendar_get_event | Read | Get a single Google Calendar event by its ID. |
integration__google_calendar__google_calendar_list_calendars | google_calendar.google_calendar_list_calendars | Read | List all Google Calendars the user has access to. |
integration__google_calendar__google_calendar_list_events | google_calendar.google_calendar_list_events | Read | List or search events in a Google Calendar. Supports date range filtering and text search. |
integration__google_calendar__google_calendar_quick_add | google_calendar.google_calendar_quick_add | Read | Create a Google Calendar event from natural language text (e.g., "Lunch with Alice tomorrow at noon"). |
integration__google_calendar__google_calendar_update_event | google_calendar.google_calendar_update_event | Write | Update an existing Google Calendar event (partial update). Only specified fields are changed. |