Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 19:52 UTC by yolo in 21 tool calls, with lab detonation

Summary

Legitimate macOS-only MCP server for Apple Notes. Uses child_process.execFileSync for osascript (AppleScript) and sqlite3 (NoteStore.sqlite) — the core functionality documented in the README. No network egress, no credential access, no persistence. The preinstall hook is a benign dev-workflow enforcement (errors out if run via npm/yarn inside a git repo). Static-analysis false positives: new Function() is ajv's normal JSON Schema compilation; "locked" rows refer to Apple Notes encryption, not ransomware.

Intent

MCP server that uses AppleScript and sqlite3 to read, create, search, and manage Apple Notes on macOS. Behavior matches its stated purpose.

Findings

preinstall hook enforces pnpm in git repos info package.json:79
Checks for .git and npm_config_user_agent; exits with a helpful message if npm/yarn is used inside a git repo. No network, no file writes.
osascript invocations for Apple Notes automation info build/index.js:39188
execFileSync('osascript', ...) at build/index.js:39188 sends AppleScript to Notes.app. Core documented functionality.
sqlite3 reads from NoteStore.sqlite info build/index.js:39438
Multiple execFileSync('sqlite3', ...) calls read the local Apple Notes database at ~/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite. Expected for this package.
new Function() is ajv JSON Schema compiler info build/index.js:2953
build/index.js:2953 compiles JSON Schema validators at runtime. Belongs to the ajv dependency, not the package itself.
process.env reads are config, not credential theft info build/index.js:39034
APPLE_NOTES_MCP_* env vars (e.g. APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES) control buffer sizes and timeouts. Not secret exfiltration.

Lab evidence

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