Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 35%   action allow   analyzed 2026-09-24 15:38 UTC by yolo in 21 tool calls, with lab detonation

Summary

macOS-only MCP server for Apple Notes. The sole install hook (preinstall) checks whether the working tree has .git and the user-agent does not start with 'pnpm', and exits with code 1 to steer developers toward the correct package manager — nothing downloaded or executed. The 1.5 MB bundle (build/index.js) drives osascript calls against Notes.app and a direct sqlite3 read of the Notes database for checklist state. The lab recorded 0 network connections and 0 canary reads.

Intent

MCP server that uses AppleScript to read, create, search, update, and delete Apple Notes on macOS. The preinstall hook enforces pnpm for dependency resolution.

Findings

preinstall enforces pnpm info package.json:77
Checks fs.existsSync('.git') && !ua.startsWith('pnpm'); prints a message and process.exit(1). No download, no eval.
osascript execution for Notes.app automation info build/index.js:38891
spawned via execFileSync('osascript', ['-'], ...) to drive the Notes app. Expected for this package's purpose.
Direct Notes database read for checklist state info build/index.js:39062
execFileSync('sqlite3', ['-readonly', path.join(os.homedir(), 'Library/Group Containers/group.com.apple.notes/NoteStore.sqlite'), ...]) to read checklist done/undone state. Requires Full Disk Access on macOS.
new Function from bundled ajv (false-positive obfuscation) info build/index.js:2953
Dynamic code generation for JSON-schema validators, standard ajv behavior.
URL percent-encoding normalization (false-positive obfuscation) info build/index.js:3332
String.fromCharCode(parseInt(hex, 16)) normalises URI components — standard URL-rewriting logic.
process.env reads for config (false-positive credential_harvest) info build/index.js:39234,41856,42029
Reads APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES, APPLE_NOTES_MCP_CONFIG_FILE — package configuration, not credential stores.

Lab evidence

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