CalDAV MCP Server

v0.2.0
io.github.lukegskw/caldav-mcp Checked 11 hours ago Published 1 month ago

A TypeScript MCP server for iCloud Calendar with native multi-VALARM support.

Values you need

VariableWhat it is
CALDAV_USERNAMErequired Your CalDAV username
CALDAV_PASSWORDrequired secret Your CalDAV password or app-specific password

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add caldav-mcp -e 'CALDAV_PASSWORD=<CALDAV_PASSWORD>' -e 'CALDAV_USERNAME=<CALDAV_USERNAME>' -- npx -y @lukegskw/caldav-mcp@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "caldav-mcp": {
      "args": [
        "-y",
        "@lukegskw/caldav-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "caldav-mcp": {
      "args": [
        "-y",
        "@lukegskw/caldav-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CALDAV_PASSWORD",
      "id": "caldav-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CALDAV_USERNAME",
      "id": "caldav-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "caldav-mcp": {
      "args": [
        "-y",
        "@lukegskw/caldav-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "CALDAV_PASSWORD": "${input:caldav-password}",
        "CALDAV_USERNAME": "${input:caldav-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.caldav-mcp]
command = "npx"
args = ["-y", "@lukegskw/caldav-mcp@0.2.0"]
env = { "CALDAV_PASSWORD" = "<CALDAV_PASSWORD>", "CALDAV_USERNAME" = "<CALDAV_USERNAME>" }

Docker

Requires Docker

Run in a terminal
claude mcp add caldav-mcp -e 'CALDAV_PASSWORD=<CALDAV_PASSWORD>' -e 'CALDAV_USERNAME=<CALDAV_USERNAME>' -- docker run -i --rm -e CALDAV_PASSWORD -e CALDAV_USERNAME ghcr.io/lukegskw/caldav-mcp:0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "caldav-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CALDAV_PASSWORD",
        "-e",
        "CALDAV_USERNAME",
        "ghcr.io/lukegskw/caldav-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "caldav-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CALDAV_PASSWORD",
        "-e",
        "CALDAV_USERNAME",
        "ghcr.io/lukegskw/caldav-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "CALDAV_PASSWORD": "<CALDAV_PASSWORD>",
        "CALDAV_USERNAME": "<CALDAV_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CALDAV_PASSWORD",
      "id": "caldav-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CALDAV_USERNAME",
      "id": "caldav-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "caldav-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CALDAV_PASSWORD",
        "-e",
        "CALDAV_USERNAME",
        "ghcr.io/lukegskw/caldav-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "CALDAV_PASSWORD": "${input:caldav-password}",
        "CALDAV_USERNAME": "${input:caldav-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.caldav-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "CALDAV_PASSWORD", "-e", "CALDAV_USERNAME", "ghcr.io/lukegskw/caldav-mcp:0.2.0"]
env = { "CALDAV_PASSWORD" = "<CALDAV_PASSWORD>", "CALDAV_USERNAME" = "<CALDAV_USERNAME>" }

For AI agents

  1. Ask the user for: CALDAV_USERNAME, CALDAV_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_calendars, list_events, get_event, create_event, update_event, delete_event.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json