caldav-todo-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for HTTP (default 127.0.0.1; image default 0.0.0.0) | 127.0.0.1 |
| MCP_PATH | No | HTTP endpoint path (default /mcp) | /mcp |
| MCP_PORT | No | HTTP port (default 8000) | 8000 |
| CALDAV_URL | Yes | Base URL of the CalDAV server, e.g. https://cloud.example.com/remote.php/dav/ | |
| MCP_LOG_LEVEL | No | Log level (default INFO) | INFO |
| MCP_STATELESS | No | Set to true for stateless streamable HTTP mode (no server-side sessions) | false |
| MCP_TRANSPORT | No | Transport to use: stdio or http (default stdio; image default http) | stdio |
| CALDAV_TIMEOUT | No | HTTP timeout in seconds (default 30) | 30 |
| MCP_AUTH_TOKEN | No | When set, /mcp requires Authorization: Bearer <token>; /health stays open | |
| CALDAV_PASSWORD | Yes | Password or app-specific password | |
| CALDAV_USERNAME | Yes | Login name | |
| CALDAV_SSL_VERIFY | No | Set to false to accept self-signed certificates (default true) | true |
| MCP_ALLOWED_HOSTS | No | Comma-separated Host allow-list (e.g. localhost:*,todo.lan); turns on DNS-rebinding protection | |
| MCP_JSON_RESPONSE | No | Set to true for plain JSON responses instead of SSE | false |
| CALDAV_DEFAULT_LIST | No | List id or name used when a tool call omits list_id | |
| CALDAV_ALLOW_INSECURE_HTTP | No | Set to true to allow plain http:// URLs (local servers only) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Manage TODO lists stored on a CalDAV server (Nextcloud Tasks, Radicale, iCloud Reminders, Fastmail, etc.). Lists are CalDAV collections; items are VTODOs.
Typical flow: call list_todo_lists once to learn the list ids, then use
list_todos / create_todo / update_todo / complete_todo. Omit list_id
when the server has a single TODO list or CALDAV_DEFAULT_LIST is configured.
Dates are ISO 8601: 2026-11-10 for all-day, 2026-11-10T17:00:00+01:00 for a
specific time. Priority follows RFC 5545: 1 is highest, 9 lowest, 0/omitted unset.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_todo_listsB | List the TODO lists (CalDAV collections) available on the server. |
| create_todo_listC | Create a new TODO list on the server. |
| delete_todo_listA | Delete a whole TODO list and every item in it. This cannot be undone. |
| list_todosB | List TODO items, open ones first, sorted by due date then priority. |
| get_todoC | Fetch one TODO item by UID. |
| create_todoC | Create a new TODO item. |
| update_todoB | Update fields of an existing TODO item. Omitted fields are left unchanged. |
| complete_todoC | Mark a TODO item as completed. |
| reopen_todoB | Mark a completed TODO item as needing action again. |
| delete_todoB | Delete a TODO item permanently. |
| move_todoC | Move a TODO item to another list. |
| sync_todosA | Push a batch of TODOs to the server: create unknown uids, update known ones. Use this to sync a local list to the remote server in one call. Returns the uids that were created, updated, unchanged and (with delete_missing) deleted. |
| export_todosB | Export a list as an iCalendar (.ics) document containing its VTODOs. |
| import_todosA | Import VTODOs from iCalendar text, creating or replacing items by UID. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Most tools have clearly distinct resource/action targets, especially list-level vs item-level operations. complete_todo and reopen_todo overlap with update_todo, and sync_todos overlaps somewhat with import_todos/create_todo/update_todo, but descriptions make intended use reasonably clear.
All tool names follow a consistent snake_case verb_noun pattern, such as list_todos, create_todo, delete_todo_list, and sync_todos. The naming is predictable throughout the set.
The 14 tools are well-scoped for a CalDAV TODO server, covering list management, item lifecycle, batch sync, and iCalendar import/export. Each tool appears to serve a distinct workflow rather than padding the surface.
Core CRUD and lifecycle operations are covered for TODO items, including completion, reopening, moving, syncing, and import/export. Minor gaps exist at the list level, such as no explicit rename/update_todo_list operation, but agents can work around this.