Google Calendar

by itworkonline

Not rated
GitHub

About

Integrates with Google Calendar to enable event creation with customizable parameters including time, description, location, attendees, and timezone through OAuth authentication and API interaction.

Details

Author
itworkonline
Repository
ITworkonline/GoogleCalendarMCP
Categories
Developer Tools, AI, Security, API
Tags
#integration

- Create events in Google Calendar with customizable:
- Start and end times
- Description
- Location
- Attendees
- Timezone

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Google Calendar
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

``python
from GoogleCalendarMCP.main import create_event

The first time you run the program, it will open a browser window for you to authenticate with your Google account. After authentication, a token.json` file will be created to store your credentials for subsequent runs.

create_event

Create a calendar event with the specified details. Parameters: summary (string), start_time (string), end_time (string), description (optional string), location (optional string), attendees (optional list of strings), timezone (optional string)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "google calendar": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

GoogleCalendarMCP

A Model Completion Prompt (MCP) plugin for interacting with Google Calendar.

Features

- Create events in Google Calendar with customizable:
- Start and end times
- Description
- Location
- Attendees
- Timezone

Installation

1. Clone this repository:

git clone https://github.com/ITworkonline/GoogleCalendarMCP.git
cd GoogleCalendarMCP

2. Create a virtual environment and install dependencies:

python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .

3. Set up Google Calendar API:
- Go to the Google Cloud Console
- Create a new project
- Enable the Google Calendar API
- Create OAuth 2.0 credentials (Desktop app)
- Download the credentials JSON file and save it as credentials.json in the project root

Usage

from GoogleCalendarMCP.main import create_event

Create a calendar event

result = await create_event( summary="Meeting with Team", start_time="2025-04-01T10:00:00", end_time="2025-04-01T11:00:00", description="Discuss project progress", location="Conference Room 3", attendees=["colleague@example.com"], timezone="America/New_York" )

Authentication

The first time you run the program, it will open a browser window for you to authenticate with your Google account. After authentication, a token.json file will be created to store your credentials for subsequent runs.

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.