apple-notes-mcp 2.7.2 → 2.7.4
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/README.md +17 -7
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1052,9 +1052,9 @@ If installed from source, use this configuration:
|
|
|
1052
1052
|
|
|
1053
1053
|
This repo ships a `.mcp.json` at its root so that, when you run `claude` from inside a clone, the server is registered automatically as a **project-scope** server — no manual config needed. Just launch Claude Code from the repo directory and approve the server when prompted (the bundled `build/index.js` is committed, so no build step is required).
|
|
1054
1054
|
|
|
1055
|
-
The entrypoint is written as:
|
|
1055
|
+
The entrypoint is written as (an excerpt of that file, not a whole config):
|
|
1056
1056
|
|
|
1057
|
-
```
|
|
1057
|
+
```text
|
|
1058
1058
|
"args": ["${CLAUDE_PROJECT_DIR:-.}/build/index.js"]
|
|
1059
1059
|
```
|
|
1060
1060
|
|
|
@@ -1187,16 +1187,26 @@ When sending content containing backslashes (`\`) to this MCP server, **you must
|
|
|
1187
1187
|
```json
|
|
1188
1188
|
{
|
|
1189
1189
|
"title": "Install Script",
|
|
1190
|
-
"content": "cp ~/Library/Mobile
|
|
1190
|
+
"content": "cp ~/Library/Mobile\\ Documents/file.txt ~/.config/"
|
|
1191
1191
|
}
|
|
1192
1192
|
```
|
|
1193
|
+
→ arrives as: `cp ~/Library/Mobile\ Documents/file.txt ~/.config/`
|
|
1194
|
+
|
|
1195
|
+
In a JSON string literal the two characters `\\` denote **one** literal backslash. Doubling them to `\\\\` denotes *two* backslashes in the note, which is almost never what you want.
|
|
1193
1196
|
|
|
1194
|
-
|
|
1197
|
+
**Example - Literal double backslash:**
|
|
1198
|
+
```json
|
|
1199
|
+
{
|
|
1200
|
+
"title": "Escaping Notes",
|
|
1201
|
+
"content": "Send \\\\ only when you want two backslashes"
|
|
1202
|
+
}
|
|
1203
|
+
```
|
|
1204
|
+
→ arrives as: `Send \\ only when you want two backslashes`
|
|
1195
1205
|
|
|
1196
1206
|
**Common patterns requiring escaping:**
|
|
1197
|
-
- Shell escaped spaces: `Mobile\ Documents` → `Mobile
|
|
1198
|
-
-
|
|
1199
|
-
-
|
|
1207
|
+
- Shell escaped spaces: `Mobile\ Documents` → `Mobile\\ Documents` in JSON
|
|
1208
|
+
- Regex patterns: `\d+` → `\\d+` in JSON
|
|
1209
|
+
- Literal double backslash: `\\` → `\\\\` in JSON
|
|
1200
1210
|
|
|
1201
1211
|
**If you see errors** when creating/updating notes with backslashes, double-check that backslashes are properly escaped in the JSON payload.
|
|
1202
1212
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-notes-mcp",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4",
|
|
4
4
|
"description": "MCP server for Apple Notes - create, search, update, and manage notes via Claude and other AI assistants",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
54
54
|
"@typescript-eslint/parser": "^8.0.0",
|
|
55
55
|
"@vitest/coverage-v8": "^3.2.6",
|
|
56
|
+
"ajv": "^8.17.1",
|
|
56
57
|
"esbuild": "^0.28.1",
|
|
57
58
|
"eslint": "^9.0.0",
|
|
58
59
|
"globals": "^17.0.0",
|