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
設定
- Google Cloud Platform でプロジェクトを作成し、Google Calendar API を有効化します。
- Service Account を作成し、JSON キーファイルをダウンロードします。
- 環境変数
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31da94c1b73592f21a3e4f3fd02d79e34416e574ae39bafa3c3e66943ad1c669
|
|
| MD5 |
cfd7db15c6b0ef79830242c65d2f79c9
|
|
| BLAKE2b-256 |
c00e9de6c270abdf0b1f0319ea6bc425ed203bb9ee40733518af41702718c79a
|
Provenance
The following attestation bundles were made for google_calendar_mcp-0.1.0.tar.gz:
Publisher:
publish.yaml on youyo/google-calendar-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_calendar_mcp-0.1.0.tar.gz -
Subject digest:
31da94c1b73592f21a3e4f3fd02d79e34416e574ae39bafa3c3e66943ad1c669 - Sigstore transparency entry: 205852926
- Sigstore integration time:
-
Permalink:
youyo/google-calendar-mcp@db51e1de83afec5bb374764847b9176f68b63eb5 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/youyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@db51e1de83afec5bb374764847b9176f68b63eb5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file google_calendar_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: google_calendar_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41a273f8ad6b3fea9c814fc5e19480984a9e82edda6be6327b98c44d6d0056d1
|
|
| MD5 |
855bc03713e18c237b89fef350f7bd97
|
|
| BLAKE2b-256 |
069cf317342e8cf15ef04cacbcbb892828253ce6132aef1aea776a475fd487da
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_calendar_mcp-0.1.0-py3-none-any.whl -
Subject digest:
41a273f8ad6b3fea9c814fc5e19480984a9e82edda6be6327b98c44d6d0056d1 - Sigstore transparency entry: 205852929
- Sigstore integration time:
-
Permalink:
youyo/google-calendar-mcp@db51e1de83afec5bb374764847b9176f68b63eb5 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/youyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@db51e1de83afec5bb374764847b9176f68b63eb5 -
Trigger Event:
push
-
Statement type: