Skip to main content
Glama
nextgencods

Guarded Notes MCP

by nextgencods

Guarded Notes MCP

CI MIT License macOS Node.js 22+

Plan first. Move once. Roll back safely.

Guarded Notes MCP is a local-only Model Context Protocol server and Codex plugin for safely reviewing and organizing Apple Notes on macOS. It can inventory, search, read, snapshot, plan, and move notes—but it deliberately cannot delete notes, delete folders, or edit note content.

IMPORTANT

The server itself contains no network client, analytics, telemetry, package downloads, or update service. Note information returned through MCP is still visible to the AI client you connect, so review that client's data controls.

Why this project exists

General Apple Notes automation tools optimize for breadth. Guarded Notes MCP optimizes for controlled organization of a valuable personal library. Its write path requires a recent snapshot, an exact expiring plan, a confirmation phrase, and a separate one-use authorization created interactively in Terminal. That authorization is bound to the plan's random token, full 64-character digest, and exact digest-suffixed confirmation phrase.

Other public Apple Notes MCP servers exist, but the projects reviewed for this release do not document this complete safety sequence. That is a product-design difference, not a legal novelty claim. See the feature comparison and provenance statement.

Capability

Guarded Notes MCP

Local Apple Notes access through osascript

Yes

Third-party runtime dependencies

None

Direct Notes database access

No

Full Disk Access

Not required

Incremental organization cache

Yes

Restart-safe jobs and manifests

Yes

Safety snapshots and exact previews

Required for moves

One-use external move authorization

Required

Cross-process mutation lock and persisted epoch

Required

Operation log and rollback planning

Yes

Note or folder deletion

Not implemented

Note-content editing

Not implemented

Safety flow

flowchart LR
    A[Apple Notes] -->|local osascript| B[Inventory]
    B --> C[Private cache + snapshot]
    C --> D[Reviewable manifest]
    D --> E[Exact expiring plan]
    E --> F[Human review]
    F --> G[Plan-bound Terminal authorization]
    G --> H[Cross-process lock + mutation epoch]
    H --> I[Verified note moves]
    I --> J[Owner-only operation journal]
    J --> K[Rollback plan]

After taking the owner-only cross-process mutation lock, the server consumes the authorization and advances a persisted mutation epoch before the first write. The authorization cannot approve a second batch. Immediately before each move, the server also verifies that the note is still in the expected source folder. Apply batches have a 225-second deadline and keep an atomic owner-only journal; timed-out mutations are reported as uncertain rather than guessed successful or failed.

Install in Codex

Requirements:

  • macOS with Apple Notes

  • Node.js 22 or newer available as node

  • Codex or another MCP-compatible local client

Add this GitHub repository as a marketplace source:

codex plugin marketplace add nextgencods/guarded-notes-mcp --ref v1.0.0

Restart the ChatGPT desktop app, open the Plugins Directory, choose the nextgencods source, and install Guarded Notes MCP. The repository follows OpenAI's documented marketplace structure with its plugin under plugins/guarded-notes-mcp/.

For local development or a manual installation, see Installation.

First use

Start with a read-only request:

Review my Apple Notes and propose an organization plan without changing anything.

The first call may trigger a macOS Automation prompt allowing the local Node process to control Notes. Grant Automation access only. Do not grant Full Disk Access; this project neither requests nor requires it.

For an approved move batch, run the arm command returned by the planning tool. Paste that same plan's 32-character token and full 64-character digest, then type its exact generated phrase, including the uppercase 12-character digest suffix. Do not mix values from different plans.

An unused authorization can be cancelled with:

node plugins/guarded-notes-mcp/scripts/disarm-moves.mjs

Privacy boundary

Runtime data is stored locally under:

~/Library/Application Support/Guarded Notes MCP/

Files are created owner-only (0600) and directories owner-only (0700). The source repository contains no note data, account names, machine identifiers, credentials, or absolute user paths. See Privacy for the complete data-handling statement.

Documentation

Repository layout

.
├── .agents/plugins/marketplace.json   # Git-backed Codex marketplace
├── .github/                           # CI, releases, and community templates
├── docs/                              # Architecture and operating guides
├── plugins/guarded-notes-mcp/         # Distributable plugin
│   ├── .codex-plugin/plugin.json
│   ├── .mcp.json
│   ├── scripts/
│   ├── tests/
│   └── server.mjs
└── scripts/validate-repository.mjs    # Dependency-free release validator

Contributing

Security boundaries are product features here. Changes that add deletion, content editing, network access, direct database access, or bypass a move gate will not be accepted without an explicit major-version design decision.

Read CONTRIBUTING.md before opening a pull request. For a vulnerability, follow SECURITY.md and do not file a public issue.

Ownership, licence, and trademarks

Created and maintained by nextgencods. Released under the MIT License.

This independent project is not affiliated with, endorsed by, or sponsored by Apple Inc. or OpenAI. Apple, Apple Notes, macOS, OpenAI, ChatGPT, and Codex are marks of their respective owners. See NOTICE.

-
license - not tested
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nextgencods/guarded-notes-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server