Radicale CalDAV MCP Server
Radicale CalDAV MCP Server
一个基于 FastMCP / 官方 MCP Python SDK 构建的 Model Context Protocol (MCP) 服务器,它将 LLM 代理(如 Nous Hermes、Claude、OpenAI)连接到自托管的 Radicale CalDAV 日历和任务管理器。
功能特性
📅 日历事件(VEVENT)
get_events:查询日期/时间范围内的事件,并可选择按 summary、description 和 location 进行关键词搜索。get_free_busy_slots:在任意 IANA 时区下,计算可配置工作时间内(例如 9:00 AM - 5:00 PM)开放且未占用的时间段。create_event:安排新事件,自动进行 ISO 校验、参会者邀请以及重叠/冲突检测。update_event:按 UID 修改现有事件,且不覆盖未变更的字段。delete_event:按 UID 删除事件。
📝 任务与待办事项(VTODO)
list_todos:按状态(NEEDS-ACTION、COMPLETED、IN-PROCESS、CANCELLED、ALL)获取待处理或已完成的任务。create_todo:创建带有截止日期、优先级(1-9)和描述的任务。complete_todo:将任务标记为已完成,并自动添加完成时间戳。
🚀 传输方式与部署
STDIO 传输:本地执行的默认传输方式(例如 Claude Desktop、本地代理)。
SSE (Server-Sent Events) 传输:通过 HTTP 进行远程、常驻部署(例如 Coolify、Docker)。
Related MCP server: calendar-mcp
配置
通过环境变量或 .env 文件配置服务器:
变量 | 默认值 | 说明 |
|
| Radicale 的基础 URL(例如 |
|
| CalDAV 用户名 |
|
| CalDAV 密码 |
|
| 目标日历 slug / 集合名称 |
|
| 默认 IANA 时区 |
|
| 传输协议: |
|
| SSE 模式的主机接口 |
|
| SSE 模式的端口号 |
本地快速开始
1. 安装
# Clone and enter directory
cd radicale-mcp-server
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt2. 配置环境
将 .env.example 复制为 .env 并设置你的凭据:
cp .env.example .env3. 本地运行
STDIO 模式(本地管道)
python server.py --stdioSSE 模式(HTTP 服务器)
python server.py --sse --host 0.0.0.0 --port 80004. 运行测试客户端
# Test via STDIO
python test_client.py --mode stdio
# Test via SSE (when server is running)
python test_client.py --mode sse --sse-url http://localhost:8000/sse5. 运行自动化测试
pytest -vCoolify 部署
在 Coolify 上零配置部署 MCP 服务器:
在 Coolify 中创建新服务:Docker Compose 或 Dockerfile。
将其指向此仓库,或直接粘贴
docker-compose.yml。在 Coolify UI 中设置以下环境变量:
RADICALE_BASE_URL=https://radicale.dubblu.appRADICALE_USERNAME=mvela581RADICALE_PASSWORD=your_passwordRADICALE_CALENDAR_SLUG=seuspeptidesDEFAULT_TIMEZONE=America/New_YorkMCP_TRANSPORT=sseMCP_PORT=8000
通过 Coolify 反向代理并使用你的域名(例如
https://mcp-calendar.yourdomain.com)暴露端口8000。你的 SSE 端点将可通过以下地址访问:
https://mcp-calendar.yourdomain.com/sse
LLM 代理集成(Nous Hill / Claude Desktop)
Claude Desktop 配置
将以下内容添加到你的 claude_desktop_config.json 中:
本地 STDIO:
{
"mcpServers": {
"radicale_calendar": {
"command": "/path/to/radicale-mcp-server/.venv/bin/python",
"args": ["/path/to/radicale-mcp-server/server.py", "--stdio"],
"env": {
"RADICALE_BASE_URL": "https://radicale.dubblu.app",
"RADICALE_USERNAME": "mvela581",
"RADICALE_PASSWORD": "your_password",
"RADICALE_CALENDAR_SLUG": "seuspeptides",
"DEFAULT_TIMEZONE": "America/New_York"
}
}
}
}远程 SSE(Coolify):
{
"mcpServers": {
"radicale_calendar": {
"url": "https://mcp-calendar.yourdomain.com/sse"
}
}
}Nous Hermes 代理集成
工具定义根据类型规范从 docstring 自动生成。示例提示词用法:
{
"name": "get_free_busy_slots",
"arguments": {
"start_date": "2026-08-26",
"end_date": "2026-08-28",
"slot_duration_minutes": 30,
"working_hours_start": 9,
"working_hours_end": 17,
"timezone": "America/New_York"
}
}许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceEnables interaction with any CalDAV-compatible calendar server (Yandex, Google, Nextcloud, iCloud, etc.) to list calendars, create/manage events with reminders and attendees, search events, and handle recurring events through natural language.13
- AlicenseNot gradedqualityFmaintenanceProvider-agnostic CalDAV calendar MCP server that connects any CalDAV calendar to AI assistants, enabling calendar operations like listing, creating, updating, and deleting events.AGPL 3.0
- FlicenseNot gradedqualityBmaintenanceEnables LLM clients to interact with Apple Calendar (iCloud) via CalDAV, supporting listing calendars, retrieving, creating, updating, and moving events.
- FlicenseNot gradedqualityBmaintenanceEnables interacting with CalDAV calendars (like iCloud) through natural language, supporting reading and writing events.1
Related MCP Connectors
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Connects ChatGPT to your Apple Calendar via a local Mac agent + Vercel relay
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mvelak/radicale-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server