productivity
Google Calendar MCP Integration for Claude Agent SDK
Connect Google Calendar to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Calendar 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 Calendar MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent 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. |