User Reference: Setup - MCP Server¶
The MCP server lets you control Mail Archiver through Codex. The current implementation supports Codex only. In Setup -> MCP Server, click Connect and restart Codex as requested by the confirmation. The installed Codex command-line tool is required for registration.
Use Check Again to refresh the connection status. If an update is offered, click Update and restart Codex. Disconnect removes the connection; it does not remove plans, archives or email credentials. If Codex or the helper cannot be found, resolve the reported problem and use Check Again.
After connecting, ask Codex to check Mail Archiver’s status. The connected indication in Setup checks the configuration; it does not confirm that an application request has succeeded.
What you can ask Codex to do¶
Use ordinary language and include the names of the plan, account or schedule you want to use. Replace the names in the examples below with your own.
Status and archiving¶
Check Mail Archiver’s edition, version and readiness to archive.
Check the running and installed MCP server versions and whether a restart is needed.
Check whether archiving is running and whether cancellation has been requested.
Start archiving one named plan.
Request cancellation of the current operation.
For example: “Start archiving the Work plan” or “Cancel the current archiving operation.”
Plans¶
List the configured plans and whether they are active.
Show a plan’s archive format and assigned email clients and IMAP accounts, including inactive sources.
Check a plan’s local readiness, including active sources and mailbox selection, without starting archiving.
Copy an existing plan under a new name.
Activate or deactivate a plan.
For example: “Copy the Work plan as Work backup, then show me the sources in the copy.”
Accounts and mailboxes¶
List the available email clients and IMAP accounts, including those not assigned to a plan.
Show an account’s settings without passwords or other credentials.
Add an existing email client or IMAP account to a plan, or remove it from a plan.
Activate or deactivate an email client or IMAP account within a plan.
List the selectable mailboxes for an account in a plan.
Switch an account within a plan between archiving all mailboxes and selecting mailboxes individually.
Select or deselect a mailbox and its child mailboxes within a plan.
For example: “In the Work plan, switch the Office account to individual mailbox selection and select its Inbox.”
Mailbox selection applies to the account within the named plan. Individual selections take effect only in individual mailbox selection mode. Removing an account from a plan does not delete the account.
Schedules¶
List the configured schedules, whether they are active and when they will next run.
Show a schedule and the plans it includes.
Activate or deactivate an existing schedule.
For example: “Show me the plans in the Nightly schedule” or “Deactivate the Nightly schedule.”
Limitations¶
The current tools do not search or read archived email contents. They do not create new accounts or schedules, or change detailed export and deletion options. To make a new plan through Codex, copy an existing one and check its sources and destination before archiving.
The readiness checks do not open archives, check credentials or test connections to mail servers. Those checks happen when archiving starts. You can start one named plan per request through Codex.
Mail Archiver retrieves email credentials from the macOS Keychain when needed. Codex cannot read those credentials. Mail Archiver X Easy does not include this integration.