日历 MCP 服务器
用于在 Claude Desktop 中集成 Google 日历的模型上下文协议 (MCP) 服务器。该服务器使 AI 助手能够通过自然语言交互来管理 Google 日历事件。
特征
创建带有标题、时间、描述和位置的日历事件
通过事件 ID 检索事件详细信息
更新现有事件(标题、时间、描述、地点)
删除事件
列出指定时间范围内的事件
与 Google 日历 API 完全集成
安全 OAuth2 身份验证
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Google 日历集成:
手动安装
设置
创建 Google Cloud 项目并获取凭据:
a.创建 Google Cloud 项目:
创建新项目或选择现有项目
为您的项目启用 Google 日历 API
b.创建 OAuth 2.0 凭证:
前往“API 和服务”>“凭证”
点击“创建凭证”>“OAuth 客户端 ID”
选择“桌面应用”作为应用程序类型
命名并点击“创建”
您将获得您的
GOOGLE_CLIENT_ID
和GOOGLE_CLIENT_SECRET
c.获取刷新令牌:
点击右上角的齿轮图标(设置)
勾选“使用您自己的 OAuth 凭证”
输入您的 OAuth 客户端 ID 和客户端密钥
在左侧面板中,找到“Calendar API v3”并选择“ https://www.googleapis.com/auth/calendar ”
点击“授权 API”并完成 OAuth 流程
点击“将授权码兑换为令牌”
复制“刷新令牌” - 这是您的
GOOGLE_REFRESH_TOKEN
在 Claude Desktop 中配置:
使用示例
该服务器提供了几个可以通过 Claude Desktop 使用的工具:
创建活动
列出事件
更新事件
删除事件
安全说明
确保您的 Google API 凭据安全
定期轮换刷新令牌
在 Claude Desktop 配置中存储敏感信息
切勿共享或提交您的凭据以进行版本控制
刷新令牌可让您访问 Google 日历,请将其视为密码
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
执照
该项目已获得 ISC 许可。
作者
共济者
支持
如果您遇到任何问题或有疑问,请在 GitHub 存储库上提交问题。
Related MCP Servers
- -securityAlicense-qualityServer 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 -912MIT License
- -securityFlicense-qualityAllows interaction with Google Calendar through Claude Desktop using the Model Context Protocol, enabling calendar event management and schedule analysis.Last updated -2
- -securityAlicense-qualityIntegrates Google Calendar with AI assistants through the Model Context Protocol, allowing users to view and manage calendar events through natural language interaction.Last updated -2712MIT License
- -securityAlicense-qualityEnables AI assistants to manage Google Calendar through natural language interactions with features like creating, updating, and deleting events, searching calendars, and supporting natural language date/time inputs.Last updated -22MIT License