@miguelarios/cal-mcp 0.17.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.20.0 (2026-10-07)
4
+
5
+ - Runs over Streamable HTTP as well as stdio: set `PIM_MCP_TRANSPORT=http` (see the README's "Over Streamable HTTP"). stdio stays the default and is unchanged on the wire.
6
+ - The CalDAV service is created once at startup and shared by every server instance, since over HTTP an instance is built per request or per session. A configuration error now stops the process at startup instead of surfacing on the first connection.
7
+ - Bumped `@miguelarios/pim-core` dependency to `^0.15.0` for `serve`.
8
+ - Documentation: a Docker guide (`docs/docker.md`), including why a container needs `PIM_TIMEZONE`; this README gains an "Over HTTP and in Docker" section and `CAL_MCP_DEBUG`; `docs/tools/cal-mcp.md` was re-checked against the tool definitions (`import_ics` partial failures, alarm `trigger_human`, the `delete_calendar` confirmation).
9
+
10
+ ## 0.19.0 (2026-09-14)
11
+
12
+ - `list_calendars` reports `description`, `timezone` (the calendar's default IANA zone, from RFC 7809 `calendar-timezone-id` when the server sends it, else the `TZID` inside RFC 4791 `calendar-timezone`) and `order` (Apple `calendar-order`), each `null` where the provider does not say (#46). `read_only` was already there.
13
+ - `create_calendar` and `update_calendar` take `timezone` and `order`. The zone is validated as an IANA name and written as a `VTIMEZONE` in `calendar-timezone`; the id form is deliberately not written, since SabreDAV-based servers reject unknown properties and a `PROPPATCH` is all-or-nothing. `order` must be a non-negative integer.
14
+ - Bumped `@miguelarios/pim-core` dependency to `^0.14.0` for `generateVTimezoneIcs`.
15
+
16
+ ## 0.18.0 (2026-09-14)
17
+
18
+ - `get_free_busy` — busy periods across one or more calendars in a range, merged and typed as `busy`, `tentative` or `unavailable`, with no event details (#48). The server's own `free-busy-query` REPORT (RFC 4791 §7.10) is used where it answers one; otherwise the answer is computed from the expanded events, with the same all-day and transparency rules as `find_free_slots`. `sources` reports which path each calendar took.
19
+ - `findFreeSlots` and `getFreeBusy` share one event-collection path; `find_free_slots` output is unchanged.
20
+ - Bumped `@miguelarios/pim-core` dependency to `^0.13.0` for `parseIcsFreeBusy`.
21
+
3
22
  ## 0.17.0 (2026-09-14)
4
23
 
5
24
  - `update_event` accepts `span: "future"`: changes the given occurrence of a recurring event and every later one (#38). The series is split at that occurrence — the existing object is ended just before it, keeping earlier occurrences and their overrides, and a new object with a new UID carries the remaining pattern with the changes applied. The result is the new series' event, so callers pick up the UID to use from now on. A `COUNT` is reduced by the occurrences already spent, `EXDATE`/`RDATE` values are divided between the halves, and a cut at the first occurrence edits the whole series in place. Per-occurrence overrides on or after the cut are discarded, and only then is the user asked to confirm. `occurrence_date` must be an occurrence the series generates, otherwise `validation_error`. The new object is written before the old one is cut, so a mid-way failure can only leave a visible duplicate tail, never missing occurrences.
package/README.md CHANGED
@@ -4,10 +4,10 @@ MCP server for calendars via CalDAV — query, create, and manage events across
4
4
 
5
5
  ## Protocol support
6
6
 
7
- Speaks MCP revision **2026-07-28** over stdio, and still serves 2025-era clients from the same tool definitions.
7
+ Speaks MCP revision **2026-07-28** over stdio or Streamable HTTP, and still serves 2025-era clients from the same tool definitions.
8
8
  Every tool declares a `title`, all four behaviour annotations, and an `outputSchema`, and returns validated `structuredContent`.
9
9
 
10
- `delete_event` asks the user to confirm whenever it removes the calendar object — `span: "all"`, and `span: "this"` on a non-recurring event. Excluding one occurrence of a recurring event is recoverable and is not gated. Set `PIM_MCP_CONFIRM=off` to skip confirmation in headless use.
10
+ `delete_event` asks the user to confirm whenever it removes the calendar object — `span: "all"`, and `span: "this"` on a non-recurring event. Excluding one occurrence of a recurring event is recoverable and is not gated. `delete_calendar` always asks, and so does an `update_event` with `span: "future"` that would drop per-occurrence changes. Set `PIM_MCP_CONFIRM=off` to skip confirmation in headless use.
11
11
 
12
12
  ## Usage
13
13
 
@@ -37,9 +37,26 @@ Add the server to your MCP client config (Claude Desktop, Claude Code, etc.). Cr
37
37
 
38
38
  Add multiple providers by using different IDs: `CALDAV_NEXTCLOUD_URL`, `CALDAV_NEXTCLOUD_USER`, `CALDAV_NEXTCLOUD_PASS`, etc.
39
39
 
40
- Optional env vars: `PIM_TIMEZONE`.
40
+ Optional env vars:
41
41
 
42
- ## Tools (11)
42
+ - `PIM_TIMEZONE` — IANA timezone used for "today", free-slot searches and local times. Defaults to the host timezone, which in a container is usually UTC.
43
+ - `CAL_MCP_DEBUG` — set to `1` to attach per-step CalDAV timings to tool results under `_meta`.
44
+
45
+ ## Over HTTP and in Docker
46
+
47
+ Set `PIM_MCP_TRANSPORT=http` to serve Streamable HTTP at `/mcp` instead of stdio — for a client that connects by URL, or a server in a container. `PIM_MCP_HTTP_HOST` (default `127.0.0.1`) and `PIM_MCP_HTTP_PORT` (default `3000`) set where it listens, and `GET /healthz` answers `ok` for health checks. **The HTTP server does no authentication**: keep it on loopback or a private network, and put an OAuth proxy in front before exposing it further.
48
+
49
+ ```bash
50
+ docker run -d --name cal-mcp --restart unless-stopped --user node \
51
+ --env-file cal.env \
52
+ -e PIM_MCP_TRANSPORT=http -e PIM_MCP_HTTP_HOST=0.0.0.0 \
53
+ -p 127.0.0.1:3002:3000 -v cal-mcp-home:/home/node \
54
+ node:22-alpine npx -y @miguelarios/cal-mcp@0.20.0
55
+ ```
56
+
57
+ See the [Docker guide](https://github.com/miguelarios/pim-agents/blob/main/docs/docker.md) for the env file, stdio use from a desktop client, Docker Compose, and exposing a server safely, and the [README](https://github.com/miguelarios/pim-agents/blob/main/README.md#over-streamable-http) for every HTTP setting.
58
+
59
+ ## Tools (16)
43
60
 
44
61
  See [docs/tools/cal-mcp.md](../../docs/tools/cal-mcp.md) for full parameter and output details.
45
62
 
@@ -57,6 +74,10 @@ See [docs/tools/cal-mcp.md](../../docs/tools/cal-mcp.md) for full parameter and
57
74
  | `create_events_batch` | Create multiple events at once |
58
75
  | `import_ics` | Import events from .ics content |
59
76
  | `find_free_slots` | Find available time slots across calendars |
77
+ | `get_free_busy` | Busy periods in a range, typed, without event details |
78
+ | `create_calendar` | Create a calendar collection |
79
+ | `update_calendar` | Rename or recolour a calendar |
80
+ | `delete_calendar` | Delete a calendar and every event in it |
60
81
 
61
82
  ## License
62
83
 
package/dist/main.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import { McpServer } from "@modelcontextprotocol/server";
2
- export declare function createServer(): Promise<McpServer>;
2
+ import { CalDavService } from "./services/CalDavService.js";
3
+ /**
4
+ * Builds one server instance around a shared service. Called per connection on
5
+ * stdio and per request over HTTP, so it must not open connections or install
6
+ * process handlers of its own.
7
+ */
8
+ export declare function createServer(service: CalDavService): McpServer;
3
9
  export declare function startServer(): Promise<void>;
4
10
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AASzD,wBAAsB,YAAY,IAAI,OAAO,CAAC,SAAS,CAAC,CAuBvD;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAOjD"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAO5D;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,CAc9D;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAajD"}
package/dist/main.js CHANGED
@@ -1,35 +1,36 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { loadCalDavConfig } from "@miguelarios/pim-core";
3
- import { TOOL_LIST_CACHE_HINT, registerTools } from "@miguelarios/pim-core/mcp";
3
+ import { TOOL_LIST_CACHE_HINT, registerTools, serve } from "@miguelarios/pim-core/mcp";
4
4
  import { McpServer } from "@modelcontextprotocol/server";
5
- import { serveStdio } from "@modelcontextprotocol/server/stdio";
6
5
  import { CalDavService } from "./services/CalDavService.js";
7
6
  import { CALENDAR_MANAGEMENT_TOOLS } from "./tools/calendarManagementTools.js";
8
7
  import { CALENDAR_TOOLS } from "./tools/calendarTools.js";
9
8
  const require = createRequire(import.meta.url);
10
9
  const { version } = require("../package.json");
11
- export async function createServer() {
12
- const config = loadCalDavConfig();
13
- const service = new CalDavService(config);
10
+ /**
11
+ * Builds one server instance around a shared service. Called per connection on
12
+ * stdio and per request over HTTP, so it must not open connections or install
13
+ * process handlers of its own.
14
+ */
15
+ export function createServer(service) {
14
16
  const server = new McpServer({ name: "@miguelarios/cal-mcp", title: "CalDAV Calendars", version }, {
15
17
  capabilities: { tools: { listChanged: false } },
16
18
  instructions: "Read and manage CalDAV calendars across every configured provider. Calendar IDs are provider-prefixed (e.g. mailbox/Work) — call list_calendars first. delete_event asks the user to confirm whenever it removes the calendar object; excluding one occurrence of a recurring event does not. delete_calendar asks the user to confirm too, since it removes every event in the calendar. Renaming a calendar with update_calendar changes its ID.",
17
19
  cacheHints: { "tools/list": TOOL_LIST_CACHE_HINT },
18
20
  });
19
21
  registerTools(server, [...CALENDAR_TOOLS, ...CALENDAR_MANAGEMENT_TOOLS], service);
22
+ return server;
23
+ }
24
+ export async function startServer() {
25
+ const service = new CalDavService(loadCalDavConfig());
26
+ // PIM_MCP_TRANSPORT picks stdio or Streamable HTTP; either way the entry
27
+ // serves 2026-07-28 and 2025-era clients from the same factory.
28
+ const handle = await serve(() => createServer(service), { name: "cal-mcp" });
20
29
  const handleShutdown = async () => {
30
+ await handle.close();
21
31
  process.exit(0);
22
32
  };
23
33
  process.on("SIGINT", handleShutdown);
24
34
  process.on("SIGTERM", handleShutdown);
25
- return server;
26
- }
27
- export async function startServer() {
28
- // `serveStdio` owns the era decision: a 2026-07-28 client gets the new
29
- // protocol, and a 2025-era client is still served from the same factory.
30
- serveStdio(() => createServer(), {
31
- onerror: (error) => console.error("[cal-mcp] Server error:", error.message),
32
- });
33
- console.error("[cal-mcp] Server started on stdio");
34
35
  }
35
36
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;AAEtE,MAAM,CAAC,KAAK,UAAU,YAAY;IAChC,MAAM,MAAM,GAAG,gBAAgB,EAAE,CAAC;IAClC,MAAM,OAAO,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;IAE1C,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,EACpE;QACE,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE;QAC/C,YAAY,EACV,obAAob;QACtb,UAAU,EAAE,EAAE,YAAY,EAAE,oBAAoB,EAAE;KACnD,CACF,CAAC;IAEF,aAAa,CAAC,MAAM,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BAAiB,CAAwB,CAAC;AAEtE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,OAAsB;IACjD,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,EACpE;QACE,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE;QAC/C,YAAY,EACV,obAAob;QACtb,UAAU,EAAE,EAAE,YAAY,EAAE,oBAAoB,EAAE;KACnD,CACF,CAAC;IAEF,aAAa,CAAC,MAAM,EAAE,CAAC,GAAG,cAAc,EAAE,GAAG,yBAAyB,CAAC,EAAE,OAAO,CAAC,CAAC;IAElF,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,WAAW;IAC/B,MAAM,OAAO,GAAG,IAAI,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAEtD,yEAAyE;IACzE,gEAAgE;IAChE,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;IAE7E,MAAM,cAAc,GAAG,KAAK,IAAI,EAAE;QAChC,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC;IACF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;AACxC,CAAC"}
@@ -1,9 +1,14 @@
1
1
  import { type CalDavConfig } from "@miguelarios/pim-core";
2
- import { type ParsedAlarm } from "@miguelarios/pim-core/ics";
2
+ import { type FreeBusyPeriod, type ParsedAlarm } from "@miguelarios/pim-core/ics";
3
3
  export interface CalendarInfo {
4
4
  calendar_id: string;
5
5
  display_name: string;
6
6
  color: string | null;
7
+ description: string | null;
8
+ /** IANA zone the calendar defaults to (`calendar-timezone`), when the provider reports one. */
9
+ timezone: string | null;
10
+ /** Sort position among the account's calendars (Apple `calendar-order`), when reported. */
11
+ order: number | null;
7
12
  source: string;
8
13
  read_only: boolean;
9
14
  url: string;
@@ -69,6 +74,26 @@ export interface CalendarObjectMeta {
69
74
  url: string;
70
75
  etag?: string;
71
76
  }
77
+ export interface FreeBusyOptions {
78
+ ignoreTentative?: boolean;
79
+ includeAllDayAsBusy?: boolean;
80
+ }
81
+ /** Where a calendar's busy periods came from. */
82
+ export type FreeBusySource = "server" | "computed";
83
+ export interface FreeBusyResult {
84
+ busy: FreeBusyPeriod[];
85
+ sources: Record<string, FreeBusySource>;
86
+ }
87
+ /**
88
+ * Merges overlapping or touching periods of the same type; output is sorted
89
+ * by start. Periods are visited in start order, so by the time one is
90
+ * considered every merged interval of its type that could overlap it already
91
+ * exists, and there is at most one: two intervals of the same type that
92
+ * overlapped each other would have been merged when the second arrived. That
93
+ * is why matching against any existing interval, not just the last, is both
94
+ * safe and needed — the last interval may be of another type.
95
+ */
96
+ export declare function mergeFreeBusy(periods: FreeBusyPeriod[]): FreeBusyPeriod[];
72
97
  export declare function buildCanonicalHref(calendarUrl: string, uid: string): string | null;
73
98
  export declare const DEBUG_TIMINGS: Array<{
74
99
  op: string;
@@ -143,6 +168,8 @@ export declare class CalDavService {
143
168
  displayName: string;
144
169
  description?: string;
145
170
  color?: string;
171
+ timezone?: string;
172
+ order?: number;
146
173
  slug?: string;
147
174
  }): Promise<CalendarCollection>;
148
175
  /**
@@ -157,6 +184,8 @@ export declare class CalDavService {
157
184
  displayName?: string;
158
185
  description?: string;
159
186
  color?: string;
187
+ timezone?: string;
188
+ order?: number;
160
189
  }): Promise<CalendarCollection>;
161
190
  /** Deletes a calendar collection — and with it every event inside. */
162
191
  deleteCalendar(calendarId: string): Promise<CalendarCollection>;
@@ -197,6 +226,29 @@ export declare class CalDavService {
197
226
  url: string;
198
227
  etag: string;
199
228
  }>;
229
+ /** Fetches the events of one calendar in a range, reduced to what free/busy needs. */
230
+ private collectBusyCandidates;
231
+ /** Which candidates actually block time under the given options. */
232
+ private static blocksTime;
233
+ /**
234
+ * Asks the server for a calendar's busy periods with a `free-busy-query`
235
+ * REPORT (RFC 4791 §7.10). The reply is `text/calendar` rather than a
236
+ * multistatus document, so it goes through `fetch` directly instead of
237
+ * tsdav, whose request helpers parse every reply as XML. Returns `null`
238
+ * when the server declines — the report is optional for servers to
239
+ * support, and SabreDAV-based ones (Nextcloud) only answer it on the
240
+ * scheduling outbox — so the caller can fall back to computing.
241
+ */
242
+ private fetchServerFreeBusy;
243
+ /**
244
+ * Busy periods across `calendarIds` in [start, end): from the server's own
245
+ * `free-busy-query` where it answers one, otherwise computed from the
246
+ * expanded events the same way `findFreeSlots` does (#48). `sources` says
247
+ * which path each calendar took, since the two can differ on all-day and
248
+ * transparent events, which are the server's call on its path and the
249
+ * options' on ours.
250
+ */
251
+ getFreeBusy(calendarIds: string[], start: string, end: string, options?: FreeBusyOptions): Promise<FreeBusyResult>;
200
252
  findFreeSlots(calendarIds: string[], start: string, end: string, durationMinutes: number, options?: FindFreeSlotsOptions): Promise<FreeSlot[]>;
201
253
  private toEventFull;
202
254
  private formatSlots;
@@ -1 +1 @@
1
- {"version":3,"file":"CalDavService.d.ts","sourceRoot":"","sources":["../../src/services/CalDavService.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,YAAY,EAUlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,WAAW,EAIjB,MAAM,2BAA2B,CAAC;AAUnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,MAAM,CAA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