Skip to main content
Glama

Google Calendar MCP Server

by kayesFerdous
create_event.py512 B
from typing import Any, Dict from src.schemas.calendar_event import CalendarEvent as Event from src.service import get_calendar_service def insert_event(created_event: Event) -> Dict[str, Any]: """ Insert an event into the primary Google Calendar and return the API response. """ event_dict = created_event.model_dump(exclude_none=True, mode="json") service = get_calendar_service() result = service.events().insert(calendarId="primary", body=event_dict).execute() return result

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kayesFerdous/Google-Calendar-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server