Skip to content
VS Code

dav mcp for VS Code

io.github.philflowio/dav-mcp

AI-orchestrated calendars, contacts & tasks across any DAV platform. 27 tools, field-agnostic.

client:VS Code transport:stdio runtime:npm

Install dav mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "caldav-server-url",
      "description": "CALDAV_SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "caldav-username",
      "description": "CALDAV_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "caldav-password",
      "description": "CALDAV_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "auth-method",
      "description": "AUTH_METHOD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-server-url",
      "description": "GOOGLE_SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-user",
      "description": "GOOGLE_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-id",
      "description": "GOOGLE_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-secret",
      "description": "GOOGLE_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-refresh-token",
      "description": "GOOGLE_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-token-url",
      "description": "GOOGLE_TOKEN_URL",
      "password": true
    }
  ],
  "servers": {
    "dav-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dav-mcp"
      ],
      "env": {
        "CALDAV_SERVER_URL": "${input:caldav-server-url}",
        "CALDAV_USERNAME": "${input:caldav-username}",
        "CALDAV_PASSWORD": "${input:caldav-password}",
        "AUTH_METHOD": "${input:auth-method}",
        "GOOGLE_SERVER_URL": "${input:google-server-url}",
        "GOOGLE_USER": "${input:google-user}",
        "GOOGLE_CLIENT_ID": "${input:google-client-id}",
        "GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
        "GOOGLE_REFRESH_TOKEN": "${input:google-refresh-token}",
        "GOOGLE_TOKEN_URL": "${input:google-token-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

dav mcp in other clients