+
Skip to content

A CalDAV client using Model Context Protocol (MCP) to expose calendar operations as tools for AI assistants.

License

Notifications You must be signed in to change notification settings

dominik1001/caldav-mcp

Repository files navigation

caldav-mcp

🗓️ A CalDAV Model Context Protocol (MCP) server to expose calendar operations as tools for AI assistants.

MIT License code style: prettier MCP Compatible semantic-release: angular

✨ Features

  • Connect to CalDAV servers
  • Create calendar events
  • List calendar events within a specific timeframe

Setup

{
  "mcpServers": {
    ...,
    "calendar": {
      "command": "npx",
      "args": [
        "caldav-mcp"
      ],
      "env": {
        "CALDAV_BASE_URL": "<CalDAV server URL>",
        "CALDAV_USERNAME": "<CalDAV username>",
        "CALDAV_PASSWORD": "<CalDAV password>"
      }
    }
  }
}

Usage

  1. Compile TypeScript to JavaScript:
npx tsc
  1. Run the MCP server:
node index.js

Available Tools

create-event

Creates a new calendar event.

Parameters:

  • summary: String - Event title/summary
  • start: DateTime string - Event start time
  • end: DateTime string - Event end time

Returns:

  • The unique ID of the created event

list-events

Lists events within a specified timeframe.

Parameters:

  • start: DateTime string - Start of the timeframe
  • end: DateTime string - End of the timeframe

Returns:

  • A list of event summaries that fall within the given timeframe

License

MIT

About

A CalDAV client using Model Context Protocol (MCP) to expose calendar operations as tools for AI assistants.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载