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__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. |