Settings reference

This page lists every option of the Mbox Viewer Settings dialog with its exact label, its default value and its effect. The dialog has three sections, called Language, Reading and MCP server (AI agents). The app saves each change as soon as you make it. The language and the MCP server options go into a file named settings.json, and the reading options stay in the local storage of the app window.

How do I open Settings?

Click the gear button in the top bar. On macOS you can also choose Mbox Viewer › Preferences… or press ⌘,. On Windows the menu item is File › Settings… and the shortcut is Ctrl+,. Press Esc to close the dialog.

Language options

Option Default Effect
System default (…) Selected Uses French when the system language starts with fr, and English otherwise. The parentheses show the language it resolves to.
English Not selected Uses English in the interface and in the native menus and dialogs.
Français Not selected Uses French in the interface and in the native menus and dialogs.

The change applies at once to the whole app. Language and preferences explains what the setting translates and what it leaves alone.

Reading options

Option Default Effect
Show the reading pane Ticked Shows the message list and the reading pane side by side. When unticked, an opened message replaces the list.
Always show remote images Unticked Loads images from the Internet in every HTML email. When unticked, the app blocks them until you click Show images.

The top bar button Hide reading pane or Show reading pane toggles the first option. The Always show images button in the reading pane ticks the second one.

MCP server options

The MCP server (AI agents) section controls the local server that AI agents such as Claude Desktop, Claude Code or Cursor use to search your mail.

MCP server (AI agents) section of the Settings dialog with Enable the MCP server ticked, the All mail mailbox ticked and the Export the Claude Desktop extension button
The MCP server (AI agents) section holds the options that control what an AI agent may see and do.
Option Default Effect
Enable the MCP server Unticked Turns the server on. The first time, the app creates a random access token of 64 hexadecimal characters.
Mailboxes the agent may see None ticked Lists the mailboxes opened in Mbox Viewer. The agent can search and read only the ticked ones.
Allow changes to tags and folders Unticked Lets the agent create tags and folders, tag messages and add messages to virtual folders or remove them.
Export directory for attachments None Sets the only folder where the agent may save attachments. Choose… picks a folder and Clear removes it.
Access token Created on first enable Shows the first 4 characters of the token. Regenerate token… replaces it after a confirmation.
Show audit log Not applicable Shows the file mcp-audit.jsonl in Finder or Explorer.

Changes to the policy apply on the next request of the agent. The first setup and a new token need a restart of the client. A newly shared mailbox reaches the tools at once, but the resource list of the client updates only after a restart.

Connect a client buttons

The Connect a client part of the MCP section holds the buttons that hand the configuration to a client. They stay disabled while the server is off.

Button What it does
Export the Claude Desktop extension The button saves a .mcpb file. Its default name is Mbox Viewer.mcpb and it goes to your Downloads folder. Double-click it to install it in Claude Desktop.
Copy token Copies the whole access token to the clipboard. Paste it when Claude Desktop asks for it.
Copy for Claude Desktop Copies a JSON document with an mcpServers entry for claude_desktop_config.json. Cursor accepts the same JSON in ~/.cursor/mcp.json.
Copy for Claude Code Copies a claude mcp add --scope user mbox-viewer command that you run in a terminal.
Copy for other clients Copies a generic command line that starts the server with the token in an environment variable.

The last three buttons sit under Other ways to connect. Each copied text contains the absolute path of the app and your token, so copy it again if you move the app. Set up Claude Desktop walks through the extension and the manual method step by step.

Where are settings stored?

Mbox Viewer keeps its data in two folders per platform. Your .mbox files are never modified.

What macOS Windows
settings.json (language and MCP server) ~/Library/Application Support/com.mboxviewer.viewer/ %LOCALAPPDATA%\com.mboxviewer.viewer\
Mailbox registry and indexes same folder same folder
Tags and virtual folders same folder, annotations/ same folder, annotations\
Logs ~/Library/Logs/com.mboxviewer.viewer/ %LOCALAPPDATA%\com.mboxviewer.viewer\logs\
MCP audit log logs folder, mcp-audit.jsonl logs folder, mcp-audit.jsonl

