Skip to main content
Glama

Google Calendar MCP Server

by thisnick

Google カレンダー MCP サーバー

モデル コンテキスト プロトコル (MCP) を使用して、Claude Desktop から Google カレンダーを操作します。

これは、Googleカレンダーとの連携を実装したTypeScriptベースのMCPサーバーです。MCPのコアコンセプトを実証しながら、以下の機能を提供します。

  • MCP URI によるカレンダーイベント管理
  • イベントを作成および変更するためのツール
  • カレンダーの分析情報を生成するためのプロンプト

特徴

リソース

  • MCP URI 経由でカレンダー イベントにアクセスする
  • 各イベントにはタイトル、時間、説明、参加者が登録されています
  • 適切なMIMEタイプで構造化されたイベントデータ

ツール

  • create_event - 新しいカレンダーイベントを作成する
    • タイトル、時間、その他のイベントの詳細をパラメータとして受け取ります
    • Google カレンダー API と直接インターフェースします
  • list_events - 今後のカレンダーイベントを表示する
  • [実装した他のツールを追加]

プロンプト

  • analyze_schedule - カレンダーに関する洞察を生成する
    • 今後のイベントを埋め込みリソースとして含める
    • LLM分析のための構造化されたプロンプトを返します
  • [実装した他のプロンプトを追加]

前提条件

  • Node.js (v14以上)
  • カレンダー API が有効になっている Google Cloud プロジェクト
  • OAuth 2.0 クライアント資格情報

発達

devbox.shの指示に従ってdevboxをインストールします。

curl -fsSL https://get.jetpack.io/devbox | bash

プロジェクト ディレクトリで devbox を初期化します。

devbox init

devbox シェルを起動します。

devbox shell

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "Google Calendar": { "command": "/path/to/Google Calendar/build/index.js" } } }

初回セットアップ

  1. Google Cloud の認証情報を設定します。
    • Google Cloud Consoleに移動
    • 新しいプロジェクトを作成するか、既存のプロジェクトを選択してください
    • GoogleカレンダーAPIを有効にする
    • OAuth 2.0 認証情報を作成する (デスクトップ アプリケーション タイプ)
    • クライアントシークレットJSONファイルをダウンロードする
    • 名前を.client_secret.jsonに変更し、プロジェクトルートに配置します。
  2. 初期認証:
    • サーバーを初めて起動すると、認証URLが提供されます。
    • ブラウザでURLにアクセスしてください
    • 要求された権限を付与する
    • 提供された認証コードをコピーします
    • コードをCLIプロンプトに貼り付けます

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

モデル コンテキスト プロトコルを使用して Claude Desktop 経由で Google カレンダーとやり取りし、カレンダー イベントの管理とスケジュール分析が可能になります。

  1. 特徴
    1. リソース
    2. ツール
    3. プロンプト
  2. 前提条件
    1. 発達
      1. インストール
        1. 初回セットアップ
          1. デバッグ

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          Server for Google Calendar integration in Cluade Desktop with auto authentication support. This server enables AI assistants to manage Google Calendar events through natural language interactions.
          Last updated -
          22
          6
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          Enables comprehensive calendar management with capabilities to create, list, update, and delete events through a Model Context Protocol server integrated with Google Calendar.
          Last updated -
          13
          1
          TypeScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          Model Context Protocol server that provides seamless access to Google Calendar API with asynchronous operation support, enabling efficient calendar management through a standardized interface.
          Last updated -
          Python
          • Apple
          • Linux
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that integrates Google Calendar with Claude Desktop, enabling users to manage calendar events (view, create, update, delete) through natural language.
          Last updated -
          133
          21
          TypeScript
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/thisnick/google-calendar-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server