﻿---
title: "安装 Google Calendar 插件"
summary: "安装 google-calendar@openai-curated 并连接 Google 账号，查看和管理日程。创建、改期或取消事件前确认目标日历。"
category: skills
level: starter
surfaces: [cli, app]
tags: ["plugins", "Google Calendar", "google-calendar@openai-curated", "Google"]
canonical: /tips/google-calendar-codex-plugin/
---

# 安装 Google Calendar 插件

安装 google-calendar@openai-curated 并连接 Google 账号，查看和管理日程。创建、改期或取消事件前确认目标日历。

安装 google-calendar@openai-curated 并连接 Google 账号，查看和管理日程。创建、改期或取消事件前确认目标日历。

这是 OpenAI 做的 Google Calendar 插件，用来看已连接日历里的日程和空闲，并在工作区打开写动作时起草或改事件。产品页是 [Google Calendar](https://openai.com/business/plugins/google-calendar/)。Google 权限边界看 [Google app data controls FAQ](https://help.openai.com/en/articles/10408842-google-app-data-controls-faq)。清单 [`plugin.json`](https://github.com/openai/plugins/blob/main/plugins/google-calendar/.codex-plugin/plugin.json) 的 name 是 `google-calendar`，所以精选 id 是 `google-calendar@openai-curated`。

CLI：

```bash
codex plugin add google-calendar@openai-curated
codex plugin list
```

TUI `/plugins` 或桌面 Plugins 搜 Google Calendar 再装，效果一样。装完按提示 Connect Google 账号。IDE 扩展没有 `/plugins`，用 CLI 这条。

插件 [`.mcp.json`](https://github.com/openai/plugins/blob/main/plugins/google-calendar/.mcp.json) 表名是 `google-calendar`，type 是 http，URL 是 `https://calendarmcp.googleapis.com/mcp/v1`（带 `/mcp/v1`）。插件已经登记 MCP 时，不要再手写 `mcp add google-calendar --url https://calendarmcp.googleapis.com/mcp/v1` 叠一张。OAuth 字段由插件带，不要手抄 client_id，

帮助中心写明：只能读你授权的那个 Google 账号已经能打开的日历。工作区没打开写动作、或 Google Workspace 没批准对应 scope 时，连接或改事件会失败。未确认前不要创建、改期或删除会议。

在支持的 Codex 任务视图里，打开 Sources → Use plugins，再搜已安装的 Google Calendar。ChatGPT 里可以用 `@Google Calendar`。

0.154 起先看**当前会话**的 `/plugins`；没有再新开。`codex plugin list` 里应看到 `google-calendar@openai-curated`。网页 Cloud 不读 `~/.codex/config.toml`。Cloud 用 Plugins 搜 Google Calendar。

使用注意事项：

- 操作影响：创建、改期、删除事件会动真实日历。


## 来源

- [OpenAI · Google Calendar](https://openai.com/business/plugins/google-calendar/)
- [openai/plugins · google-calendar plugin.json](https://github.com/openai/plugins/blob/main/plugins/google-calendar/.codex-plugin/plugin.json)
- [openai/plugins · google-calendar .mcp.json](https://github.com/openai/plugins/blob/main/plugins/google-calendar/.mcp.json)
