Calendar operations via CalDAV protocol
## CalDAV MCP Server: Universal Calendar Protocol The **CalDAV MCP Server** integrates the open calendar protocol directly into Google Antigravity, enabling AI assistants to work with any CalDAV-compatible calendar service programmatically. This integration provides universal calendar access across platforms and services. ### Why CalDAV MCP? - **Universal Protocol**: Works with any CalDAV server including Google, iCloud, Fastmail, and self-hosted - **Open Standard**: Based on open standards ensuring long-term compatibility and portability - **Full CRUD Operations**: Create, read, update, and delete events and calendars - **Recurring Events**: Full support for complex recurrence rules and exceptions - **Attendee Management**: Handle invitations, RSVPs, and shared calendar permissions ### Key Features #### 1. Event Operations ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a recurring weekly team meeting every Monday at 9am on our shared calendar" }], tools=[{ "name": "caldav_events", "description": "Manage calendar events" }] ) ``` #### 2. Calendar Queries ```python # Query calendar data response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Get all events for this week from my work and personal calendars" }], tools=[{"name": "caldav_query", "description": "Query calendars"}] ) ``` #### 3. Free/Busy Lookup ```python # Check availability response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Find available time slots next week for a 2-hour meeting with these attendees" }], tools=[{"name": "caldav_freebusy", "description": "Check availability"}] ) ``` #### 4. Calendar Sync ```python # Sync operations response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Sync changes from the server and get all modified events since last check" }], tools=[{"name": "caldav_sync", "description": "Sync calendars"}] ) ``` ### Configuration ```json { "mcpServers": { "caldav": { "command": "npx", "args": ["-y", "@anthropic/mcp-caldav"], "env": { "CALDAV_URL": "https://caldav.example.com/", "CALDAV_USERNAME": "your-username", "CALDAV_PASSWORD": "your-password" } } } } ``` ### Use Cases **Multi-Platform Sync**: Build tools that work across different calendar services seamlessly. **Self-Hosted Calendars**: Integrate with self-hosted CalDAV servers like Nextcloud or Radicale. **Booking Systems**: Create appointment booking systems using CalDAV as the backend. **Calendar Migration**: Build tools to migrate events between different calendar systems. The CalDAV MCP Server brings universal calendar access directly into your development workflow, enabling cross-platform scheduling integration.
{
"mcpServers": {
"caldav": {
"mcpServers": {
"caldav": {
"env": {
"CALDAV_URL": "YOUR_CALDAV_URL",
"CALDAV_PASSWORD": "password",
"CALDAV_USERNAME": "user"
},
"args": [
"-y",
"caldav-mcp"
],
"command": "npx"
}
}
}
}
}