productivity
Google Calendar MCP Integration for LangChain
Connect Google Calendar to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Calendar to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Google Calendar MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |