Apple Notes MCP
Apple Notes MCP
Apple Notes MCP is a local MCP server for macOS that lets AI agents work with Apple Notes through a safe, explicit tool surface.
It is designed for agents such as Codex, Claude Desktop, Cursor, Continue, and other MCP clients that can launch a local stdio server.
What It Does
Lists Apple Notes accounts and folders
Reads notes as normalized plaintext with optional raw Apple Notes HTML
Creates, updates, moves, and deletes notes
Creates, renames, and deletes folders
Exposes read-only resources and reusable prompts for note review and rewrite workflows
Requirements
macOS
Node.js 22 or newer
Apple Notes enabled locally
macOS Automation permission for the host app that launches the MCP server
Install For AI Agents
Use npx. You do not need to clone this repository to use the published package.
npx -y @rnto1/apple-notes-mcpThat command starts the MCP server over stdio.
MCP Client Configuration
Use the published npx package in your MCP client config.
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.apple-notes]
command = "npx"
args = ["-y", "@rnto1/apple-notes-mcp"]Claude Desktop
Add this to your Claude Desktop MCP config:
{
"mcpServers": {
"apple-notes": {
"command": "npx",
"args": ["-y", "@rnto1/apple-notes-mcp"]
}
}
}Other MCP Clients
Use the same command/args pair:
{
"command": "npx",
"args": ["-y", "@rnto1/apple-notes-mcp"]
}Environment Variables
These can be set in the environment of the MCP host.
NOTES_MCP_ALLOW_WRITES=0|1Default:
1Set to
0for read-only mode.
NOTES_MCP_ALLOW_DELETES=0|1Default:
0Set to
1to allow destructive deletes without interactive confirmation.
NOTES_MCP_WARMUP=0|1Default:
1When enabled, the server proactively activates Notes and triggers the macOS Automation prompt on startup so the first real tool call does not have to discover permissions the hard way.
Example with writes disabled:
[mcp_servers.apple-notes]
command = "env"
args = [
"NOTES_MCP_ALLOW_WRITES=0",
"npx",
"-y",
"@rnto1/apple-notes-mcp"
]Tool Surface
Tools
server_statusaccounts_listfolders_listfolders_getfolders_ensurefolders_renamefolders_deletenotes_listnotes_searchnotes_getnotes_createnotes_updatenotes_movenotes_delete
Resources
applenotes://policyapplenotes://accountsapplenotes://foldersapplenotes://notes/{id}
Prompts
review-noterewrite-note
Content Model
Reads return structured note metadata plus normalized content:
idtitleaccountIdaccountNamefolderIdfolderPathcreatedAtmodifiedAtcontent.textcontent.formatcontent.htmlonly when explicitly requested
Writes are explicit:
notes_createaccepts
titleaccepts
contentaccepts
folderIdorfolderPath
notes_updateaccepts
titleaccepts exactly one of
replaceText,replaceHtml, orappendText
notes_moveaccepts
toFolderId
Safety Model
Writes are enabled by default for trusted local use.
Destructive deletes are disabled by default.
If the MCP client supports elicitation, the server can request delete confirmation.
If the client does not support elicitation, destructive deletes require
NOTES_MCP_ALLOW_DELETES=1.
Limitations
This server is
stdio-only.Apple Notes automation is limited by the Notes scripting interface on macOS.
Rich range formatting, attachments, collaboration controls, locking, and other UI-only Notes features are intentionally out of scope.
If the same folder path exists in multiple accounts, provide
accountId.
Troubleshooting
On first launch, the server proactively activates Notes so macOS can show the Automation prompt early. Approve it before retrying tool calls.
If tools fail, open Notes.app once and let sync finish.
If a delete is rejected, either confirm it through a client that supports MCP elicitation or restart the MCP host with
NOTES_MCP_ALLOW_DELETES=1.If your MCP client caches server metadata, restart the client after upgrading the package.
Contributing
Local Development
Clone the repository and install dependencies:
npm installRun the full checks:
npm run ciUseful commands:
npm run build
npm run test
npm run lint
npm run formatDevelopment Server
For local development you can run the TypeScript entrypoint directly:
npm run devFor a local packed-package check:
npm packRelease Process
Releases are automated through GitHub Actions and Changesets.
Changes merged to
maintrigger the release workflow.The workflow prepares a release via Changesets.
npm publishing uses provenance.
Repository maintainers must ensure the required GitHub secrets exist:
NPM_TOKENRELEASE_PR_TOKEN
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/renatoaraujo/apple-notes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server