Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 16:27 UTC by yolo in 12 tool calls, with lab detonation

Summary

Legitimate macOS-only MCP server. The preinstall hook checks for .git and pnpm — benign developer convenience. Entry file uses execFileSync("osascript") and execFileSync("sqlite3") to drive Notes.app and read its database directly — standard macOS automation. Lab run: 0 network connections, 0 canary reads. Static prescreen hits are false positives (documentation URLs, process.env config overrides, FAQ headings).

Intent

MCP server that automates Apple Notes on macOS via AppleScript and sqlite3. The preinstall hook only enforces pnpm usage; no network egress, credential theft, or persistence at install time.

Findings

Preinstall enforces pnpm info package.json:77
Checks for .git directory and npm_config_user_agent; exits with error if not using pnpm. Developer convenience, not malicious.
AppleScript automation (legitimate) info build/index.js:38869
execFileSync('osascript', ['-'], ...) drives Notes.app via AppleScript — the documented, supported way to automate Apple Notes on macOS.
Direct Notes database access info build/index.js:39059
execFileSync('sqlite3', ['-readonly', NOTES_DB_PATH, query]) reads the Notes store database for checklist state and metadata. Requires Full Disk Access (TCC).
False positive: download-and-execute info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md line 60-61 documents how users can download a Developer-ID-signed Node runtime from nodejs.org — static documentation, not install-time code.
False positive: credential_harvest info build/index.js:38703
process.env references in build/index.js are for optional configuration overrides (APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, etc.), not credential exfiltration.
False positive: agent_config_tamper info README.md:101
README documents how users can manually configure Claude Desktop, Claude Code, etc. to use this MCP server — static documentation, not code that writes config files.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: preinstall (exit 0), require (exit 0).