DAV MCP Server
DAV MCP サーバー
MCP 経由でカレンダー、連絡先、ファイルにアクセスしましょう。
導入
このプロジェクトは、CalDAV、CardDAV、WebDAVサービスとの連携を可能にするモデルコンテキストプロトコル(MCP)サーバーです。環境変数で設定されたFastmailとApple iCloudアカウントの両方をサポートします。
Related MCP server: iCloud CalDAV MCP Connector
設定
前提条件: Node.js がインストールされていることを確認してください。
リポジトリのクローンを作成する: このリポジトリをローカル マシンにクローンします。
依存関係をインストールします。プロジェクト ディレクトリに移動して、次を実行します。
npm installこれをグローバル コマンドとして公開または使用する場合、インストール後に
npm linkを実行するか、npm install -g .でグローバルにインストールすることもできます (必要に応じて、package.jsonグローバル インストール用に構成した後)。
環境変数の設定
DAV サービスに接続するには、アプリケーションの実行時に次の環境変数を設定する必要があります。
DAV_PROVIDER: DAVサービスプロバイダを指定します。fastmailまたはicloud(大文字と小文字は区別されませんfastmailに設定してください。DAV_USERNAME: サービスで使用するユーザー名 (例: Fastmail のメールアドレスや Apple ID)。DAV_PASSWORD: サービス用のアプリ固有のパスワード。セキュリティのため、アプリ固有のパスワードの使用を強くお勧めします。
MCP構成
このサーバーを使用するには、MCP設定ファイルでmcpServerとして設定する必要があります。以下に例を示します。
{
"mcpServers": {
"myDavServices": {
// You can name this anything you like
"command": "npx", // Or simply "node" if it's in your PATH
"args": ["-y", "@jahfer/dav-mcp-server"], // Path to the main script
"env": {
"DAV_PROVIDER": "icloud", // or "fastmail"
"DAV_USERNAME": "your-username",
"DAV_PASSWORD": "your-app-specific-password"
}
}
}
}利用可能なツール
構成が完了すると、この MCP サーバーは次のツールを提供します。
カレンダー(CalDAV)
get_my_calendars: 利用可能なすべてのカレンダーを一覧表示します。get_calendar_events: 指定されたカレンダーからイベントを取得します。オプションで開始日時と終了日時を指定して、特定の範囲内のイベントを絞り込むこともできます。
連絡先(CardDAV)
get_my_contact_lists: すべての連絡先アドレス帳を一覧表示します。get_contacts_from_list: 指定されたアドレス帳から連絡先を取得します。
ファイル(WebDAV - 主にFastmail用)
list_my_files_and_folders: WebDAV ストレージ内の指定されたパス (デフォルトはルート) 内のファイルとフォルダーを一覧表示します。get_file_or_folder_details: 指定されたファイルまたはフォルダーの URL のメタデータを取得します。
使用法
構成で MCP サーバーをセットアップした後、MCP クライアント内でサーバー定義と対話するコマンドまたは機能を使用して、カレンダー、連絡先、およびファイルを管理できます。
Available Tools
6 toolsget_calendar_eventsD
Inputs: calendarUrl (required), timeRangeEnd, timeRangeStart.
get_contacts_from_listD
Inputs: addressBookUrl (required).
get_file_or_folder_detailsD
Inputs: fileUrl (required).
get_my_calendarsD
Inputs: no named parameters.
get_my_contact_listsD
Inputs: no named parameters.
list_my_files_and_foldersD
Inputs: path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose targeting different resources: calendar events, contacts, files/folders, calendars, contact lists, and file listings. There is no overlap in functionality, making it easy for an agent to select the correct tool.
All tool names follow a consistent verb_noun pattern with 'get_' or 'list_' prefixes, using snake_case throughout. This predictability enhances readability and usability for agents.
Six tools is reasonable for a DAV server covering calendars, contacts, and files, but it feels slightly thin as it lacks update/delete operations. The count is appropriate for basic read-only access, though not fully comprehensive.
The toolset is severely incomplete for a DAV server, covering only read operations (get/list) with no create, update, or delete tools. This will cause agent failures when full CRUD functionality is needed, as the surface lacks essential lifecycle coverage.
Maintenance
Related MCP Connectors
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol (MCP) server that provides access to the Fastmail API, enabling AI assistants to interact with email, contacts, and calendar data.38MIT
- AlicenseNot gradedqualityCmaintenanceAn HTTP Model Context Protocol (MCP) server exposing iCloud Calendar (CalDAV) tools so MCP-aware clients can list calendars, read events, and create/update/delete events using an iCloud app-specific password.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Apple Calendar, Mail, Reminders, and Files on macOS using native frameworks.40 npm22MIT
- AlicenseNot gradedqualityCmaintenanceUnified MCP server for Fastmail email (JMAP), calendar (CalDAV), and contacts (CardDAV). Enables sending emails, managing events, and syncing contacts through natural language.MIT