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 17:34 UTC by yolo in 17 tool calls, with lab detonation

Summary

Legitimate macOS MCP server. The preinstall hook is a pnpm-enforcement guard (exits with a message, no download/execute). The bundled entry file uses the @modelcontextprotocol/sdk and executes osascript to talk to AppleNotes — behavior matches the stated purpose. Lab: 0 network connections, 0 canary reads. Documentation references agent config paths for manual setup only (no writes from code).

Intent

MCP server for Apple Notes on macOS — uses AppleScript (osascript) to read, create, update, search, and delete notes. Install hook blocks npm/yarn in .git repos in favor of pnpm.

Findings

pnpm-enforcement preinstall hook low package.json:77
package.json:77 — node -e checks for .git and exits with exit(1) if npm_config_user_agent doesn't start with 'pnpm'. Blocks installation with npm/yarn in git repos; prints a corrective message. Harmless but opinionated.
AppleScript execution via osascript info build/index.js:38841
build/index.js — uses child_process execFileSync('osascript', ...) to interact with Apple Notes. Standard for this macOS-only use case.
MCP server on stdio info build/index.js:39226-42016
build/index.js — registers MCP tools (create-note, search-notes, get-note-content, etc.) and resources (notes://accounts, notes://folders, notes://stats) per the Model Context Protocol specification.
README config-path references (documentation only) info README.md:77
README.md:77,86 — documents manual addition of server config to ~/.gemini/config/mcp_config.json and ~/Library/Application Support/Claude/claude_desktop_config.json. No code writes these files.
False-positive obfuscation (URL normalization) info build/index.js:3332
build/index.js:3332,3353 — hex-to-char decoding from fast-uri dependency for percent-encoding normalization. Not malicious obfuscation.

Lab evidence

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