dav
MCP server from jahfer/dav-mcp-server
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:
-
Clone the repository: git clone <repository-url> cd <repository-directory>
-
Install dependencies: npm install
-
(Optional) Link for local development or global usage: npm link
or install globally after publishing
npm install -g .
-
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
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.