MCP 日历服务器
一个使用 Server-Sent Events 将 Google Calendar 与 n8n 集成的 MCP 服务器。
快速入门
前置条件
- 安装 Node.js 18+
- 启用 Google Cloud Console 的 Google Calendar API
- 准备 Easypanel 或其他 Docker 环境
- 安装 n8n 并启用
n8n-nodes-mcp
插件
Google Cloud 设置
- 创建项目并启用 Google Calendar API。
- 创建 OAuth 2.0 客户端 ID:
- 添加回调 URI(如
https://your-url/auth/callback
)。 - 复制
Client ID
和Client Secret
。
- 添加回调 URI(如
部署到 Easypanel
- 克隆仓库:
git clone https://github.com/2BX-git/mcp-calendar-server.git cd mcp-calendar-server
- 配置环境变量: BASE_URL=https://your-url GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=your-client-secret PORT=3001
- 使用 Dockerfile 部署服务并点击 "Deploy"。