MCP Google Calendar Server logo

MCP Google Calendar Server

by markelaugust74

This is a Model Context Protocol (MCP) server implementation that allows AI assistants like Claude to create and manage Google Calendar events. It provides an interface for interacting with the Google Calendar API.

View on GitHub

Last updated: N/A

MCP Google Calendar Server

A Model Context Protocol (MCP) server implementation that enables AI assistants like Claude to create and manage Google Calendar events.

Features

  • Create calendar events with title, description, start/end times
  • Support for adding event attendees
  • OAuth2 authentication with Google Calendar API
  • Full MCP protocol implementation
  • Debug logging for troubleshooting

Prerequisites

  • Node.js v18 or later
  • Google Cloud Console project with Calendar API enabled
  • OAuth2 credentials (Client ID and Client Secret)

Setup

  1. Clone the repository:
git clone [https://github.com/markelaugust74/mcp-google-calendar.git] 
cd mcp-google-calendar 
  1. Install dependencies:
npm install 
  1. Set up environment variables:
  • Copy .env.example to .env
  • Add your Google OAuth2 credentials
  1. Get your refresh token:
npm run auth 
  1. Update the refresh token in index.js

Usage

npm start