Skip to main content
Glama

GoogleCalendarMCP

用于与 Google 日历交互的模型完成提示 (MCP)插件。

特征

  • 在 Google 日历中创建可自定义的活动:

    • 开始和结束时间

    • 描述

    • 地点

    • 参会者

    • 时区

Related MCP server: mcp-google

安装

  1. 克隆此存储库:

git clone https://github.com/ITworkonline/GoogleCalendarMCP.git cd GoogleCalendarMCP
  1. 创建虚拟环境并安装依赖项:

python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .
  1. 设置 Google 日历 API:

    • 前往Google Cloud Console

    • 创建新项目

    • 启用 Google 日历 API

    • 创建 OAuth 2.0 凭据(桌面应用程序)

    • 下载凭证 JSON 文件并将其保存为项目根目录中的credentials.json

用法

from GoogleCalendarMCP.main import create_event # Create a calendar event result = await create_event( summary="Meeting with Team", start_time="2025-04-01T10:00:00", end_time="2025-04-01T11:00:00", description="Discuss project progress", location="Conference Room 3", attendees=["colleague@example.com"], timezone="America/New_York" )

验证

首次运行该程序时,它会打开一个浏览器窗口,供您使用 Google 帐户进行身份验证。身份验证完成后,将创建一个token.json文件来存储您的凭据,以供后续运行使用。

执照

麻省理工学院

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

Latest Blog Posts

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/ITworkonline/GoogleCalendarMCP'

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