# mcp-twake-dav [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/linagora/mcp-twake-dav  
**GitHub Stars:** 2  
**npm Downloads (last month):** 1531  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-twake-dav

## Description
MCP server for Twake.ai Calendar and contacts: give any MCP-compatible AI assistant secure access to your sovereign CalDAV calendars and CardDAV address books

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-twake-dav": {
    "command": "npx",
    "args": ["-y","mcp-twake-dav"],
    "env": {
      "DAV_URL": "",
      "DAV_USERNAME": "",
      "DAV_PASSWORD": "",
      "DAV_AUTH_METHOD": "",
      "DAV_TOKEN": "",
      "DAV_TOKEN_COMMAND": "",
      "DAV_HREF_PREFIX": "",
      "DAV_RECURRING_WRITES": ""
    }
  }
}
```

**Requires environment variables:** `DAV_URL`, `DAV_USERNAME`, `DAV_PASSWORD`, `DAV_AUTH_METHOD`, `DAV_TOKEN`, `DAV_TOKEN_COMMAND`, `DAV_HREF_PREFIX`, `DAV_RECURRING_WRITES` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-twake-dav does

mcp-twake-dav exposes Twake Calendar and CardDAV address books to MCP-compatible AI assistants. It communicates with calendar and contact services using the CalDAV, CardDAV, and CalDAV scheduling standards. Twake Calendar is the primary target, while other SabreDAV-compatible services, including Nextcloud, SOGo, DAViCal, and ownCloud, are supported.

The server provides 20 tools for reading and changing calendar data, handling invitations, and managing contacts. Calendar features include agenda views, date-range queries, event search, availability checks, calendar listing, event creation and modification, event deletion, recurrence, and alarms. Contact features include searching, listing, viewing, creating, updating, and deleting contact cards.

## How it works

An MCP client invokes the server's tools, and the server makes authenticated requests to the configured CalDAV or CardDAV endpoint. Calendar reads support date-based pagination, with cursors and limits for larger result sets. Date ranges can span up to 92 days, and event results include a bounded attendee view with an option to request all attendees.

Write operations are subject to an explicit approval step through MCP elicitation. This applies to event and alarm changes, invitation responses, and contact changes. The server marks tools with MCP hints such as read-only and destructive-operation annotations, helping clients distinguish inspection from actions that modify data or notify other people.

Recurring events receive special handling, including recurrence expansion, single-occurrence edits and deletions, and a configuration option to disable recurring writes. Reads retry selected transient failures, while writes are not retried when the outcome is uncertain. HTTPS is required except for localhost connections.

## Setup and configuration

Node.js 20.3 or newer is required, along with a CalDAV/CardDAV service and an MCP client. The interactive setup command is:

```bash
npx mcp-twake-dav setup
```

The wizard collects the server URL and credentials, tests the connection, displays available calendars and address books, allows default selections, and can write Claude Desktop configuration. A global npm installation or a source checkout with `npm install`, `npm run build`, and `node build/index.js` is also supported.

Authentication can use Basic credentials, a Bearer token, an OpenPaaS ESNToken, or a command that returns a short-lived token. The token command may return a raw token or JSON containing `access_token` and `expires_at`; tokens are refreshed before calls. Set `DAV_HREF_PREFIX` when a reverse proxy publishes the service below a path prefix omitted from server responses. Organizer details for invitations can be supplied with `DAV_ORGANIZER_EMAIL` and `DAV_ORGANIZER_NAME`.

## Tools and capabilities

- Read today's schedule, the next event, events in a range, and matching events.
- Check availability and list calendars or address books.
- Create, update, and delete events, including attendee and recurrence data.
- Add or remove alarms and manage pending invitations.
- Respond to invitations and send event invitations through the configured organizer.
- Search, inspect, list, create, update, and delete contacts.
- Preserve event properties during updates through parse-modify-serialize handling.
- Use CTag-based caching, bounded retries, natural-language dates, and cancellation of in-flight requests.

## Limitations and notes

A calendar range is limited to 92 days, and paginated event operations default to 50 results with a maximum of 100. Reads that fail or time out are reported as errors rather than empty results; read requests time out after 30 seconds. Writes are never automatically retried, so an interrupted write may have an unknown outcome.

Deleting events or contacts and responding to invitations can affect other people or remove data. These operations, along with every other write, require explicit approval before execution. Recurring writes can be disabled with `DAV_RECURRING_WRITES=false` for more cautious deployments.

_Full upstream README: https://allmcps.com/mcp/mcp-twake-dav/readme_

