Skip to main content

Google Calendar MCP Server with Service Account authentication

Project description

Google Calendar MCP

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

概要

このプロジェクトは、Google Calendar API を MCP (Model Context Protocol) サーバーとして実装したものです。TypeScript 版から Python への移植版で、認証方式を OAuth 2.0 から Service Account に変更しています。

特徴

  • Python 3.13 対応
  • MCP (Model Context Protocol) サーバー実装
  • Google Calendar API 連携
  • Service Account 認証
  • uv による依存管理

必要条件

  • Python 3.13 以上
  • Google Cloud Platform のプロジェクトと有効な Service Account
  • Service Account に Google Calendar API へのアクセス権限が付与されていること

インストール

# リポジトリをクローン
git clone https://github.com/youyo/google-calendar-mcp.git
cd google-calendar-mcp

# 依存関係のインストール
uv pip install -r requirements.txt

設定

  1. Google Cloud Platform でプロジェクトを作成し、Google Calendar API を有効化します。
  2. Service Account を作成し、JSON キーファイルをダウンロードします。
  3. 環境変数GOOGLE_APPLICATION_CREDENTIALSに JSON キーファイルのパスを設定します。
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json

使い方

# サーバーを起動
python -m src.main

利用可能なツール

  • list-calendars: 利用可能なカレンダーの一覧を表示
  • list-events: カレンダーからイベントを一覧表示
  • search-events: カレンダー内のイベントをテキストで検索
  • list-colors: カレンダーイベントで利用可能な色 ID とその意味を一覧表示
  • create-event: 新しいカレンダーイベントを作成
  • update-event: 既存のカレンダーイベントを更新
  • delete-event: カレンダーイベントを削除

ライセンス

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.1.0.tar.gz (78.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.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: google_calendar_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 78.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.1.0.tar.gz
Algorithm Hash digest
SHA256 31da94c1b73592f21a3e4f3fd02d79e34416e574ae39bafa3c3e66943ad1c669
MD5 cfd7db15c6b0ef79830242c65d2f79c9
BLAKE2b-256 c00e9de6c270abdf0b1f0319ea6bc425ed203bb9ee40733518af41702718c79a

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_calendar_mcp-0.1.0.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_calendar_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41a273f8ad6b3fea9c814fc5e19480984a9e82edda6be6327b98c44d6d0056d1
MD5 855bc03713e18c237b89fef350f7bd97
BLAKE2b-256 069cf317342e8cf15ef04cacbcbb892828253ce6132aef1aea776a475fd487da

See more details on using hashes here.

Provenance

The following attestation bundles were made for google_calendar_mcp-0.1.0-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