连接器指南阅读约 4 分钟11 个 MCP 工具7 种语言

将 Google Calendar MCP 接入 Microsoft Copilot

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

HC作者:HelpCode 团队更新于 4 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Google Calendar

Google Calendar

Let your AI work with Google Calendar: see the calendars you have, list and search events in any time range, read event details and guests, create and reschedule meetings with guests and Google Meet links, answer invitations, add events from a sentence and check when people are free. Personal Google accounts and Google Workspace.

个工具

11

区域

INTL

类别

日程安排

身份验证

OAuth 2.0

所需环境变量

GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRET
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

摘要

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

引导式设置

2 分钟将 Google Calendar 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Google Calendar,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

无需信用卡 · 7 天试用 · 提供自托管方案

试试这样问

Google Calendar 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Google Calendar · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Google Calendar、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Google Calendar + Microsoft Copilot

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

步骤 1 — 获取凭证

  1. 打开 console.cloud.google.com,选择或创建一个项目,然后进入 APIs & Services → Library 启用 Google Calendar API。
  2. 打开 APIs & Services → OAuth consent screen。如果你使用 Google Workspace,选择 Internal(最简单),否则选择 External。选择 External 时,请把发布状态设为 In production:应用处于 Testing 状态时,Google 会在 7 天后撤销它的刷新令牌,连接器每周都会停止工作。如果只供你自己的账户使用,可以直接跳过“unverified app”警告继续。
  3. 打开 APIs & Services → Credentials → Create credentials → OAuth client ID,应用类型选择 Web application,并添加已授权的重定向 URI https://cloud.anythingmcp.com/api/mcp-oauth/callback。如果你自行托管 AnythingMCP,请改填 https://your-anythingmcp-host/api/mcp-oauth/callback。
  4. 把客户端 ID 填入 GOOGLE_CLIENT_ID,把客户端密钥填入 GOOGLE_CLIENT_SECRET,然后安装连接器。
  5. 在连接器页面点击 Authorize with Provider,用 AI 要使用其日历的 Google 账户登录。刷新令牌会加密存储,访问令牌会自动续期。

一个 Google 客户端服务所有 Google 连接器:同一个 Cloud 项目和 OAuth 客户端可以服务所有 Google 连接器:Gmail、Google Calendar、Google Drive、Google Sheets、Google Docs、Google Tasks、Search Console、Analytics 和 Ads。在该项目中启用每个 API,复用同一个客户端 ID 和密钥,并为每个连接器各授权一次。每个连接器只请求它自己需要的权限。

邀请与空闲时间:只有当 AI 请 Google 通知时,邀请对象才会收到邮件;否则活动仍会出现在他们的日历中。只有当同事的忙闲信息对你可见时,才能查看他们的空闲时间,在同一个 Google Workspace 组织内通常都是可见的。

权限:连接器请求 https://www.googleapis.com/auth/calendar.events(在你可以编辑的每个日历中创建、修改和删除活动)和 https://www.googleapis.com/auth/calendar.readonly(读取日历列表、日历、颜色和忙闲信息)。它不能创建或删除日历,也不能更改日历的共享对象。

只读设置:在连接器的 OAuth 设置中把 scope 改为 https://www.googleapis.com/auth/calendar.readonly,重新授权,并停用 gcal_create_event、gcal_update_event、gcal_respond_to_event 和 gcal_quick_add。

安装时默认关闭:gcal_delete_event。只有在需要 AI 删除活动时才打开这个工具。

常见错误:401 表示授权已过期或被撤销(同意屏幕处于 Testing 状态时,7 天后必然发生):请再次点击 Authorize with Provider。403 accessNotConfigured 表示 Cloud 项目中没有启用 Google Calendar API。403 insufficientPermissions 表示 scope 不允许该调用(在只读设置下尝试修改),或者你对该日历只有查看权限。404 表示日历或活动不存在,或此账户看不到它。

连接器不会创建、删除或共享日历,也不处理活动附件、日历设置或推送通知。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Microsoft Copilot 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 Google Calendar 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
gcal_list_calendarsList the calendars in the signed-in user's calendar list (own, shared and subscribed) with id, summary, timeZone, accessRole and primary…
gcal_get_calendarGet one calendar's metadata: summary, description, location and time zone
gcal_list_eventsList or search events of one calendar in a time window. time_min and time_max are RFC 3339 with offset (2026-10-09T00:00:00+02:00); q…
gcal_get_eventGet one event with all details: start and end, attendees and their responseStatus, organizer, recurrence, reminders, hangoutLink and…
gcal_create_eventCreate an event: title, start and end (timed or all-day), location, description, guests, recurrence, reminders and optionally a Google Meet…
gcal_update_eventChange an event: only the fields given are changed (PATCH). attendees, recurrence and reminders replace the whole current value, so read…
gcal_respond_to_eventAccept, decline or tentatively accept an invitation
gcal_quick_addCreate an event from one line of natural language, the way Calendar's quick add does, e.g. "Lunch with Ana tomorrow 12:30-13:30 at Café…
gcal_delete_eventDelete an event (all occurrences when it is a recurring series; pass an occurrence id to cancel one occurrence)
gcal_query_free_busyCheck when calendars are busy in a time window, without event details: returns busy intervals per calendar
gcal_list_colorsList the color palette: event colors (color_id "1" to "11") and calendar colors, each with background and foreground hex values

示例提示

  • “这周剩下几天我的日历上有什么?标出时间重叠的会议。”
  • “下周二或周三上午找一个和 [email protected] 都空闲的 45 分钟时段,并给她发送带 Google Meet 链接的邀请。”
  • “把明天下午 3 点的评审改到周五同一时间,并通知参会者。”
  • “接受周四规划会议的邀请,并拒绝与它冲突的那个会议。”

FAQ

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 Google Calendar 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Google Calendar,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

相关指南

连接器

将 Google Calendar MCP 接入 ChatGPT

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

连接器

将 Google Calendar MCP 接入 Claude

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

连接器

将 Google Calendar MCP 接入 Cursor

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

连接器

将 Google Calendar MCP 接入 Gemini CLI

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

连接器

将 Google Calendar MCP 接入 Meta Muse

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。

连接器

Google Calendar MCP 服务器:日程与会议

让你的 AI 使用 Google Calendar:查看你的日历,列出和搜索任意时间段的活动,读取活动详情和邀请对象,创建和改期带邀请对象和 Google Meet 链接的会议,回复邀请,用一句话添加活动,并查看他人何时有空。支持个人 Google 账户和 Google Workspace。