Google Calendar MCP
Googleカレンダー統合プロジェクト
このプロジェクトは、Google カレンダー API との統合を提供し、カレンダー イベントをプログラムで管理および操作します。
前提条件
Python 3.8以上
Google Cloud Platform アカウント
GoogleカレンダーAPIが有効
OAuth 2.0 認証情報が設定されている
Related MCP server: Google Calendar MCP Server
セットアップ手順
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Google カレンダー統合プロジェクトを自動的にインストールするには:
npx -y smithery install @Avik-creator/googlecalendarMCP --client claude手動インストール
リポジトリのクローンを作成する
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
特徴
カレンダーイベントの作成、読み取り、更新、削除
定期的なイベントを設定する
イベント参加者の管理
イベント通知とリマインダーを処理する
プロジェクト構造
googlecalendarMCP/
├── auth.py # Authentication handling
├── main.py # Main application entry point
├── requirements.txt # Project dependencies
├── .env # Environment variables
├── credentials.json # Google OAuth credentials
└── token.json # Generated OAuth token依存関係
このプロジェクトでは、主に次の依存関係を使用します。
Google 認証 OAuth ライブラリ
google-auth-httplib2
Google API Python クライアント
Python-dotenv
展開された構成:
{
"mcpServers": {
"google_calendar_mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp-google-calendar.avikm744.workers.dev/sse"
]
}
}
}セキュリティノート
credentials.json、token.json、.envファイルをバージョン管理にコミットしないでください。OAuth認証情報を安全に保つ
認証情報とトークンを定期的にローテーションする
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
プルリクエストを作成する
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Manage Google, Outlook & Apple calendars and create private sync rules from chat.
Schedule and manage Google Calendar events directly from your workspace. Check availability, view…
Sync Google, Outlook, and iCloud calendars and manage events, availability, and booking links.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.9 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables management of Google Calendar events across multiple calendars with natural language support, including searching events, checking availability, creating/updating/deleting events, responding to invitations, and auto-generating Google Meet links.106 npm49MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing Google Calendar events including creating, listing, updating, and deleting events through natural language.4 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Calendar events through natural language interactions, including creating, updating, deleting, and listing events.8 npmISC