Googleカレンダー統合プロジェクト
このプロジェクトは、Google カレンダー API との統合を提供し、カレンダー イベントをプログラムで管理および操作します。
前提条件
Python 3.8以上
Google Cloud Platform アカウント
GoogleカレンダーAPIが有効
OAuth 2.0 認証情報が設定されている
セットアップ手順
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Google カレンダー統合プロジェクトを自動的にインストールするには:
手動インストール
リポジトリのクローンを作成する
git clone https://github.com/Avik-creator/googlecalendarMCP cd googlecalendarMCP仮想環境の設定
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`依存関係をインストールする
pip install -r requirements.txtGoogle Cloud Platform のセットアップ
a. Google Cloud Consoleに移動します。b. 新しいプロジェクトを作成するか、既存のプロジェクトを選択します。c. Google Calendar API を有効にします。d. OAuth 2.0 認証情報を作成します。
APIとサービス > 認証情報に移動します
「認証情報を作成」>「OAuthクライアントID」をクリックします
「デスクトップアプリケーション」を選択
資格情報JSONファイルをダウンロードする
名前を
credentials.json
に変更し、プロジェクトルートに配置します。
環境変数
次の変数を含む
.env
ファイルをプロジェクト ルートに作成します。GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json CALENDAR_ID=your_calendar_id@group.calendar.google.com
使用法
初回認証
python auth.pyOAuth認証用のブラウザウィンドウが開きます。指示に従ってアプリケーションを承認してください。
アプリケーションの実行
python main.py
特徴
カレンダーイベントの作成、読み取り、更新、削除
定期的なイベントを設定する
イベント参加者の管理
イベント通知とリマインダーを処理する
プロジェクト構造
依存関係
このプロジェクトでは、主に次の依存関係を使用します。
Google 認証 OAuth ライブラリ
google-auth-httplib2
Google API Python クライアント
Python-dotenv
展開された構成:
セキュリティノート
credentials.json
、token.json
、.env
ファイルをバージョン管理にコミットしないでください。OAuth認証情報を安全に保つ
認証情報とトークンを定期的にローテーションする
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
プルリクエストを作成する
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
自然言語によるやりとりを通じて Google カレンダー イベントをプログラムで管理できるようにし、定期的なイベント、出席者、リマインダーの機能を使用してイベントの作成、読み取り、更新、削除をサポートします。
Related MCP Servers
- -securityAlicense-qualityEnables comprehensive calendar management with capabilities to create, list, update, and delete events through a Model Context Protocol server integrated with Google Calendar.Last updated -143MIT License
- -securityAlicense-qualityEnables AI assistants to manage Google Calendar through natural language interactions with features like creating, updating, and deleting events, searching calendars, and supporting natural language date/time inputs.Last updated -22MIT License
- -securityFlicense-qualityEnables LLMs to read, create, and manage Google Calendar events through a standardized interface, including features like listing calendars, managing events, and processing calendar information from screenshots and images.Last updated -141
- AsecurityAlicenseAqualityProvides comprehensive Google Calendar integration capabilities allowing AI assistants to list, create, update, and delete calendar events through a standardized Model Context Protocol.Last updated -54MIT License