Skip to main content

Google Calendar MCP Server with Service Account authentication

Project description

Google Calendar MCP

Google Calendar MCP is a Model Context Protocol (MCP) server implementation in Python with Service Account authentication.

日本語 README はこちら

Overview

This project implements the Google Calendar API as an MCP server in Python. It is a port from the original TypeScript version, with authentication changed from OAuth 2.0 to Service Account.

Features

  • Python 3.13 support
  • MCP (Model Context Protocol) server implementation
  • Google Calendar API integration
  • Service Account authentication
  • Dependency management with uv

Requirements

  • Python 3.13 or higher
  • A Google Cloud Platform project and a valid Service Account
  • The Service Account must have access to the Google Calendar API

Installation

# Clone the repository
git clone https://github.com/youyo/google-calendar-mcp.git
cd google-calendar-mcp

# Install dependencies
uv pip install -r requirements.txt

Configuration

  1. Create a project in Google Cloud Platform and enable the Google Calendar API.
  2. Create a Service Account and download the JSON key file.
  3. Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the path of the JSON key file.
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json

Example: MCP configuration file

To use this server with an MCP client, add the following to your MCP configuration file:

{
  "mcpServers": {
    "google-calendar-mcp": {
      "command": "uvx",
      "args": ["google-calendar-mcp@latest"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
      }
    }
  }
}

Usage

# Start the server
uvx google-calendar-mcp

Available Tools

  • list-calendars: List all available calendars
  • list-events: List events from a calendar
  • search-events: Search for events in a calendar by text query
  • list-colors: List available color IDs and their meanings for calendar events
  • create-event: Create a new calendar event
  • update-event: Update an existing calendar event
  • delete-event: Delete a calendar event

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_calendar_mcp-0.0.3.tar.gz (80.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_calendar_mcp-0.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file google_calendar_mcp-0.0.3.tar.gz.

File metadata

  • Download URL: google_calendar_mcp-0.0.3.tar.gz
  • Upload date:
  • Size: 80.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for google_calendar_mcp-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3d7de9a24f6a23102257cc3f2d09870f7ea49e419d5fbc79609528bdbb7da274
MD5 e46f5f384c5dd372261ee78dd2587cf1
BLAKE2b-256 94a5f5781691aa00faea7903c471ccb1d562ec279ce4667b039dfeeabba25373

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_calendar_mcp-0.0.3.tar.gz:

Publisher: publish.yaml on youyo/google-calendar-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file google_calendar_mcp-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for google_calendar_mcp-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0762c33e24b80734db72734d2879c73426742c262cae4ea7b73ad262f7f7ae6
MD5 6288d5fd35e73351053778dc7f550165
BLAKE2b-256 ea03b61e7c64a41e9560950ebed9f101a74c9f7659e2e6b8078e0459c8be10e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_calendar_mcp-0.0.3-py3-none-any.whl:

Publisher: publish.yaml on youyo/google-calendar-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page