Get the FREE Ultimate OpenClaw Setup Guide →

dav

MCP server from jahfer/dav-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio jahfer-dav-mcp-server npx -y @jahfer/dav-mcp-server \
  --env DAV_PASSWORD="your-app-specific-password" \
  --env DAV_PROVIDER="icloud or fastmail" \
  --env DAV_USERNAME="your-username"

How to use

This MCP server exposes CalDAV calendars, CardDAV contacts, and WebDAV files through the MCP framework. Specifically, it connects to your DAV services (Fastmail or iCloud) and provides tools to manage calendars, contact lists, and files via MCP-compatible clients. After configuring the server in your MCP configuration, you can invoke the server’s tools to list calendars, fetch events, access contact address books, and view or retrieve files from your WebDAV storage. The available tools are organized by domain: Calendars (CalDAV), Contacts (CardDAV), and Files (WebDAV). Each tool corresponds to a specific MCP command that you can call from your MCP client, enabling you to interact with your DAV data without directly logging into the DAV service.

How to install

Prerequisites:

  • Node.js and npm installed on your machine

Installation steps:

  1. Clone the repository: git clone <repository-url> cd <repository-directory>

  2. Install dependencies: npm install

  3. (Optional) Link for local development or global usage: npm link

    or install globally after publishing

    npm install -g .

  4. Run the server in your MCP configuration as shown in the mcp_config example (see below).

Note: This server expects environment variables to connect to your DAV services, which should be provided in your MCP configuration (or in a separate environment management step when launching the server).

Additional notes

Tips and common considerations:

  • Ensure you set DAV_PROVIDER, DAV_USERNAME, and DAV_PASSWORD with appropriate credentials. App-specific passwords are recommended for security.
  • If you plan to run this as a global command via npm link or npm install -g, ensure the package.json is configured for global usage.
  • When configuring your MCP, you can adjust the provider (icloud or fastmail) and credentials per environment. Consider using a secure secret store or environment management tool for production deployments.
  • The server supports CalDAV for calendars, CardDAV for contacts, and WebDAV for files; not all providers may support every feature equally, so verify provider capabilities in your client or logs.
  • If you encounter connectivity issues, double-check network access, firewall rules, and that the credentials are active and have the necessary permissions.

Related MCP Servers

Sponsor this space

Reach thousands of developers