Skip to content

Reminders

Reminders are an optional domain. They work only on macOS 14 or later, in the logged-in user session of the Mac that runs icloud-mcp. They do not use the Apple ID email or app-specific password. A separate helper app, IcloudMcpReminders.app, reads and changes reminders through EventKit. The macOS privacy grant (TCC) belongs to that helper.

On Linux and Windows the domain stays unavailable: icloud_capabilities reports reason not_darwin, and the tools return unavailable.

  1. Get the signed helper. Each darwin release asset carries IcloudMcpReminders.app, signed with the project Developer ID, notarized, and stapled. Use one of these ways:

    • Homebrew installs the binary and puts the app in /Applications:

      Terminal window
      brew install --cask thomascrouzet/tap/icloud-mcp
    • The icloud-mcp-<version>-darwin-arm64.tar.gz archive holds icloud-mcp and IcloudMcpReminders.app side by side.

    • The icloud-mcp-<version>-darwin-arm64.mcpb bundle holds the app in server/IcloudMcpReminders.app, next to server/icloud-mcp.

    To build the helper yourself, see Development builds. A self-built helper is ad hoc signed unless you set CODESIGN_IDENTITY, and the release client does not accept it.

  2. Check that the app is where the server looks for it. The server tries these places in order: the path in ICLOUD_MCP_REMINDERS_HELPER (an absolute path), the folder of the icloud-mcp binary, /Applications, and ~/Applications. The Homebrew cask and the archive need no setting. Copy the app from an archive to /Applications if the binary is somewhere else. The client reads ICLOUD_MCP_REMINDERS_HELPER on macOS only; it is not one of the product variables in .env.example.

  3. Grant access once, in the user session, at the Mac:

    Terminal window
    icloud-mcp reminders authorize

    The command starts the helper with --request-access. macOS shows the prompt “Allow IcloudMcpReminders to access your reminders?”. Click Allow. The command prints the status as JSON and exits 0 only with full_access. It waits at most 20 seconds for an answer. If nobody answers in time, the prompt can stay open; answer it, then run the command again to see the result. The command needs no Apple ID variable.

  4. Configure the server:

    Terminal window
    ICLOUD_MCP_ENABLE_REMINDERS=true
    ICLOUD_MCP_PERMISSIONS=reminders.read,reminders.write
    ICLOUD_MCP_RESOURCE_SCOPES=reminders.read=<list id>;reminders.write=<list id>

    list_reminder_lists returns the list identifiers. A permission list with only reminders.* tokens needs no Apple ID email or password. Without ICLOUD_MCP_PERMISSIONS, the legacy defaults keep Calendar on, so the Calendar credentials stay required.

The grant is tied to the helper code signature. A new release keeps the same Developer ID signature identity, and a rebuilt ad hoc helper is a new app for macOS: run icloud-mcp reminders authorize again after you change the helper. To remove access, use System Settings, Privacy and Security, Reminders.

  • The MCP host must start icloud-mcp in the logged-in user session. An SSH session of the same user works when that user is logged in at the Mac. A launch daemon or another user cannot use the grant.
  • The prompt needs a person at the Mac. No tool call can grant access.
  • The server starts no helper at boot. The first Reminders tool call or icloud_capabilities starts it. The helper exits after 60 seconds without a connection.
  • Limits: 500 lists; search returns at most 200 reminders (default 50), takes at most 50 list ids, 256 bytes of text, and a due range of at most 366 days. Title at most 1,024 bytes, notes at most 32 KiB, url at most 2,048 bytes with scheme http, https, or mailto. Longer stored notes come back truncated with notes_truncated: true.
  • Not exposed: subtasks, tags, sections, smart lists, flags, images, and location alarms. Recurrence and alarms are read-only presence flags.
  • Resource scopes take list identifiers, at most 50 for each action. With a restricted write or delete scope, update and delete read the reminder first; a reminder in another list never reaches the write.
  • notes and url are null when absent or empty. A JSON null in update_reminder clears them.
  • due and start are YYYY-MM-DD (all-day) or an RFC 3339 date-time. Timed values come back in UTC Z form, with due_time_zone set to an IANA name, or empty when the value floats.
  • A reminder with an all-day due returns due and start as YYYY-MM-DD.
  • An all-day start without a due, or with a timed due, can come back as a timed value. EventKit stores it that way.
  • The caller owns start. A create without start gives null. An update that does not set start keeps the current value, also when due changes.
  • last_modified is an RFC 3339 UTC timestamp with exactly millisecond precision. update_reminder and delete_reminder need it as if_last_modified.

