MC

madbonez/caldav-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

15 stars 12 forks Качество 60 Тренд 21

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV), Nextcloud, ownCloud, Apple iCloud, and...

Обзор

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV), Nextcloud, ownCloud, Apple iCloud, and others. 📖 : See QUICKSTART.md for a quick guide to get started with uv. 🔧 : See CURSOR_SETUP.md for detailed Cursor IDE configuration instructions. - List available calendars - Create calendar events with reminders and attendees - Get events for today, week, or custom date range - Works with any CalDAV-compatible server (Yandex, Google, Nextcloud, ownCloud, iCloud, etc.) First, install uv if you haven't already: - Create a virtual environment (.venv) - Install all dependencies including dev dependencies - Generate a uv.lock file You can also run the server directly without installing it: Set the following environment variables: - : https://caldav.yandex.ru/ - : https://apidata.googleusercontent.com/caldav/v2/ (requires OAuth setup) - : https://your-domain.com/remote.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP CalDAV Server

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV), Nextcloud, ownCloud, Apple iCloud, and others.

📖 Quick Start: See QUICKSTART.md for a quick guide to get started with uv. 🔧 Cursor Setup: See CURSOR_SETUP.md for detailed Cursor IDE configuration instructions.

Features

  • List available calendars
  • Create calendar events with reminders and attendees
  • Get events for today, week, or custom date range
  • Works with any CalDAV-compatible server (Yandex, Google, Nextcloud, ownCloud, iCloud, etc.)

Installation

First, install uv if you haven’t already:

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Then install the project:

uv sync --dev

This will:

  • Create a virtual environment (.venv)
  • Install all dependencies including dev dependencies
  • Generate a uv.lock file

Using uvx (Run without installation)

You can also run the server directly without installing it:

uvx mcp-caldav

Using pip

pip install -e .

Configuration

Set the following environment variables:

export CALDAV_URL="https://caldav.example.com/"
export CALDAV_USERNAME="your-username"
export CALDAV_PASSWORD="your-password"

CalDAV Server URLs

Common CalDAV server URLs:

  • Yandex Calendar: https://caldav.yandex.ru/
  • Google Calendar: https://apidata.googleusercontent.com/caldav/v2/ (requires OAuth setup)
  • Nextcloud: https://your-domain.com/remote.php/dav/calendars/username/
  • ownCloud: https://your-domain.com/remote.php/dav/calendars/username/
  • Apple iCloud: https://caldav.icloud.com/ (requires app-specific password)
  • FastMail: https://caldav.fastmail.com/dav/calendars/user/

Note: Some servers require app-specific passwords instead of regular passwords. Check your calendar provider’s documentation for CalDAV setup instructions.

Usage

IDE Integration (Cursor)

To use this MCP server in Cursor:

  1. Open Cursor Settings → Features → MCP Servers → + Add new global MCP server
  2. Add the following configuration:

Using uvx (Recommended - no installation needed):

{
  "mcpServers": {
    "mcp-caldav": {
      "command": "uvx",
      "args": ["mcp-caldav"],
      "env": {
        "CALDAV_URL": "https://caldav.example.com/",
        "CALDAV_USERNAME": "your-username",
        "CALDAV_PASSWORD": "your-password"
      }
    }
  }
}

Using local installation (after uv sync or pip install):

{
  "mcpServers": {
    "mcp-caldav": {
      "command": "mcp-caldav",
      "env": {
        "CALDAV_URL": "https://caldav.example.com/",
        "CALDAV_USERNAME": "your-username",
Открыть полный README на GitHub

Установка

uvx mcp-caldav
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "mcp-caldav": { "command": "uvx", "args": ["mcp-caldav"], "env": { "CALDAV_URL": "https://caldav.example.com/", "CALDAV_USERNAME": "your-username", "CALDAV_PASSWORD": "your-password" } } } }