返回市场
谷歌日历-mcp

谷歌日历-mcp

作者:tobedoit3 星标更新:2025-11-20

项目介绍

MCP Google Calendar Server

npm license

这是一个实现了模型上下文协议(MCP)的服务器,使像Claude这样的AI助手能够创建和管理Google日历事件。

功能

  • 使用标题、描述、开始/结束时间以及提醒来创建日历事件
  • 支持添加事件参与者
  • 使用Google日历API进行OAuth2认证
  • 完整实现MCP协议
  • 调试日志用于故障排除

预备条件

  • Node.js v18或更高版本
  • 启用了日历API的Google Cloud Console项目
  • OAuth2凭证(客户端ID和客户端密钥)

设置

粘贴Claude "claude_desktop_config.json"

{
  "mcpServers": {
    "zmes-calendar": {
      "command": "npx",
      "args": [
        "-y",
        "@tobedoit/google-calendar-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "your_google_client_id",
        "GOOGLE_CLIENT_SECRET": "your_google_client_secret",
        "GOOGLE_REFRESH_TOKEN": "your_google_refresh_token"
      }
    }
  }
}