This repository hosts a Model Context Protocol (MCP) server that integrates with Google Calendar, enabling LLMs to manage events, analyze schedules, and automate calendar-related tasks through a secure OAuth 2.0 authentication flow.
This is a Model Context Protocol (MCP) server that integrates with Google Calendar, enabling LLMs to manage calendar events through a standardized interface.
Dynamic capabilities include adding events from screenshots, calendar analysis, attendance checks, auto-coordinating events, and providing availability.
Node.js, TypeScript, a Google Cloud project with the Calendar API enabled, and OAuth 2.0 credentials.
Includes directories for source code (src
), compiled JavaScript (build
), scripts, LLM configurations (llm
), logs, and project configuration files.
Enable the Google Calendar API in your Google Cloud project and create OAuth 2.0 credentials.
Clone the repository, install dependencies using npm install
, and place your Google OAuth credentials in gcp-oauth.keys.json
.
Scripts for building, type checking, starting the server in development or production mode, and running the authentication flow.
Supports automatic and manual OAuth authentication flows, with secure token storage and automatic refresh.
Exposes MCP tools for calendar management, such as list-calendars
, create-event
, and update-event
.
Configuration instructions for integrating with Claude Desktop.
Troubleshooting tips for common issues like OAuth token expiration and build errors.
OAuth credentials and tokens are stored securely. Never commit these files to version control.
MIT
nspady/google-calendar-mcp
December 15, 2024
March 28, 2025
TypeScript