Back to MCP directory
publicPublicdnsLocal runtime

gCalendar-mcp

一个实现MCP协议的Google日历服务,支持AI助手管理日历事件

article

README

🚀 MCP 谷歌日历服务器

本项目是一个实现了模型上下文协议(MCP)的服务器,借助它,像Claude这样的AI助手能够轻松创建和管理谷歌日历活动,为日程管理带来极大便利。

🚀 快速开始

先决条件

  • Node.js v18或更高版本
  • 启用了Calendar API的谷歌云控制台项目
  • OAuth2凭证(客户端ID和客户端秘密)

设置

将以下内容粘贴到Claude的claude_desktop_config.json文件中:

{
   "mcpServers": {
     "zmes-calendar": {
       "command": "npx",
       "args": [
         "-y",
         "@tobedoit/google-calendar-mcp"
       ],
       "env": {
         "GOOGLE_CLIENT_ID": "你的谷歌客户端ID",
         "GOOGLE_CLIENT_SECRET": "你的谷歌客户端秘密",
         "GOOGLE_REFRESH_TOKEN": "你的谷歌刷新令牌"
       }
     }
   }
 }

✨ 主要特性

  • 事件创建:可创建带有标题、描述、开始/结束时间和提醒的事件。
  • 与会者添加:支持为事件添加与会者。
  • 身份验证:采用Google Calendar API的OAuth2身份验证,保障数据安全。
  • 协议实现:完整实现MCP协议。
  • 调试日志:提供调试日志记录,方便进行故障排除。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client