On macOS the app writes settings.json with permissions that let only your account read it, because the file holds the access token. Every write goes through a temporary file, so a crash never leaves a half-written file.

What does settings.json contain?

The file holds the language and the MCP server policy. A missing file means default settings. A corrupt file also means default settings, and the app writes a warning in its log.

Field Values Default
language "system", "en" or "fr" "system"
mcp.enabled true or false false
mcp.token 64 lowercase hexadecimal characters, or null null until the server is first enabled
mcp.allowed_mailboxes List of mailbox identifiers Empty list
mcp.allow_writes true or false false
mcp.export_dir Absolute path of a folder, or null null

Here is a file with the server enabled and one mailbox shared:

{
  "language": "fr",
  "mcp": {
    "enabled": true,
    "token": "<64 hexadecimal characters>",
    "allowed_mailboxes": ["<mailbox id>"],
    "allow_writes": false,
    "export_dir": null
  }
}

Which folders can be the export directory?

The export directory must be an existing folder given by its absolute path. Mbox Viewer refuses the following locations and shows "The export folder must be an existing folder, other than the disk root, your home folder or the app data folders."

  • The root of a disk is refused.
  • Your home folder itself is refused. Any folder under a hidden folder of your home, such as ~/.ssh, is refused too.
  • Startup folders are refused. On macOS these are ~/Library/LaunchAgents, ~/Library/LaunchDaemons, ~/Library/StartupItems and their counterparts under /Library. On Windows these are the per-user and common Startup folders.
  • The app data folder and the logs folder of Mbox Viewer are refused, and so is any folder inside them.

A subfolder of your Documents folder that you created for this purpose works well.

What else does the app remember?

A few conveniences are remembered outside the Settings dialog, in the local storage of the app window.

Item What is kept
Sort order The app keeps the last choice among Newest, Oldest and Relevance. The default is Newest.
Last mailbox The mailbox that was selected when you closed the app opens again at the next start.
Recent searches The app keeps the last 10 searches and lists them under Recent searches in the search box.
Recently opened The welcome screen lists the last 8 mbox files you opened under Recently opened.

How do I reset the settings?

  1. Quit Mbox Viewer.
  2. Delete settings.json from the app data folder listed above.
  3. Open Mbox Viewer again. The language goes back to System default and the MCP server is off.

Deleting the file also deletes the MCP access token. When you turn the server on again, the app creates a new token, and each client you connected needs it. Your mailboxes, indexes, tags and virtual folders stay where they are.

Frequently asked questions

Where is settings.json on macOS?

It is at ~/Library/Application Support/com.mboxviewer.viewer/settings.json. The file is readable and writable by your account only, because it holds the MCP access token.

Where is settings.json on Windows?

It is at %LOCALAPPDATA%\com.mboxviewer.viewer\settings.json. That folder also holds the mailbox registry, the indexes and the tags and folders.

What happens if settings.json is corrupt?

Mbox Viewer starts with the default settings and writes a warning in its log. The MCP server stays off in that case, so a damaged file never opens access to your mail.

How do I reset every setting to its default?

Quit Mbox Viewer and delete settings.json, then open the app again. The MCP server loses its token this way, so every client you connected needs the new token afterwards.

Is the MCP server on by default?

No. Enable the MCP server is unticked on a new installation. No mailbox is shared, changes to tags and folders are refused and no export directory is set.

Does turning the MCP server off delete the token?

No. Unticking Enable the MCP server keeps the token, so your clients work again as soon as you tick it. The token changes only when you click Regenerate token….

Why does the app refuse the export directory I chose?

The folder is in a protected location. Mbox Viewer refuses the disk root, your home folder, hidden folders under it, startup folders and the folders of the app itself.

Are tags and virtual folders part of the settings?

No. Tags and virtual folders are stored per mailbox in the annotations folder next to settings.json. Resetting the settings leaves them untouched.

Does Mbox Viewer sync settings between computers?

No. Mbox Viewer has no account and makes no network connection of its own. To reuse your settings on another computer, copy settings.json while the app is closed on both.

Which settings take effect without a restart?

All of them take effect in Mbox Viewer at once. An MCP client picks up policy changes on its next request, but it needs a restart after the first setup or a token change.