apple-tools-mcp 1.1.3 → 1.1.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 +24 -16
- package/index.js +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# apple-tools-mcp
|
|
2
2
|
|
|
3
|
-
An MCP (Model Context Protocol) server that provides semantic search across Apple Mail, Messages, Calendar, and Contacts on macOS. Use natural language to search your emails, iMessages, calendar events, and contacts
|
|
3
|
+
An MCP (Model Context Protocol) server that provides semantic search across Apple Mail, Messages, Calendar, and Contacts on macOS. Use natural language to search your emails, iMessages, calendar events, and contacts from any compatible MCP client over stdio.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -14,7 +14,6 @@ An MCP (Model Context Protocol) server that provides semantic search across Appl
|
|
|
14
14
|
|
|
15
15
|
- **macOS** (Ventura 13.0 or later recommended)
|
|
16
16
|
- **Node.js** 18.0 or later
|
|
17
|
-
- **Claude Desktop** app
|
|
18
17
|
- **Full Disk Access** permission for the Node.js binary
|
|
19
18
|
|
|
20
19
|
## Installation
|
|
@@ -33,7 +32,7 @@ cd Apple-Tools-MCP
|
|
|
33
32
|
npm install
|
|
34
33
|
```
|
|
35
34
|
|
|
36
|
-
If you installed from source, point
|
|
35
|
+
If you installed from source, point your MCP client at the local `index.js` instead of `npx` in step 3:
|
|
37
36
|
|
|
38
37
|
```json
|
|
39
38
|
"command": "node",
|
|
@@ -64,11 +63,18 @@ The MCP server needs access to read your Mail, Messages, and Calendar databases.
|
|
|
64
63
|
|
|
65
64
|
7. Ensure the toggle for Node.js is enabled
|
|
66
65
|
|
|
67
|
-
### 3. Configure
|
|
66
|
+
### 3. Configure your MCP client
|
|
68
67
|
|
|
69
|
-
|
|
68
|
+
This server speaks MCP over **stdio**. Any compatible client can run it — Claude Desktop is one example, not the only one. Cursor, Grok Bot, and other stdio MCP clients work the same way: register the command below in that client's MCP settings.
|
|
70
69
|
|
|
71
|
-
**
|
|
70
|
+
**Command**
|
|
71
|
+
|
|
72
|
+
- `npx` with args `["-y", "apple-tools-mcp"]` (npm install)
|
|
73
|
+
- or `node` with args `["/absolute/path/to/Apple-Tools-MCP/index.js"]` (from source)
|
|
74
|
+
|
|
75
|
+
**Example: Claude Desktop**
|
|
76
|
+
|
|
77
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
72
78
|
|
|
73
79
|
```json
|
|
74
80
|
{
|
|
@@ -81,9 +87,11 @@ Add to your Claude Desktop config file:
|
|
|
81
87
|
}
|
|
82
88
|
```
|
|
83
89
|
|
|
84
|
-
|
|
90
|
+
Other clients use their own settings UI or config file. Use the same `command` and `args`; only the file path or UI differs.
|
|
91
|
+
|
|
92
|
+
### 4. Restart your MCP client
|
|
85
93
|
|
|
86
|
-
Quit and reopen Claude Desktop
|
|
94
|
+
Quit and reopen the client so it loads the server. For Claude Desktop, fully quit (Cmd+Q) and reopen.
|
|
87
95
|
|
|
88
96
|
## Building the Index
|
|
89
97
|
|
|
@@ -103,7 +111,7 @@ The index is stored in `~/.apple-tools-mcp/vector-index/`.
|
|
|
103
111
|
|
|
104
112
|
## Available Tools
|
|
105
113
|
|
|
106
|
-
Once configured,
|
|
114
|
+
Once configured, your MCP client can use these tools:
|
|
107
115
|
|
|
108
116
|
### Universal Search
|
|
109
117
|
|
|
@@ -159,7 +167,7 @@ Once configured, Claude can use these tools:
|
|
|
159
167
|
|
|
160
168
|
## Example Queries
|
|
161
169
|
|
|
162
|
-
Ask
|
|
170
|
+
Ask your MCP client things like:
|
|
163
171
|
|
|
164
172
|
- "Find emails from John about the quarterly report"
|
|
165
173
|
- "What messages did I get from Mom last week?"
|
|
@@ -187,11 +195,11 @@ Ensure Node.js has Full Disk Access (see Installation step 2).
|
|
|
187
195
|
1. Check that the index was built: `ls ~/.apple-tools-mcp/vector-index/`
|
|
188
196
|
2. Rebuild the index if needed: `npm run build-index`
|
|
189
197
|
|
|
190
|
-
### Server not appearing in
|
|
198
|
+
### Server not appearing in the MCP client
|
|
191
199
|
|
|
192
|
-
1. Verify your config
|
|
193
|
-
2. Restart
|
|
194
|
-
3. Check
|
|
200
|
+
1. Verify your client config is valid (JSON files must be valid JSON)
|
|
201
|
+
2. Restart the MCP client completely (for Claude Desktop: Cmd+Q, then reopen)
|
|
202
|
+
3. Check the client's MCP logs for errors
|
|
195
203
|
|
|
196
204
|
### Force rebuild the index
|
|
197
205
|
|
|
@@ -203,12 +211,12 @@ rm -rf ~/.apple-tools-mcp/vector-index
|
|
|
203
211
|
rm -f ~/.apple-tools-mcp/index-meta.json
|
|
204
212
|
rm -f ~/.apple-tools-mcp/indexer.lock
|
|
205
213
|
|
|
206
|
-
# Restart
|
|
214
|
+
# Restart your MCP client to trigger a fresh rebuild
|
|
207
215
|
```
|
|
208
216
|
|
|
209
217
|
### Monitor indexing progress
|
|
210
218
|
|
|
211
|
-
Watch the MCP server logs in
|
|
219
|
+
Watch the MCP server logs in your client. Log locations vary by client; Claude Desktop example:
|
|
212
220
|
|
|
213
221
|
```bash
|
|
214
222
|
tail -f ~/Library/Logs/Claude/mcp-server-apple-tools.log
|
package/index.js
CHANGED
|
@@ -140,7 +140,7 @@ process.on("unhandledRejection", (reason, promise) => {
|
|
|
140
140
|
process.exit(1);
|
|
141
141
|
});
|
|
142
142
|
|
|
143
|
-
// Exit when stdin closes (
|
|
143
|
+
// Exit when stdin closes (MCP client disconnected)
|
|
144
144
|
process.stdin.on("close", () => {
|
|
145
145
|
console.error("Client disconnected. Exiting.");
|
|
146
146
|
stopBackgroundIndexing();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-tools-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "MCP server for semantic search across Apple Mail, Messages, and Calendar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,8 +27,6 @@
|
|
|
27
27
|
"messages",
|
|
28
28
|
"imessage",
|
|
29
29
|
"semantic-search",
|
|
30
|
-
"claude",
|
|
31
|
-
"anthropic",
|
|
32
30
|
"macos"
|
|
33
31
|
],
|
|
34
32
|
"engines": {
|