google-calendar-mcp

google-calendar-mcp

Enables natural language interaction with Google Calendar, including creating, updating, deleting events and managing recurring events through MCP.

Category
Visit Server

README

Google Calendar MCP Server

Google Calendar APIを操作するMCP (Model Context Protocol) サーバーです。

機能

カレンダー操作

  • list_calendars - カレンダー一覧の取得
  • get_calendar - カレンダー詳細の取得

イベント操作

  • list_events - イベント一覧の取得
  • get_event - イベント詳細の取得
  • search_events - イベントの検索
  • create_event - イベントの作成(定期イベント対応)
  • update_event - イベントの更新
  • delete_event - イベントの削除

定期イベント操作

  • update_recurring_event - 定期イベントの更新
    • thisEventOnly: この予定のみ
    • all: すべての予定
    • thisAndFollowing: これ以降の予定
  • delete_recurring_instance - 定期イベントの特定インスタンス削除

ユーティリティ

  • get_freebusy - 空き時間情報の取得
  • list_colors - 利用可能なカラーパレットの取得

セットアップ

1. Google Cloud Consoleでの準備

  1. Google Cloud Consoleでプロジェクトを作成
  2. Google Calendar APIを有効化
  3. OAuth 2.0クライアントIDを作成
    • アプリケーションの種類: ウェブアプリケーション
    • 承認済みのリダイレクトURI: http://localhost:8080/callback
  4. 認証情報JSONファイルをダウンロード

2. 環境変数の設定

export CLIENT_SECRET_PATH="/path/to/client_secret.json"
export TOKEN_PATH="/path/to/token.json"

3. インストールとビルド

pnpm install
pnpm build

4. 初回認証

サーバーを起動すると、初回はブラウザでGoogle認証を求められます。認証後、トークンが保存され、以降は自動的に認証されます。

使用方法

Claude Desktopでの設定

claude_desktop_config.jsonに以下を追加:

{
  "mcpServers": {
    "google-calendar": {
      "command": "node",
      "args": ["/path/to/google-calendar-mcp/dist/index.js"],
      "env": {
        "CLIENT_SECRET_PATH": "/path/to/client_secret.json",
        "TOKEN_PATH": "/path/to/token.json"
      }
    }
  }
}

Claude Codeでの設定

claude mcp add google-calendar node /path/to/google-calendar-mcp/dist/index.js \
  -e CLIENT_SECRET_PATH=/path/to/client_secret.json \
  -e TOKEN_PATH=/path/to/token.json

使用例

イベント一覧の取得

今日の予定を教えて

イベントの作成

明日の14時から15時に「打ち合わせ」という予定を作成して

定期イベントの作成

毎週月曜日の10時から11時に「週次ミーティング」を10回作成して

定期イベントの個別編集

今週の週次ミーティングだけ時間を11時からに変更して

技術スタック

  • TypeScript
  • Node.js >= 18.0.0
  • @modelcontextprotocol/sdk
  • googleapis
  • zod

ライセンス

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured