@mgcrea/mcp-apple-reminders 0.0.0-bootstrap
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +28 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +638 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/server-pj2yDDQb.js +2027 -0
- package/dist/server-pj2yDDQb.js.map +1 -0
- package/package.json +68 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Olivier Louvignes <olivier@mgcrea.io>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# @mgcrea/mcp-apple-reminders
|
|
2
|
+
|
|
3
|
+
Model Context Protocol server for the macOS **Apple Reminders** app.
|
|
4
|
+
|
|
5
|
+
> **Unofficial.** Not affiliated with Apple. It drives the Reminders app that is already on your Mac.
|
|
6
|
+
|
|
7
|
+
## Two lanes
|
|
8
|
+
|
|
9
|
+
- **Apple Events lane** — accounts, lists, reminders, and every mutation. Reminders' scripting
|
|
10
|
+
dictionary is complete enough that this alone is a working server.
|
|
11
|
+
- **Index lane** — read-only SQLite over the Group Containers store, for the things the dictionary
|
|
12
|
+
does not expose. Needs Full Disk Access.
|
|
13
|
+
|
|
14
|
+
Like Notes and unlike Mail, **the Apple Events lane alone is usable**. You can install this, use it,
|
|
15
|
+
and only then decide whether to grant Full Disk Access. `apple_reminders_diagnostics` tells you
|
|
16
|
+
which lane is answering.
|
|
17
|
+
|
|
18
|
+
| Permission | Needed for | Without it |
|
|
19
|
+
| -------------------------- | ----------------- | ----------------------------------------------- |
|
|
20
|
+
| **Automation → Reminders** | everything | nothing works; you get a `-1743` error |
|
|
21
|
+
| **Full Disk Access** | tags, attachments | the server still runs, on the Apple Events lane |
|
|
22
|
+
|
|
23
|
+
Neither is granted to Reminders.app — it is the _reader_ that needs permission. Grant it to whatever
|
|
24
|
+
launches the server (Terminal, iTerm, VS Code, Claude), then restart it.
|
|
25
|
+
|
|
26
|
+
## Tools
|
|
27
|
+
|
|
28
|
+
Read: `diagnostics`, `list_accounts`, `list_lists`, `list_reminders`, `search_reminders`,
|
|
29
|
+
`get_reminder`.
|
|
30
|
+
|
|
31
|
+
Write, registered **only** when `APPLE_REMINDERS_ALLOW_WRITES=1` — with the flag off they are
|
|
32
|
+
invisible to the model, not merely refused: `create_reminder`, `update_reminder`,
|
|
33
|
+
`complete_reminders`, `move_reminders`, `delete_reminders`.
|
|
34
|
+
|
|
35
|
+
## Configuration
|
|
36
|
+
|
|
37
|
+
| Variable | Default | |
|
|
38
|
+
| ---------------------------------------- | ------------- | -------------------------------------------- |
|
|
39
|
+
| `APPLE_REMINDERS_ALLOW_WRITES` | off | Register the mutating tools. |
|
|
40
|
+
| `APPLE_REMINDERS_ACCOUNTS` | all | Read-side allowlist, comma-separated. |
|
|
41
|
+
| `APPLE_REMINDERS_LISTS` | all | Read-side allowlist, comma-separated. |
|
|
42
|
+
| `APPLE_REMINDERS_DEFAULT_LIST` | Reminders' | List a new reminder goes to when none named. |
|
|
43
|
+
| `APPLE_REMINDERS_INCLUDE_COMPLETED` | off | Include completed reminders in reads. |
|
|
44
|
+
| `APPLE_REMINDERS_INDEX_MODE` | `auto` | `auto` \| `ro` \| `immutable` \| `off`. |
|
|
45
|
+
| `APPLE_REMINDERS_STORE` | auto | Explicit store path. |
|
|
46
|
+
| `APPLE_REMINDERS_DEGRADED_MAX_REMINDERS` | `500` | Cap when running without the index. |
|
|
47
|
+
| `APPLE_REMINDERS_SEARCH_CACHE_TTL_MS` | `30000` | How long the corpus stays warm. |
|
|
48
|
+
| `APPLE_REMINDERS_ATTACHMENT_DIR` | `~/Downloads` | The only directory attachments may reach. |
|
|
49
|
+
| `APPLE_REMINDERS_OSASCRIPT_TIMEOUT_MS` | `30000` | Sized for the first-run permission prompt. |
|
|
50
|
+
|
|
51
|
+
## Notes that will bite you
|
|
52
|
+
|
|
53
|
+
- **`~/Library/Reminders` does not exist.** Reminders lives under
|
|
54
|
+
`~/Library/Group Containers/group.com.apple.reminders/`. The path commonly cited elsewhere is
|
|
55
|
+
wrong on a current macOS.
|
|
56
|
+
- **Writes always go through Apple Events**, never the store. The Reminders app holds the SQLite
|
|
57
|
+
file open and reconciles it against a server, so writing to it corrupts sync state.
|
|
58
|
+
- **Completed reminders are excluded by default.** A search that "loses" a reminder has usually
|
|
59
|
+
just found it completed; set `APPLE_REMINDERS_INCLUDE_COMPLETED=1`.
|
|
60
|
+
|
|
61
|
+
## Licence
|
|
62
|
+
|
|
63
|
+
[MIT](LICENSE).
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { M as BUILD_INFO, O as REMINDERS_SURFACE, a as loadConfig, r as createServer } from "./server-pj2yDDQb.js";
|
|
3
|
+
import { runStdioServer } from "@mgcrea/mcp-apple-core";
|
|
4
|
+
//#region src/cli.ts
|
|
5
|
+
const LOG_PREFIX = "apple-reminders-mcp";
|
|
6
|
+
runStdioServer({
|
|
7
|
+
build: BUILD_INFO,
|
|
8
|
+
surface: REMINDERS_SURFACE,
|
|
9
|
+
logPrefix: LOG_PREFIX,
|
|
10
|
+
start: async (logger) => {
|
|
11
|
+
const config = loadConfig();
|
|
12
|
+
const { server } = createServer({
|
|
13
|
+
config,
|
|
14
|
+
logger
|
|
15
|
+
});
|
|
16
|
+
return {
|
|
17
|
+
server,
|
|
18
|
+
banner: `writes=${config.allowWrites ? "ENABLED" : "disabled"}, lists=${config.lists.length ? config.lists.join("/") : "all"}, completed=${config.includeCompleted ? "included" : "hidden"}, index=${config.indexMode}`
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}).catch((err) => {
|
|
22
|
+
console.error(`[${LOG_PREFIX}] fatal:`, err);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export {};
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runStdioServer } from \"@mgcrea/mcp-apple-core\";\n\nimport { BUILD_INFO } from \"./build-info.js\";\nimport { REMINDERS_SURFACE } from \"./client/errors.js\";\nimport { loadConfig } from \"./config.js\";\nimport { createServer } from \"./server.js\";\n\nconst LOG_PREFIX = \"apple-reminders-mcp\";\n\nrunStdioServer({\n build: BUILD_INFO,\n surface: REMINDERS_SURFACE,\n logPrefix: LOG_PREFIX,\n start: async (logger) => {\n const config = loadConfig();\n const { server } = createServer({ config, logger });\n return {\n server,\n banner:\n `writes=${config.allowWrites ? \"ENABLED\" : \"disabled\"}, ` +\n `lists=${config.lists.length ? config.lists.join(\"/\") : \"all\"}, ` +\n `completed=${config.includeCompleted ? \"included\" : \"hidden\"}, ` +\n `index=${config.indexMode}`,\n };\n },\n}).catch((err: unknown) => {\n console.error(`[${LOG_PREFIX}] fatal:`, err);\n process.exit(1);\n});\n"],"mappings":";;;;AAQA,MAAM,aAAa;AAEnB,eAAe;CACb,OAAO;CACP,SAAS;CACT,WAAW;CACX,OAAO,OAAO,WAAW;EACvB,MAAM,SAAS,WAAW;EAC1B,MAAM,EAAE,WAAW,aAAa;GAAE;GAAQ;EAAO,CAAC;EAClD,OAAO;GACL;GACA,QACE,UAAU,OAAO,cAAc,YAAY,WAAW,UAC7C,OAAO,MAAM,SAAS,OAAO,MAAM,KAAK,GAAG,IAAI,MAAM,cACjD,OAAO,mBAAmB,aAAa,SAAS,UACpD,OAAO;EACpB;CACF;AACF,CAAC,CAAC,CAAC,OAAO,QAAiB;CACzB,QAAQ,MAAM,IAAI,WAAW,WAAW,GAAG;CAC3C,QAAQ,KAAK,CAAC;AAChB,CAAC"}
|