🗓️ A CalDAV Model Context Protocol (MCP) server to expose calendar operations as tools for AI assistants.
- Connect to CalDAV servers
- List calendars
- List calendar events within a specific timeframe
- Create calendar events
- Delete calendar events
{
"mcpServers": {
...,
"calendar": {
"command": "npx",
"args": [
"caldav-mcp"
],
"env": {
"CALDAV_BASE_URL": "<CalDAV server URL>",
"CALDAV_USERNAME": "<CalDAV username>",
"CALDAV_PASSWORD": "<CalDAV password>"
}
}
}
}
- Compile TypeScript to JavaScript:
npx tsc- Run the MCP server:
node dist/index.jsCreates a new calendar event.
Parameters:
summary: String - Event title/summarystart: DateTime string - Event start timeend: DateTime string - Event end time
Returns:
- The unique ID of the created event
Lists events within a specified timeframe.
Parameters:
start: DateTime string - Start of the timeframeend: DateTime string - End of the timeframe
Returns:
- A list of event summaries that fall within the given timeframe
Lists all available calendars.
Parameters: none
Returns:
- List of all available calendars
Deletes an event in the calendar specified by its URL
Parameters:
uid: string - The UID of the calendar event to deletecalendarUrl: string - the URL of the calendar event to delete
MIT