apple-icloud-mcp 0.2.0 → 0.3.0
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +5 -3
- package/dist/bundle.js +290 -142
- package/dist/calendar/edit.js +29 -29
- package/dist/calendar/events.js +13 -8
- package/dist/calendar/expand.js +43 -25
- package/dist/calendar/format.js +15 -12
- package/dist/calendar/ics.js +11 -2
- package/dist/calendar/ids.js +3 -1
- package/dist/calendar/series.js +42 -19
- package/dist/calendar/tools.js +70 -39
- package/dist/calendar/window.js +5 -0
- package/dist/mail/message.js +10 -1
- package/dist/mail/tools.js +81 -2
- package/dist/time.js +52 -14
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Unofficial Apple Music, iCloud Calendar/Contacts/Mail, Apple Maps and WeatherKit tools for Claude Code",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.3.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"displayName": "Apple iCloud",
|
|
15
15
|
"source": "./",
|
|
16
16
|
"description": "Apple Music playlists and library, iCloud Calendar, Contacts and Mail, Apple Maps, WeatherKit and iTunes search for Claude via MCP — runs anywhere, no Mac required. Unofficial; not affiliated with Apple.",
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "0.3.0",
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "Chris Chall"
|
|
20
20
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-icloud",
|
|
3
3
|
"displayName": "Apple iCloud",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "Apple Music playlists and library, iCloud Calendar, Contacts and Mail, Apple Maps, WeatherKit and iTunes search for Claude via MCP — runs anywhere, no Mac required. Unofficial; not affiliated with Apple.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Chris Chall"
|
package/README.md
CHANGED
|
@@ -235,7 +235,8 @@ The package ships a [`mint.yaml`](mint.yaml) that mcp-host reads when you regist
|
|
|
235
235
|
SMTP are tunnelled through the same proxy with HTTP CONNECT.
|
|
236
236
|
|
|
237
237
|
Give it your time zone (`DISPLAY_TZ`): the runner is on UTC, and times you give without an offset ("3pm") are
|
|
238
|
-
read in `DISPLAY_TZ
|
|
238
|
+
read in `DISPLAY_TZ` — so are calendar events stored without a time zone of their own ("floating"), whatever
|
|
239
|
+
`timeZone` a call passes. Set **`MCP_CONFIRM_SECRET`** too: without it, a confirmation token issued just before the
|
|
239
240
|
child restarts (a redeploy, a machine move) stops working and you have to preview again. Spent tokens are
|
|
240
241
|
recorded on disk, so a shared secret does not let one be replayed.
|
|
241
242
|
|
|
@@ -311,6 +312,7 @@ recorded on disk, so a shared secret does not let one be replayed.
|
|
|
311
312
|
| `apple_mail_list_mailboxes` | List the iCloud Mail mailboxes (folders): path, name, special use (inbox, sent, drafts, trash, junk, archive) and, by default, message and unread counts. | read | |
|
|
312
313
|
| `apple_mail_search` | Search emails in one iCloud Mail mailbox (default INBOX) by sender, recipient, subject, full text, received date range, unread and flagged state. | read | |
|
|
313
314
|
| `apple_mail_get_message` | Read one iCloud Mail message by uid (from apple_mail_search): headers (from, to, cc, reply-to, date, subject, message-id), the body as plain text (HTML converted to readable text when there is no text part), a truncated flag, and attachm… | read | |
|
|
315
|
+
| `apple_mail_download_attachment` | Download one attachment as an embedded binary resource using its 1-based index from `apple_mail_get_message`; defaults to 10 MiB, max 20 MiB, and never marks the message read. | read | |
|
|
314
316
|
| `apple_mail_send` | Send a plain-text email from your iCloud Mail address (to/cc/bcc, subject, body; no attachments). | all | yes |
|
|
315
317
|
| `apple_mail_update_flags` | Mark iCloud Mail messages read or unread, and flag or unflag them, by uid (1–100 uids from apple_mail_search, one mailbox). | all | |
|
|
316
318
|
| `apple_mail_move` | Move iCloud Mail messages (1–100 uids from apple_mail_search, one mailbox) to another mailbox: a path from apple_mail_list_mailboxes or an alias (inbox, archive, trash, junk, sent, drafts). | all | |
|
|
@@ -416,7 +418,7 @@ All optional; each service activates when its credentials are present. Values th
|
|
|
416
418
|
|---|---|
|
|
417
419
|
| `APPLE_WRITE_MODE` | "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none". |
|
|
418
420
|
| `APPLE_SERVICES` | Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all. |
|
|
419
|
-
| `DISPLAY_TZ` | IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC. |
|
|
421
|
+
| `DISPLAY_TZ` | IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Calendar events stored without a time zone of their own (floating) are always read in it: a calendar call's `timeZone` changes how your times are read and shown (and, on create/update, the zone an event is stored in) but never how a floating event is read, so occurrence ids never depend on it. Set this on a hosted server, which runs in UTC. |
|
|
420
422
|
| `APPLE_UNITS` | "metric" (default) or "imperial" units for weather (Maps distances always show both). |
|
|
421
423
|
| `APPLE_STATE_CACHE` | Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as long as the process. |
|
|
422
424
|
| `APPLE_REQUEST_TIMEOUT_MS` | Per-request timeout in milliseconds (default 30000). |
|
|
@@ -443,7 +445,7 @@ All optional; each service activates when its credentials are present. Values th
|
|
|
443
445
|
Notes and Photos natively.
|
|
444
446
|
- **Playing music.** Apple's web APIs manage your library; playback happens in an Apple Music app.
|
|
445
447
|
- **Creating or deleting calendars** — iCloud's CalDAV server does not reliably support it.
|
|
446
|
-
- **Mail
|
|
448
|
+
- **Mail attachment sending** — outgoing mail is plain text. Incoming attachments can be downloaded with `apple_mail_download_attachment`.
|
|
447
449
|
|
|
448
450
|
## Troubleshooting
|
|
449
451
|
|