Research date 2026-11-18

Integrations and permissions

What it takes to let an agent reach Messages, Mail, Calendar, Reminders and Notes, why the current grants are too broad, and how to keep sending under human control.

macOS: what each kind of access actually requires

Data or action Mechanism Permission (TCC) Scope you get Tools
Calendar, Reminders EventKit Per-app Calendar and Reminders grants, with a write-only option for Calendar Good: per data type, per binary remindctl; EventKit-based MCP servers [24][25]
Contacts Contacts framework Per-app Contacts grant Good MCP servers [24]
Notes AppleScript or JXA to Notes.app Automation grant from the host app to Notes All notes, read and write Hermes apple-notes skill; MCP servers [3][24]
Mail (Mail.app) AppleScript or JXA; some tools read Mail's SQLite store directly Automation to Mail; direct database reads need Full Disk Access All mailboxes MCP servers [24]
Mail (protocol) IMAP and SMTP, or a provider API None on the Mac. Scope comes from the credential. As narrow as the provider allows (app password, OAuth scopes) Hermes email gateway; Himalaya [3]
Messages, read Read ~/Library/Messages/chat.db Full Disk Access for the host process Everything Full Disk Access covers, far beyond Messages imsg [25]
Messages, send AppleScript to Messages.app Automation to Messages Can send to anyone imsg send; BlueBubbles server [25][3]
Files Direct Folder grants (Desktop, Documents, Downloads, removable volumes) or Full Disk Access Per folder n/a
Screen and UI control Accessibility, Screen Recording Per-app grants Whole desktop cua, Peekaboo [3][17]
App actions through Siri App Intents System consent per app Per intent; the cleanest model Only for apps that ship intents; not a general agent API [20]
Shortcuts shortcuts run CLI Inherits each shortcut's own grants Per shortcut; a good hand-built allowlist Apple-MCPs lists Shortcuts support [24]

Two things to know:

  1. TCC grants attach to the "responsible" app, which for a CLI tool is usually the terminal or the launchd-run binary. Granting Full Disk Access to a terminal gives it to everything run in that terminal. This is from prior knowledge of macOS and is consistent with the imsg and Hermes skill instructions, which tell you to grant Full Disk Access to the terminal [25][3].
  2. Apple is tightening exactly this. On 2026-10-02 Apple said it would add "additional controls" to Full Disk Access because of AI agents, noting that such access could expose "files, mail, messages, and even browsing history" [9]. The macOS 27.3 beta, reported 2026-11-16, splits the setting into "System & App Protection Override" and "Accessibility", encourages grants limited to specific apps or folders, adds an ask-each-time option, and shows a menu bar indicator when one app controls another. Existing grants stay in effect; developers must "gracefully handle" limited access; entitlement details are "coming soon" [10]. Any design that depends on blanket Full Disk Access is building on ground that is moving. Plan for per-folder grants and for helper binaries with a single narrow grant each.

A safer shape for macOS

Draft but do not send

Channel Pattern Notes
Email over IMAP Append the draft to the Drafts mailbox with IMAP APPEND. Give the agent IMAP only and no SMTP credential. The mail client shows the draft on every device. The agent physically cannot send. Standard IMAP behaviour, from prior knowledge.
Gmail A credential limited to composing drafts. Scope names not re-verified today.
Mail.app AppleScript: create an outgoing message with visible:true and never call send. Weaker: the same Automation grant also permits send. Enforce in the broker, not in the prompt.
Messages There is no drafts API. Use a review queue: the agent writes proposed replies to a queue; you approve; only the approval path calls imsg send. An alternative is opening an sms: or imessage: URL to prefill the compose field for you to press return; I did not test this today. Apple2Agent implements native approval before outgoing mail [24]. Hermes's iMessage skill says to always confirm bulk sends but that is an instruction to the model, not an enforcement [3].
Any channel Split read tools and write tools into separate MCP servers or skills and enable only the read set for unattended jobs. Hermes toolsets and OpenClaw tool policies both allow this [3][7].

iMessage specifically

Option How Offline Limits
imsg Swift CLI on the Mac. Reads chat.db, watches for new messages as NDJSON or JSON-RPC, sends through Messages.app automation. v0.21.1, 2026-11-16. A Linux build can read a copied chat.db but cannot send. Yes Needs Full Disk Access on the Mac. No group management [25].
BlueBubbles server Open-source macOS server (Apache-2.0, 1,146 stars) bridging iMessage to other devices over a REST API and webhooks. Hermes has an adapter. Yes on a LAN Needs an always-on Mac signed into Messages [3][17].
Photon Managed iMessage line service with a Hermes plugin. No Third-party service; messages leave the house [3].
blueferry iPhone to Linux over Bluetooth, no Mac. v0.9.1, 2026-10-31, 343 stars. Clients for GTK, KDE, Quickshell and terminal. Yes Experimental. Sees only messages while connected. No attachments, reactions or full sent history. Apple could change the Bluetooth behaviour [17].
OpenClaw iMessage channel Built in, uses imsg. Yes Same permissions as imsg [6].

In practice: the always-on mini runs imsg or BlueBubbles and is the message hub; Linux clients talk to the agent gateway on the mini. blueferry is the fallback for a Linux box used away from the minis, and wiring it to an agent is unbuilt.

Linux