Listed from the MCP registry; nobody on Odel publishes it.
AI-orchestrated calendars, contacts & tasks across any DAV platform. 27 tools, field-agnostic.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y dav-mcp
MCP client config
{
"mcpServers": {
"dav": {
"command": "npx",
"args": [
"-y",
"dav-mcp"
]
}
}
}Give your AI agents the power of organization — Transform them into orchestrating assistants managing calendars, contacts, and tasks.
Built on 27 production-ready tools spanning CalDAV, CardDAV, and VTODO protocols.
In Claude Code, run:
/plugin install dav-mcp --marketplace PhilflowIO/dav-mcp
Claude Code then asks for your server URL, username and password. The plugin also brings a skill that teaches Claude to use the tools well. Details are in the plugin README.
dav-mcp-<version>.mcpb from the latest release. Releases from 4.1.2 on carry this file.Basic unless your server needs Digest.The .mcpb file is an MCP Bundle: the server with its dependencies, so neither Node.js nor npx needs to be installed.
Add to your MCP config file:
{
"mcpServers": {
"dav-mcp": {
"command": "npx",
"args": ["-y", "dav-mcp"],
"env": {
"CALDAV_SERVER_URL": "https://dav.example.com",
"CALDAV_USERNAME": "your_username",
"CALDAV_PASSWORD": "your_password"
}
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonRestart Claude Desktop after adding the configuration.
Start the HTTP server:
CALDAV_SERVER_URL=https://dav.example.com \
CALDAV_USERNAME=your_username \
CALDAV_PASSWORD=your_password \
BEARER_TOKEN=$(openssl rand -hex 32) \
npx dav-mcp --http
BEARER_TOKEN is required and must be at least 32 characters; the server
refuses to start with a shorter one or with the example value from
.env.example. Keep the generated value, n8n needs it.
Then in n8n:
http://localhost:3000/mcpBEARER_TOKEN valueCustom port:
npx dav-mcp --http --port=8080
Listen address: the server listens on every interface unless HOST (or
--host=) names one. When n8n runs on the same machine, keep it off the
network:
npx dav-mcp --http --host=127.0.0.1
HOST takes an IP address or localhost; the address in use is logged at
startup.
Pull the published image (distroless, runs as non-root, no shell):
docker run -d --name dav-mcp -p 3000:3000 --env-file .env \
ghcr.io/philflowio/dav-mcp:latest
Tags: latest, the exact release (5.1.0) and the minor line (5.1).
Set PORT to serve on a different port; the healthcheck follows it. Leave
HOST unset in the container: the port mapping needs the server on every
interface of the container.
Or build from source:
git clone https://github.com/PhilflowIO/dav-mcp.git
cd dav-mcp
cp .env.example .env
# Edit .env with your credentials and a BEARER_TOKEN from `openssl rand -hex 32`
docker-compose up
When partial tools force your AI to improvise, complete tools let it execute precise operations across all components.
| Capability | dav-mcp | Most MCPs |
|---|---|---|
| Calendar Management | Full CRUD (12 tools) | Create + list only (2-3 tools) |
| Contact Management | Complete CardDAV (8 tools) | Often missing entirely |
| Task Management | Full VTODO support (7 tools) | Rarely included |
| Field-Based Updates | All RFC properties + custom fields | Rarely available |
| Free/Busy | Works on every server (client-side) | Native REPORT, unsupported by most |
| Server-Side Filtering | Efficient queries | Dumps all data |
| Multi-Provider | Any CalDAV/CardDAV server | Limited provider support |
| Total Tools | 27 tools | 2-6 tools |
Europe/Berlin, sent as a VTIMEZONE)An event or todo written without a time zone (a "floating" time such as
DTSTART:20261010T090000, or an all-day date) is read in its calendar's time
zone, as CalDAV specifies (RFC 4791 §9.9): the zone set with make_calendar /
update_calendar, which list_calendars shows. A calendar without one is read
in the zone dav-mcp runs in: the TZ environment variable (for example
TZ=Europe/Berlin in Docker or an HTTP deployment), else the system's. A time
without a zone given to the create and update tools is read the same way, and
an event stored without a zone stays without one when it is moved.
freebusy_query prints its slots in the calendar's zone and names it.
Works with any CalDAV/CardDAV server that follows RFC 4791 and RFC 6352:
AUTH_METHOD selects how dav-mcp logs in (case-insensitive):
AUTH_METHOD | Credentials | Use for |
|---|---|---|
Basic (default) | CALDAV_USERNAME, CALDAV_PASSWORD | Almost every server. If the server only offers Digest (for example Baikal set to Digest), dav-mcp switches to Digest by itself — no setting needed. |
Digest | CALDAV_USERNAME, CALDAV_PASSWORD | Servers that only accept Digest (RFC 7616). Unlike the automatic switch under Basic, which first sends the password once Basic-encoded and is then rejected, Digest never sends the password — use it when the connection is not HTTPS. |
OAuth (or OAuth2) | GOOGLE_*, see below | Google Calendar |
dav-mcp needs Node.js 22 or newer. A wrong configuration — an unknown
AUTH_METHOD value, or missing credentials for the chosen method — stops the
server at startup instead of falling back to Basic.
Some providers serve calendars and contacts on two different hosts: Fastmail,
for example, uses https://caldav.fastmail.com/dav/ and
https://carddav.fastmail.com/. Point dav-mcp at both with the optional
CARDDAV_* variables:
CALDAV_SERVER_URL=https://caldav.fastmail.com/dav/
CALDAV_USERNAME=your_username
CALDAV_PASSWORD=your_app_password
CARDDAV_SERVER_URL=https://carddav.fastmail.com/
Each of CARDDAV_SERVER_URL, CARDDAV_USERNAME and CARDDAV_PASSWORD falls
back to its CALDAV_* counterpart when unset or empty, so you only set the
variables that differ (often the URL alone). The variables apply to Basic and
Digest authentication only: OAuth has a single Google server and ignores them.
One fallback is refused: with an https CALDAV_SERVER_URL and a plain http
CARDDAV_SERVER_URL, CARDDAV_PASSWORD must be set, because the calendar
password would otherwise go over plain http. dav-mcp then stops at startup and
says so.
Each login stays on its own endpoint: a redirect from one configured endpoint onto the other's is refused, and the login fails. The hosts a configured server redirects its own login to (iCloud's per-account hosts, a proxy in front of the DAV server) are trusted as that server names them, just as with a single server.
As soon as one CARDDAV_* variable is set, both endpoints are required: if
either login fails (refused, unreachable, or the URL serves no calendars or no
contacts), startup fails with an error naming the half and the endpoint that
failed. Without any CARDDAV_* variable, a server that serves only calendars
or only contacts at CALDAV_SERVER_URL (iCloud, for one) still starts, and the
tools of the other half answer that it is not available there.
For Google Calendar, use OAuth2 authentication:
{
"mcpServers": {
"dav-mcp": {
"command": "npx",
"args": ["-y", "dav-mcp"],
"env": {
"AUTH_METHOD": "OAuth",
"GOOGLE_USER": "your@gmail.com",
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}
TRUST_PROXY to the proxy's address (TRUST_PROXY=172.18.0.2 for a proxy container on a compose network, docker network inspect <network> shows it; comma-separated for several) and the client address is taken from that proxy's X-Forwarded-For. CIDR ranges and Express's names loopback, linklocal and uniquelocal are accepted, but trust every peer in the range, and a peer counted as a proxy never gets the raised limit: with uniquelocal, n8n and every other container on the compose network get 100, and with loopback so does every client on the same host. List only the proxy's own address so other local clients keep the raised limit. Ranges wider than /8 (IPv4) or /32 (IPv6) are refused, and an IPv6 range covering IPv4-mapped addresses counts as the IPv4 range it trusts (::ffff:0.0.0.0/96 is all of IPv4). TRUST_PROXY=true and hop counts (TRUST_PROXY=1) are refused: a hop count trusts whatever connects to the port, so a client that reaches it directly instead of through the proxy could pick its own address. Without TRUST_PROXY, X-Forwarded-For is ignored, and a request that carries it or Forwarded gets the standard limit even from a private address — that address is a proxy's, not the client's — so all clients behind an unconfigured proxy share one counter of 100. With TRUST_PROXY set, a request whose address is itself a trusted proxy — the proxy sent no X-Forwarded-For, or only Forwarded, which is not read — gets the standard limit too, since the client behind it is unknown. The one gap is a proxy that sends neither header while TRUST_PROXY is unset: dav-mcp cannot tell it from a local client, so it and everyone behind it get the raised limit. Set TRUST_PROXY for every proxy in front of dav-mcp, or rate-limit per client at the proxy.BEARER_TOKEN of at least 32 charactersLOG_TOOL_CALLS=true records every tool call with its arguments, for debugging — to ~/.local/state/dav-mcp/tool-calls.jsonl (or $XDG_STATE_HOME, %LOCALAPPDATA% on Windows, or TOOL_CALL_LOG_FILE), readable by you only. TOOL_CALL_LOG_MODE=console sends it to stderr instead.dav-mcp runs on your machine (or your own server) and talks only to the DAV server you configure. It has no telemetry and shares nothing with its maintainers or third parties. Tool results go to the AI assistant that called the tool. Credentials and calendar data are not stored by dav-mcp; the optional tool-call log is off by default. Full policy: PRIVACY.md. Contact: hello@philflow.io.
Pull requests are welcome! Please read CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details
Built with:
Questions? Issues? Create a GitHub issue
Built for AI agents managing calendars, contacts, and tasks