D

Dav MCP

by PhilflowIO · io.github.PhilflowIO/dav-mcp

Turn any calendar, contact book, or task list into an AI-orchestrated system. Platform-independent via CalDAV/CardDAV works with Nextcloud, Baikal, Fastmail, and any standards-compliant DAV server. 26 tools with field-agnostic updates.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-philflowio-dav-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "<VALUE>",
        "CALDAV_USERNAME": "<VALUE>",
        "CALDAV_PASSWORD": "<YOUR_VALUE>",
        "CARDDAV_SERVER_URL": "<VALUE>",
        "CARDDAV_USERNAME": "<VALUE>",
        "CARDDAV_PASSWORD": "<YOUR_VALUE>",
        "AUTH_METHOD": "<VALUE>",
        "GOOGLE_SERVER_URL": "<VALUE>",
        "GOOGLE_USER": "<VALUE>",
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_VALUE>",
        "GOOGLE_TOKEN_URL": "<VALUE>",
        "BEARER_TOKEN": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
CALDAV_SERVER_URL Yes The URL of the CalDAV/CardDAV server
CALDAV_USERNAME Yes Your CalDAV/CardDAV username
CALDAV_PASSWORD secret Yes Your CalDAV/CardDAV password
CARDDAV_SERVER_URL No Separate CardDAV endpoint for contacts (e.g. https://carddav.fastmail.com/); optional, defaults to CALDAV_SERVER_URL. Not used with OAuth.
CARDDAV_USERNAME No Username for the CardDAV endpoint; optional, defaults to CALDAV_USERNAME
CARDDAV_PASSWORD secret No Password or app-specific password for the CardDAV endpoint; optional, defaults to CALDAV_PASSWORD
AUTH_METHOD No Authentication method, set to 'OAuth' for Google Calendar integration
GOOGLE_SERVER_URL No Google CalDAV endpoint; required when AUTH_METHOD=oauth2
GOOGLE_USER No Your Google email address for OAuth authentication
GOOGLE_CLIENT_ID No Your Google OAuth client ID
GOOGLE_CLIENT_SECRET secret No Your Google OAuth client secret
GOOGLE_REFRESH_TOKEN secret No Your Google OAuth refresh token
GOOGLE_TOKEN_URL No OAuth2 token endpoint for AUTH_METHOD=oauth2 (default: https://oauth2.googleapis.com/token)
BEARER_TOKEN No Bearer token for HTTP authentication (used when running in HTTP mode)

Similar servers