caldav-mcp
🗓️ A CalDAV Model Context Protocol (MCP) server to expose calendar operations as tools for AI assistants.
✨ Features
- Connect to CalDAV servers
- List calendars
- List calendar events within a specific timeframe
- Create calendar events
- Update calendar events
- Delete calendar events by UID
Setup
{
"mcpServers": {
...,
"calendar": {
"command": "npx",
"args": [
"caldav-mcp"
],
"env": {
"CALDAV_BASE_URL": "<CalDAV server URL>",
"CALDAV_USERNAME": "<CalDAV username>",
"CALDAV_PASSWORD": "<CalDAV password>"
}
}
}
}
Development
Quick Start
Run the MCP server in development mode with auto-reload:
npm run dev
This will run the TypeScript code directly with watch mode and automatically load environment variables from .env.
Manual Build
Alternatively, you can compile TypeScript to JavaScript and run it:
- Compile:
npx tsc
- Run:
node dist/index.js
Available Tools
create-event
Creates 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
list-events
Lists events within a specified timeframe.
Parameters:
start: DateTime string - Start of the timeframeend: DateTime string - End of the timeframecalendarUrl: String - URL of the calendar
Returns:
- A list of events that fall within the given timeframe, each containing:
uid: Unique identifier for the event (required for deletion)summary: Event title/summarystart: Event start timeend: Event end time
update-event
Updates an existing calendar event. Only provided fields are changed.
Parameters:
uid: String - Unique identifier of the event to update (obtained from list-events)calendarUrl: String - URL of the calendarsummary: String (optional) - New event title/summarystart: DateTime string (optional) - New event start timeend: DateTime string (optional) - New event end timedescription: String (optional) - New event descriptionlocation: String (optional) - New event locationrecurrenceRule: Object (optional) - New recurrence rule
Returns:
- The unique ID of the updated event
delete-event
Deletes an event from the calendar.
Parameters:
uid: String - Unique identifier of the event to delete (obtained from list-events)calendarUrl: String - URL of the calendar
Returns:
- Confirmation message when the event is successfully deleted
list-calendars
Lists all available calendars.
Parameters: none
Returns:
- List of all available calendars
License
MIT
Recommend MCP Servers 💡
project-mem-mcp
An MCP server for AI agents to store and retrieve project information persistently via a memory file.
mcp-server-milvus
An MCP server that provides access to Milvus vector database functionality for LLM applications, supporting both stdio and SSE modes.
prompt-character-mcp-server
漫画『キングダム』の王騎将軍の名台詞を取得するMCPサーバー
mcp-server-siri-shortcuts
Provides access to Siri Shortcuts functionality on macOS, allowing LLMs to list, open, and run shortcuts.
weibo-mcp-server
A Weibo hot search data acquisition server based on MCP, providing functions to fetch hot search list, details, and comments.
medadapt-content-server
A specialized Model Context Protocol (MCP) server for Claude Desktop that enhances AI-assisted medical learning by fetching and processing educational resources from PubMed, NCBI Bookshelf, and user-provided documents.