@mgcrea/mcp-apple-mail 1.36.0 → 1.36.2
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 +1 -0
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +37 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{server-DO3YS8Ds.js → server-ynr059Dx.js} +187 -62
- package/dist/server-ynr059Dx.js.map +1 -0
- package/package.json +2 -2
- package/dist/server-DO3YS8Ds.js.map +0 -1
package/README.md
CHANGED
|
@@ -222,6 +222,7 @@ and a tripwire that refuses to run any script containing a `${`.
|
|
|
222
222
|
| `APPLE_MAIL_ALLOW_FILE_SEND` | off | Let a compose tool attach local files and send in the same call. |
|
|
223
223
|
| `APPLE_MAIL_ALLOW_WATCHES` | off | Register `watch` and `unwatch`: a resource agents read and hosts can subscribe to. |
|
|
224
224
|
| `APPLE_MAIL_ALLOW_EVENTS` | off | Serve the experimental `mail.received` event (draft MCP Events extension, 2026-07-28 only). |
|
|
225
|
+
| `APPLE_MAIL_HAND_BACK_AFTER_DRAFT` | off | Bring back the app you were in after a draft. Off leaves Mail in front with the draft. |
|
|
225
226
|
| `APPLE_MAIL_MAILBOX_CACHE_TTL_MS` | `60000` | How long the account/mailbox map is cached. |
|
|
226
227
|
|
|
227
228
|
## Notes
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as loadConfig, b as MAIL_SURFACE, j as BUILD_INFO, r as createServer } from "./server-
|
|
2
|
+
import { a as loadConfig, b as MAIL_SURFACE, j as BUILD_INFO, r as createServer } from "./server-ynr059Dx.js";
|
|
3
3
|
import { runStdioServer } from "@mgcrea/mcp-apple-core";
|
|
4
4
|
//#region src/cli.ts
|
|
5
5
|
const LOG_PREFIX = "apple-mail-mcp";
|
|
@@ -12,7 +12,8 @@ runStdioServer({
|
|
|
12
12
|
const { server } = createServer({
|
|
13
13
|
config,
|
|
14
14
|
logger,
|
|
15
|
-
era: ctx.era
|
|
15
|
+
era: ctx.era,
|
|
16
|
+
listens: ctx.listens
|
|
16
17
|
});
|
|
17
18
|
return {
|
|
18
19
|
server,
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +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 { MAIL_SURFACE } from \"./client/errors.js\";\nimport { loadConfig } from \"./config.js\";\nimport { createServer } from \"./server.js\";\n\nconst LOG_PREFIX = \"apple-mail-mcp\";\n\nrunStdioServer({\n build: BUILD_INFO,\n surface: MAIL_SURFACE,\n logPrefix: LOG_PREFIX,\n start: async (logger, ctx) => {\n const config = loadConfig();\n const { server } = createServer({ config, logger, era: ctx.era });\n return {\n server,\n banner:\n `writes=${config.allowWrites ? \"ENABLED\" : \"disabled\"}, ` +\n `watches=${config.allowWatches ? \"ENABLED\" : \"disabled\"}, ` +\n `accounts=${config.accounts.length ? config.accounts.join(\"/\") : \"all\"}, ` +\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,QAAQ,QAAQ;EAC5B,MAAM,SAAS,WAAW;EAC1B,MAAM,EAAE,WAAW,aAAa;GAAE;GAAQ;GAAQ,KAAK,IAAI;
|
|
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 { MAIL_SURFACE } from \"./client/errors.js\";\nimport { loadConfig } from \"./config.js\";\nimport { createServer } from \"./server.js\";\n\nconst LOG_PREFIX = \"apple-mail-mcp\";\n\nrunStdioServer({\n build: BUILD_INFO,\n surface: MAIL_SURFACE,\n logPrefix: LOG_PREFIX,\n start: async (logger, ctx) => {\n const config = loadConfig();\n const { server } = createServer({ config, logger, era: ctx.era, listens: ctx.listens });\n return {\n server,\n banner:\n `writes=${config.allowWrites ? \"ENABLED\" : \"disabled\"}, ` +\n `watches=${config.allowWatches ? \"ENABLED\" : \"disabled\"}, ` +\n `accounts=${config.accounts.length ? config.accounts.join(\"/\") : \"all\"}, ` +\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,QAAQ,QAAQ;EAC5B,MAAM,SAAS,WAAW;EAC1B,MAAM,EAAE,WAAW,aAAa;GAAE;GAAQ;GAAQ,KAAK,IAAI;GAAK,SAAS,IAAI;EAAQ,CAAC;EACtF,OAAO;GACL;GACA,QACE,UAAU,OAAO,cAAc,YAAY,WAAW,YAC3C,OAAO,eAAe,YAAY,WAAW,aAC5C,OAAO,SAAS,SAAS,OAAO,SAAS,KAAK,GAAG,IAAI,MAAM,UAC9D,OAAO;EACpB;CACF;AACF,CAAC,CAAC,CAAC,OAAO,QAAiB;CACzB,QAAQ,MAAM,IAAI,WAAW,WAAW,GAAG;CAC3C,QAAQ,KAAK,CAAC;AAChB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppBusyError as MailBusyError, AppNotRunningError as MailNotRunningError, AppleAutomationError, AppleAutomationError as AppleMailError, ArrivalRow, ArrivalSource, BuildInfo, Era, FileIdentity, IndexUnavailableError, InterferenceWatch, JxaEnvelope, Logger, OsascriptRunner, OsascriptTimeoutError, PlatformError, PreconditionError, ProtocolError, SchemaDriftError, TccDeniedError, Watch, WatchRegistry, WritesDisabledError, assertStaticScript, createOsascriptRunner, inspectFile, mapOsaError, normalizeFilter, withBusyRetry } from "@mgcrea/mcp-apple-core";
|
|
1
|
+
import { AppBusyError as MailBusyError, AppNotRunningError as MailNotRunningError, AppleAutomationError, AppleAutomationError as AppleMailError, ArrivalRow, ArrivalSource, BuildInfo, Era, FileIdentity, IndexUnavailableError, InterferenceWatch, JxaEnvelope, ListenLedger, Logger, OsascriptRunner, OsascriptTimeoutError, PlatformError, PreconditionError, ProtocolError, SchemaDriftError, TccDeniedError, Watch, WatchRegistry, WritesDisabledError, assertStaticScript, createOsascriptRunner, inspectFile, mapOsaError, normalizeFilter, withBusyRetry } from "@mgcrea/mcp-apple-core";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
4
4
|
import { DatabaseSync } from "node:sqlite";
|
|
@@ -95,6 +95,7 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
95
95
|
allowFileSend: z.ZodDefault<z.ZodBoolean>;
|
|
96
96
|
allowWatches: z.ZodDefault<z.ZodBoolean>;
|
|
97
97
|
allowEvents: z.ZodDefault<z.ZodBoolean>;
|
|
98
|
+
handBackAfterDraft: z.ZodDefault<z.ZodBoolean>;
|
|
98
99
|
mailboxCacheTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
99
100
|
}, z.core.$strict>;
|
|
100
101
|
type Config = z.infer<typeof ConfigSchema>;
|
|
@@ -165,6 +166,14 @@ type NativeComposer = {
|
|
|
165
166
|
quoted: boolean | null;
|
|
166
167
|
/** Named files in the own text. Empty for a background tab, which is not read. */
|
|
167
168
|
files: string[];
|
|
169
|
+
/**
|
|
170
|
+
* On a desktop that is not the one shown (another Space, or Mail full
|
|
171
|
+
* screen): read where it is, and brought forward by `windowId` to be
|
|
172
|
+
* edited. Absent otherwise, and from an app that predates it.
|
|
173
|
+
*/
|
|
174
|
+
onAnotherDesktop?: true;
|
|
175
|
+
/** The window server's number for its window; present with `onAnotherDesktop`. */
|
|
176
|
+
windowId?: number | null;
|
|
168
177
|
};
|
|
169
178
|
type EditComposerArgs = {
|
|
170
179
|
composer: string;
|
|
@@ -191,22 +200,45 @@ type ReachReport = {
|
|
|
191
200
|
reason: "accessibility" | null;
|
|
192
201
|
windows: string[] | null;
|
|
193
202
|
};
|
|
203
|
+
type MailAxLaneOptions = {
|
|
204
|
+
handBack?: boolean;
|
|
205
|
+
desktopTimeoutMs?: number;
|
|
206
|
+
};
|
|
194
207
|
declare class MailAxLane {
|
|
195
208
|
#private;
|
|
196
209
|
private constructor();
|
|
197
210
|
/** Null when this server is not hosted by Cupertino — see the note above. */
|
|
198
|
-
static open(env?: NodeJS.ProcessEnv): MailAxLane | null;
|
|
211
|
+
static open(env?: NodeJS.ProcessEnv, opts?: MailAxLaneOptions): MailAxLane | null;
|
|
199
212
|
close(): void;
|
|
200
213
|
/** Start watching for someone using the Mac during a sequence. */
|
|
201
214
|
watch(): InterferenceWatch;
|
|
202
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* Every open composer, with its handle and own text. Those on another
|
|
217
|
+
* desktop (a Space, or Mail full screen) are listed too, read where they
|
|
218
|
+
* are, with `onAnotherDesktop`: the app finds them by the window server's
|
|
219
|
+
* count, which Accessibility's own list does not reach.
|
|
220
|
+
*/
|
|
203
221
|
composers(quoteChars?: number): Promise<NativeComposer[]>;
|
|
204
222
|
/**
|
|
205
223
|
* Edit a composer in one verified native step. The verb's JSON comes back
|
|
206
224
|
* verbatim: a refusal is an answer, not an error. A failure of the call itself
|
|
207
225
|
* (bad arguments, Accessibility not trusted) throws, as every `#call` does.
|
|
226
|
+
*
|
|
227
|
+
* A composer on another desktop is refused by the app before anything is
|
|
228
|
+
* touched, with its `windowId`. It is then brought forward here, which
|
|
229
|
+
* switches to its desktop, and asked about again until it is on the one
|
|
230
|
+
* shown or `desktopTimeoutMs` runs out: so every path that edits a
|
|
231
|
+
* composer (compose, revise, rebuild) reaches one wherever it is.
|
|
208
232
|
*/
|
|
209
233
|
editComposer(args: EditComposerArgs): Promise<Record<string, unknown>>;
|
|
234
|
+
/**
|
|
235
|
+
* End the driving session a draft opened, now rather than on the app's idle
|
|
236
|
+
* release 45 seconds later, which brought back the app the person had been
|
|
237
|
+
* in while they were reading the draft. Whether it does that is the setting.
|
|
238
|
+
* Best effort: the draft is saved whatever this answers, and the app does
|
|
239
|
+
* not end a session that also drove another application.
|
|
240
|
+
*/
|
|
241
|
+
release(): Promise<void>;
|
|
210
242
|
/**
|
|
211
243
|
* Can this process read Mail's windows, right now?
|
|
212
244
|
*
|
|
@@ -1263,6 +1295,8 @@ type CreateServerOptions = {
|
|
|
1263
1295
|
osascript?: OsascriptRunner;
|
|
1264
1296
|
/** Which protocol era this instance serves. Only watches care. Default `legacy`. */
|
|
1265
1297
|
era?: Era;
|
|
1298
|
+
/** The connection's open listens, so a watch update nobody listens for is logged. */
|
|
1299
|
+
listens?: ListenLedger;
|
|
1266
1300
|
/** Injected by tests so a watch never runs `pgrep`. */
|
|
1267
1301
|
isMailRunning?: () => Promise<boolean>;
|
|
1268
1302
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/build-info.ts","../src/client/errors.ts","../src/client/locate.ts","../src/config.ts","../src/client/ax.ts","../src/client/mime.ts","../src/client/emlx.ts","../src/client/schema.ts","../src/client/envelope.ts","../src/client/mailbox-map.ts","../src/client/mail.ts","../src/client/ref.ts","../src/client/watch.ts","../src/tools/watch.ts","../src/server.ts","../src/tools/index.ts"],"mappings":";;;;;cAkBa,YAAY;;;;cCWZ,6BAA6B;WACtB;EAElB,YAAY;;;;;;;;;;;;;;;;;;;;KCTF;;EAEV;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA;;EAEA;EACA;EACA;;KAKU;;EAEV;;EAEA;;EAEA;;EAEA;;cAiBW,sBAAmB,OAAU,kBAAqB;;;;;;;;;;;;;;;cC3CzD,cAAY,EAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/build-info.ts","../src/client/errors.ts","../src/client/locate.ts","../src/config.ts","../src/client/ax.ts","../src/client/mime.ts","../src/client/emlx.ts","../src/client/schema.ts","../src/client/envelope.ts","../src/client/mailbox-map.ts","../src/client/mail.ts","../src/client/ref.ts","../src/client/watch.ts","../src/tools/watch.ts","../src/server.ts","../src/tools/index.ts"],"mappings":";;;;;cAkBa,YAAY;;;;cCWZ,6BAA6B;WACtB;EAElB,YAAY;;;;;;;;;;;;;;;;;;;;KCTF;;EAEV;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA;;EAEA;EACA;EACA;;KAKU;;EAEV;;EAEA;;EAEA;;EAEA;;cAiBW,sBAAmB,OAAU,kBAAqB;;;;;;;;;;;;;;;cC3CzD,cAAY,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFP,EAAA,KAAA;KAEC,SAAS,EAAE,aAAa;;;;;cAMvB,aAAU,MAAS,OAAO,eAA2B;;;KCxCtD;EAAgB;EAAgB;EAAc;;;KAG9C;;;;;;;;;EASV;;;;;;;;;;;EAWA;;EAEA;;;;;;;;EAQA;;EAEA;;EAEA;;EAEA;EACA;EACA;;EAEA;;EAEA;EACA;;;;;;EAMA;;EAEA;;EAEA;;;;;;EAMA;;EAEA;;KAGU;EACV;EACA;;;;;;;EAOA;EACA;EACA;IAAU;IAAc;;EACxB;EACA;EACA;;KAGU;EACV;;EAEA;EACA;;KAiBU;EACV;EACA;;cAGW;;UAUJ;;SAOA,KACL,MAAK,OAAO,YACZ,OAAM,oBACL;EAKH;;EAKA,SAAS;;;;;;;EAcH,UAAU,sBAAsB,QAAQ;;;;;;;;;;;;EAmBxC,aAAa,MAAM,mBAAmB,QAAQ;;;;;;;;EA0C9C,WAAW;;;;;;;;;;;;;;;;;;EAqBX,SAAS,QAAQ;;;;;;;;;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;;;;;;;;EA+RL,eACJ;IAAQ;MACP,QAAQ;EA2FL,gBAAgB,mBAAmB;EAKnC,YAAY;IAChB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;MACE;EA0CE,eACJ,aACA;IACE;IACA;IACA;IACA;IACA;IACA;MAED;;;;;;;;;;;;;;;;;;;;;cC74DQ;KAED;EACV;EACA;EACA;;cAKW,YAAS,KAAS;cAGlB,YAAS,gBAAkB;;cA2B3B,qBAAkB,MAAU,iBAAe,YAAY;;;;;;;;;;;;;;KCzCxD,cAAc;;EAExB;EACA;EACA;EACA;EACA;EACA;;;;KC+GU;EACV,QAAQ;EACR,QAAQ,KAAK;EACb,SAAS;;EAET,uBAAuB;EACvB;;;;;;;EAOA;;cAGW;;;WA2CF,QAAQ,cAAc;EAO/B,YAAY,MAAM;;MAWd;;EAKJ,KAAK,UAAU,cAAc;;;;;;;;;;;;;;;;;EAyB7B,UAAU;;;;;;;;;;;EA+LJ,UAAU,mBAAmB;;;;;;EAwBnC,WAAW,mBAAmB;;;;;;EAiB9B,eAAY;IAA6B;;;EAgBzC;EAQA,OAAO;;EAKP,YAAY;;;;;;;;EAWN,oBAAoB,qBAAqB,oBAAoB;;;;;;EAgC7D,kBAAkB,sBAAsB;;EAcxC,IACJ,QAAQ,kBAAkB,kBAC1B,kCACC;IAAU,OAAO;IAAO;;;;;cChiBhB;cACA;KAED;EACV,QAAQ;EACR,SAAS;;EAET,YAAY;;EAEZ,MAAM;;EAEN,UAAU;;EAEV,sBAAsB;;KAGZ;EACV,QAAQ;EACR,QAAQ;;EAER,UAAU;;EAEV,SAAS;;;;;;;cAQE,eAAY,MAAU,wBAAsB;;;KCvC7C;;;;;EAKV;;;;;EAKA,UAAU;;;;;;;;;;;;;cAcC,gBAAa,QAChB,WAAS,QACT,iBAAe,KAClB"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as WritesDisabledError, C as MessageNotFoundError, D as ProtocolError, E as PreconditionError, O as SchemaDriftError, S as MailNotRunningError, T as PlatformError, _ as locateEnvelopeIndex, a as loadConfig, c as decodeRef, d as assertStaticScript, f as createOsascriptRunner, g as inspectFile, h as MailboxMap, i as registerTools, j as BUILD_INFO, k as TccDeniedError, l as encodeRef, m as withBusyRetry, n as SERVER_VERSION, o as AppleMailClient, p as mapOsaError, r as createServer, s as REF_VERSION, t as SERVER_NAME, u as groupRefsByMailbox, v as AppleMailError, w as OsascriptTimeoutError, x as MailBusyError, y as IndexUnavailableError } from "./server-
|
|
1
|
+
import { A as WritesDisabledError, C as MessageNotFoundError, D as ProtocolError, E as PreconditionError, O as SchemaDriftError, S as MailNotRunningError, T as PlatformError, _ as locateEnvelopeIndex, a as loadConfig, c as decodeRef, d as assertStaticScript, f as createOsascriptRunner, g as inspectFile, h as MailboxMap, i as registerTools, j as BUILD_INFO, k as TccDeniedError, l as encodeRef, m as withBusyRetry, n as SERVER_VERSION, o as AppleMailClient, p as mapOsaError, r as createServer, s as REF_VERSION, t as SERVER_NAME, u as groupRefsByMailbox, v as AppleMailError, w as OsascriptTimeoutError, x as MailBusyError, y as IndexUnavailableError } from "./server-ynr059Dx.js";
|
|
2
2
|
export { AppleMailClient, AppleMailError, BUILD_INFO, IndexUnavailableError, MailBusyError, MailNotRunningError, MailboxMap, MessageNotFoundError, OsascriptTimeoutError, PlatformError, PreconditionError, ProtocolError, REF_VERSION, SERVER_NAME, SERVER_VERSION, SchemaDriftError, TccDeniedError, WritesDisabledError, assertStaticScript, createOsascriptRunner, createServer, decodeRef, encodeRef, groupRefsByMailbox, inspectFile, loadConfig, locateEnvelopeIndex, mapOsaError, registerTools, withBusyRetry };
|