dav-mcp-server
DAV MCP Server is a Model Context Protocol server that enables users to interact securely with their CalDAV, CardDAV, and WebDAV services. It is compatible with Fastmail and Apple iCloud accounts, facilitating the management of calendars, contacts, and files through environment variable configuration.
DAV MCP Server
Access your calendars, contacts, and files via MCP!
Introduction
This project is a Model Context Protocol (MCP) server that allows you to interact with your CalDAV, CardDAV, and WebDAV services. It supports both Fastmail and Apple iCloud accounts, configured via environment variables.
Setup
- Ensure Node.js is installed.
- Clone the repository to your local machine.
- Install dependencies using npm.
Environment Variable Configuration
Set the following environment variables:
DAV_PROVIDER
: Specifies your DAV service provider.DAV_USERNAME
: Your Fastmail email or Apple ID.DAV_PASSWORD
: An app-specific password.
MCP Configuration
Configure it in your MCP configuration file as an mcpServer
.
Available Tools
- Calendar (CalDAV):
get_my_calendars
get_calendar_events
- Contacts (CardDAV):
get_my_contact_lists
get_contacts_from_list
- Files (WebDAV):
list_my_files_and_folders
get_file_or_folder_details
Usage
After setting up, use your MCP client to manage your calendars, contacts, and files.