The helper compares if_last_modified with the stored value right before the save. A mismatch returns conflict with reason stale and current_last_modified.

The helper runs one write at a time. A write that arrives while another one runs gets unavailable with reason busy and does not run. An update that runs after another one with the old if_last_modified gets conflict.

Each icloud-mcp process starts its own helper, with a new random socket name and its own session token. Two server processes of the same user run two helpers. Each helper serializes only its own writes, so the two helpers can write to the same reminder at the same time. Another app, such as Reminders, can also write at the same time. EventKit accepts such a stale save without an error and can merge the text of both writes, for example two titles into one string. After each update the helper compares the saved title, notes, and url with the request. When they differ, the result is conflict with reason stale, and the reminder keeps the merged value that EventKit stored. Both writers can get conflict. Re-read the reminder with get_reminder and decide on a new update with its last_modified. The helper does not undo the merge.

A create, update, or delete that loses its reply after dispatch returns outcome_unknown. A helper timeout reply to a write also returns outcome_unknown: the helper stops waiting after 10 seconds, but EventKit can still save the change. The client never repeats it. Read the reminder, or search for a created one, before a retry. The helper runs one write at a time. While a write still runs, also after it timed out, the helper refuses a new create, update, or delete with unavailable and reason busy; that write did not run, so retry it later. A write that timed out before it started does not run.

The helper accepts only the signed icloud-mcp binary as its client: identifier io.github.thomascrouzet.icloud-mcp and a Developer ID certificate of team 7LJSG2GM3X. Any other client gets no reply: the helper closes the connection, so that client sees unavailable with reason helper_closed on a read and outcome_unknown on a write. The macOS grant belongs to the helper, not to one MCP host. After the grant, any process of the same user that can run the signed icloud-mcp gets Reminders access through its own helper. ICLOUD_MCP_PERMISSIONS, ICLOUD_MCP_RESOURCE_SCOPES, and ICLOUD_MCP_READ_ONLY bind only the MCP caller of one server process. To remove that access, remove the grant in System Settings.

The client checks the helper code signature before it sends the session token. The default requirement is the bundle identifier io.github.thomascrouzet.icloud-mcp.reminders and a Developer ID certificate of team 7LJSG2GM3X. An ad hoc signed helper does not meet it, and the tools return unavailable with reason helper_identity_mismatch. The release helper also refuses an ad hoc signed client.

A development pair pins each side to one local binary by its cdhash:

Terminal window
# 1. The client, with the development tag.
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -tags icloudmcp_dev_adhoc_helper -o bin/icloud-mcp-dev ./cmd/icloud-mcp
client=$(codesign -dvvv bin/icloud-mcp-dev 2>&1 | sed -n 's/^CDHash=//p')
# 2. The helper, pinned to that client.
app=$(scripts/build-reminders-helper.sh --dev-client-cdhash "$client" | tail -n 1)
# 3. Run the client with the helper pin.
export ICLOUD_MCP_DEV_HELPER_CDHASH=$(codesign -dvvv "$app" 2>&1 | sed -n 's/^CDHash=//p')
export ICLOUD_MCP_REMINDERS_HELPER="$app"

The helper flag sets the Swift condition ICLOUDMCP_DEV_CLIENT_PIN and writes the client cdhash to the helper Info.plist. That helper accepts only this client and prints a warning at start. The client reads the helper cdhash from ICLOUD_MCP_DEV_HELPER_CDHASH. Only a build with the development tag reads that variable; it is not a product variable. The client pin is part of the signed helper, so the helper pin cannot be part of the client binary. A rebuilt client needs a rebuilt helper and a new macOS grant.

A development client without a valid ICLOUD_MCP_DEV_HELPER_CDHASH starts no helper and returns unavailable with reason dev_helper_not_pinned. It prints a warning at start. Never ship or install either development binary. The Makefile, the Swift manifests, and the workflows never set the tag, the Swift condition, or the flag, and tests keep it that way.

See Reminders errors for the reasons.