
madbonez/caldav-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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
Using uv (Recommended)
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.lockfile
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:
- Open Cursor Settings → Features → MCP Servers → + Add new global MCP server
- 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",
インストール
uvx mcp-caldav設定
{
"mcpServers": {
"mcp-caldav": {
"command": "uvx",
"args": ["mcp-caldav"],
"env": {
"CALDAV_URL": "https://caldav.example.com/",
"CALDAV_USERNAME": "your-username",
"CALDAV_PASSWORD": "your-password"
}
}
}
}