NoteAgent
NoteAgent connects AI coding agents to Apple Notes for note-taking, code snippets, and developer workflows.
Note Operations
Create, read, update, delete, and list notes – Full CRUD on Apple Notes by title or ID; update supports replace, append, or prepend
Move notes – Relocate a note to a different folder
Folder Management
Create, delete, and list folders (with note counts) across all accounts
Search & Discovery
Search notes – Find notes by keyword in titles, optionally scoped to a folder or account
List accounts – View available Notes accounts (iCloud, On My Mac, etc.)
Recent notes – Retrieve notes modified within the last N hours
Developer Workflows
Templates (
create_dev_note) – Generate structured notes for standups (yesterday/today/blockers), debug sessions (issue/steps/root cause/fix), or commit logs (message/files/context)Code snippets (
create_snippet_note) – Save code with language tags and file path context
Diagnostics
Health check (
doctor) – Verify Notes.app installation, automation permissions, and connectivity
Allows AI coding agents to interact with Apple Notes to create, read, update, delete notes, manage folders, search, and capture developer workflows like debug sessions, standups, and code snippets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NoteAgentSave this code snippet from src/utils.ts to my notes."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NoteAgent
Your AI coding agent's secondary brain.
NoteAgent is an MCP (Model Context Protocol) server that connects AI coding agents — Claude Code, Cursor, OpenCode — with Apple Notes. Use it to capture debug sessions, log commit context, save code snippets, and manage notes without leaving your terminal.
Built for developers who think in code and organize in notes.
Quick Start
# Run directly (no install needed)
npx apple-notes-agent-mcp
# Or install globally
npm install -g apple-notes-agent-mcp
apple-notes-agent-mcpRelated MCP server: apple-notes-mcp
Why NoteAgent?
Existing Apple Notes MCP servers are generic note managers. NoteAgent is built for developers:
Developer workflows — Pre-built templates for standups, debug sessions, commit logs
Code snippet capture — Save language-aware snippets with file path context
Zero config —
npx apple-notes-agent-mcpjust works on macOSHealth checks —
doctortool verifies Notes.app permissions and connectivityError recovery — Automatic retries with exponential backoff and clear error messages
Installation
Requirements
macOS with Apple Notes.app
Node.js >= 18
Terminal/IDE with automation permissions (System Settings → Privacy & Security → Automation)
npm (recommended)
npx apple-notes-agent-mcpLocal development
git clone https://github.com/jayprajapati/apple-notes-agent-mcp.git
cd apple-notes-agent-mcp
npm install
npm run build
node dist/index.jsMCP Client Configuration
Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"noteagent": {
"command": "npx",
"args": ["apple-notes-agent-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"noteagent": {
"command": "npx",
"args": ["apple-notes-agent-mcp"]
}
}
}OpenCode
Add to your MCP configuration file:
{
"mcpServers": {
"noteagent": {
"command": "npx",
"args": ["apple-notes-agent-mcp"]
}
}
}Tools (15 total)
Note Operations
Tool | Description |
| Create a new note with title and content |
| Get a note's content by title or ID |
| Update a note (replace, append, or prepend) |
| Delete a note by title or ID |
| List notes in a folder or account |
| Move a note to a different folder |
Folder Operations
Tool | Description |
| Create a new folder |
| Delete a folder |
| List all folders with note counts |
Search & Account
Tool | Description |
| Search notes by keyword |
| List available Notes accounts |
| Get notes modified in last N hours/days |
Developer Workflows
Tool | Description |
| Create a developer-formatted note (standup, debug, commit) |
| Save a code snippet with language and context |
| Run diagnostics on Notes.app connectivity and permissions |
Usage Examples
Create a note
Create a note titled "Meeting Notes" in the "Work" folder with today's action items.The agent will use create_note with your content. Folders are created automatically if they don't exist.
Debug session logging
Log this debugging session as a dev note. The issue was a race condition in the auth middleware.
Steps to reproduce: send two concurrent login requests.
Root cause: shared mutable state in session store.
Fix: use atomic operations.The agent will use create_dev_note with the debug template.
Save a code snippet
Save this code snippet to my notes — it's a TypeScript utility function from src/utils.tsThe agent will use create_snippet_note with the file path and language context.
Search notes
Search my notes for anything about "deployment pipeline"Health check
Check if Notes.app is working properly with NoteAgentThe agent will run doctor to verify permissions and connectivity.
Daily standup
Create a standup note for today. I finished the auth module and started on the API layer.The agent will use create_dev_note with the standup template.
Developer Templates
Daily Standup (standup)
Pre-formatted with:
What I did yesterday
What I'll do today
Blockers
Debug Session (debug)
Pre-formatted with:
Issue description
Steps to reproduce
Root cause analysis
Fix applied
Commit Log (commit)
Pre-formatted with:
Commit message
Files changed
Context notes
Code Snippet (snippet)
Includes:
Language tag
File path context
Formatted code block
Troubleshooting
"Apple Notes access denied"
Grant automation permissions:
Open System Settings
Go to Privacy & Security → Automation
Enable access for your terminal app (Terminal, iTerm2, VS Code, etc.)
"Apple Notes is not running"
Open Notes.app before using NoteAgent. The MCP server communicates with Notes via AppleScript.
Notes not found
NoteAgent searches by exact title match. Use list_notes or search_notes to find the correct title.
Connection issues
Run the diagnostic tool:
Run the doctor tool to check NoteAgent statusThis verifies Notes.app is installed, running, and accessible.
Architecture
src/
├── index.ts # MCP server entry point
├── types.ts # TypeScript interfaces
├── services/
│ ├── applescript.ts # AppleScript executor with retry logic
│ └── notes-manager.ts # High-level Notes operations
├── tools/
│ ├── note-tools.ts # 6 note CRUD tools
│ ├── folder-tools.ts # 3 folder management tools
│ ├── search-tools.ts # 3 search/account tools
│ └── developer-tools.ts # 3 developer workflow tools
└── utils/
├── helpers.ts # Shared utilities
└── parsing.ts # AppleScript output parsingDevelopment
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run integration tests (requires Notes.app)
npm run test:integration
# Type check
npm run lintLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants like Claude to access and manipulate Apple Notes on macOS, allowing for retrieving, creating, and managing notes through natural language interactions.Last updated81MIT
- Alicense-qualityCmaintenanceAn MCP server for Apple Notes that enables semantic search and full CRUD operations through natural language.Last updated407MIT
- Alicense-qualityCmaintenanceMCP server for AI agents to read, write, and organize notes in a local-first, human-in-the-loop note-taking app.Last updated41MIT
- AlicenseAqualityBmaintenanceAn MCP server that enables LLM agents to list, read, create, update, delete, and search Apple Notes on macOS.Last updated610AGPL 3.0
Related MCP Connectors
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
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/jayprajapati/apple-noteagent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server