日历集成应用

一个深色工业风格的应用,用于在Claude Desktop中直接显示Proton Calendar事件。

  • by Rixmerz
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 Rixmerz/proton-calendar-app-mcp

使用说明

质子日历MCP应用程序

一款深色工业主题的MCP应用程序,可直接在Claude Desktop中显示您的质子日历事件。

特征

  • 深色工业UI设计
  • 带事件指示器的月历视图
  • 即将发生的事件列表
  • 点击任何一天查看其活动
  • 从质子日历ICS提要读取事件

需求

  • Node.js v20+(建议使用v22)
  • 包子 (用于建筑)
  • 克劳德桌面 或兼容的MCP主机
  • 质子日历 具有共享日历链接的帐户

安装

# Clone the repository
git clone https://github.com/Rixmerz/proton-calendar-app-mcp.git
cd proton-calendar-app-mcp

# Install dependencies
npm install

# Build
npm run build

获取您的Proton日历URL

  1. 首选 质子日历
  2. 点击 设置 (齿轮图标)
  3. 首选 日历 → 选择您的日历
  4. 滚动到 通过链接分享
  5. 创建新链接(或复制现有链接)
  6. 复制 ICS网址 (看起来像 https://calendar.proton.me/api/calendar/v1/url/.../calendar.ics?...)

配置

将此添加到您的 claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json 窗户: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "proton-calendar": {
      "command": "/path/to/node",
      "args": [
        "/path/to/proton-calendar-app-mcp/dist/index.js",
        "--stdio"
      ],
      "env": {
        "CALENDAR_URL": "https://calendar.proton.me/api/calendar/v1/url/YOUR_CALENDAR_ID/calendar.ics?CacheKey=...&PassphraseKey=..."
      }
    }
  }
}

查找节点路径

# macOS/Linux
which node
# or if using nvm
nvm which 22

# Windows
where node

用法

配置后,重新启动Claude Desktop并说:

“打开我的日历”

或

“显示我即将举行的活动”

Claude将显示包含质子日历事件的日历UI。

安全说明

你的 CALENDAR_URL 包含访问令牌。保持你的 claude_desktop_config.json 私有,永远不要将其提交给版本控制。

许可证

麻省理工学院