productivity
Google Calendar MCP Integration for LangGraph
Connect Google Calendar to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Calendar to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Google Calendar MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph sees stable MCP tool names generated from the Google Calendar integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__google_calendar__gcalendar_list_events | google-calendar.gcalendar_list_events | Read | List events on a Google Calendar. Returns events within a specified time range. Use "primary" as the calendar ID for the user's main calendar. |
integration__google_calendar__gcalendar_get_event | google-calendar.gcalendar_get_event | Read | Get details of a specific event on a Google Calendar. Returns the full event resource including summary, description, attendees, and timing. |
integration__google_calendar__gcalendar_create_event | google-calendar.gcalendar_create_event | Write | Create a new event on a Google Calendar. Requires at minimum a summary, start time, and end time. Supports adding attendees, location, and description. |
integration__google_calendar__gcalendar_list_calendars | google-calendar.gcalendar_list_calendars | Read | List all calendars on the user's Google Calendar account. Returns calendar IDs, summaries, and metadata for each calendar. |
integration__google_calendar__gcalendar_get_calendar | google-calendar.gcalendar_get_calendar | Read | Get details of a specific Google Calendar by its ID. Returns the calendar resource including summary, description, time zone, and access settings. |
integration__google_calendar__gcalendar_list_colors | google-calendar.gcalendar_list_colors | Read | Get the available color definitions for Google Calendar events and calendars. Returns color palettes that can be used when creating or updating events and calendars. |
integration__google_calendar__gcalendar_get_current_user | google-calendar.gcalendar_get_current_user | Read | Get the authenticated Google user's profile information, including name, email, and profile picture. Useful for verifying the connected account. |