Skip to main content
Glama
caldav-todo-mcp
by dansimau

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address for HTTP (default 127.0.0.1; image default 0.0.0.0)127.0.0.1
MCP_PATHNoHTTP endpoint path (default /mcp)/mcp
MCP_PORTNoHTTP port (default 8000)8000
CALDAV_URLYesBase URL of the CalDAV server, e.g. https://cloud.example.com/remote.php/dav/
MCP_LOG_LEVELNoLog level (default INFO)INFO
MCP_STATELESSNoSet to true for stateless streamable HTTP mode (no server-side sessions)false
MCP_TRANSPORTNoTransport to use: stdio or http (default stdio; image default http)stdio
CALDAV_TIMEOUTNoHTTP timeout in seconds (default 30)30
MCP_AUTH_TOKENNoWhen set, /mcp requires Authorization: Bearer <token>; /health stays open
CALDAV_PASSWORDYesPassword or app-specific password
CALDAV_USERNAMEYesLogin name
CALDAV_SSL_VERIFYNoSet to false to accept self-signed certificates (default true)true
MCP_ALLOWED_HOSTSNoComma-separated Host allow-list (e.g. localhost:*,todo.lan); turns on DNS-rebinding protection
MCP_JSON_RESPONSENoSet to true for plain JSON responses instead of SSEfalse
CALDAV_DEFAULT_LISTNoList id or name used when a tool call omits list_id
CALDAV_ALLOW_INSECURE_HTTPNoSet 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 14 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.