MoltenMail agent setup guide

Connect a local AI assistant on your Mac to read mail and create drafts you review. Nothing is sent, deleted or moved unless you do that yourself in MoltenMail.

Download MoltenMail

The private, local-first mail app built for the AI-agent era. Your mail stays on your Mac. Your AI assistant reads and drafts - only when you say so, and it can never send, delete or move a thing.

  • Free to download and use with your existing email account
  • One-click agent setup - the helper is built in
  • Works with OpenClaw, Hermes, Claude Desktop, Claude Code, Cursor, Codex, LM Studio and more
  • Local agent connection - you choose your AI, no hosting
Download Direct for macOSDownload on the Mac App Store

macOS 14 or later · Apple Silicon & Intel · Signed and notarized by Apple. Also available on the Mac App Store.

MoltenMail Pro

The free app includes everything - agent choice, every privacy control - with an allowance of server-saved drafts. Pro removes the daily cap: every reply your assistant drafts is saved straight to your mail server, unlimited.

  • Unlimited server drafts
  • One-time purchase - no subscription
  • Use it on up to 5 Macs
  • License key arrives by email in seconds
Buy MoltenMail Pro

Secure checkout by Stripe.

Payment handled securely by our Swiss licensing partner, PURU Suisse GmbH - the name you'll see at checkout.

Your password stays on your Mac

Your local AI tool talks to MoltenMail through a private connection on your computer only. MoltenMail does not host your email. There is no cloud relay. Only you and your email server.

You choose what is allowed

Open MoltenMail Settings, Local Agent Access. There is a master switch and separate toggles for read mail and create drafts. Turn everything off any time.

Read and draft only

The assistant can list folders, read messages and create drafts for you to check. It cannot send, delete, move or mark mail. MoltenMail blocks that even if the assistant asks.

Which build do you have?

The steps are different depending on how you installed MoltenMail.

Direct download from moltenrock.com, not the App Store

Fastest setup. The helper is already inside MoltenMail.

  1. Open MoltenMail.
  2. Open Connect an agent from Settings or the onboarding card.
  3. Choose your AI tool, for example Claude Desktop or LM Studio.
  4. Choose One-click MCP setup if it is not greyed out.
  5. Follow the on-screen steps. MoltenMail installs the helper, runs a connection test, and opens the other app settings if needed.

You do not need the long guide below on this build.

Mac App Store version

You will download a small free helper once, then point your AI app at it.

About ten to fifteen minutes the first time. After that it is automatic when you open the AI app.

The App Store version cannot bundle the helper inside MoltenMail because of Apple sandbox rules. That is normal and expected. You download one small signed file from us and tell your AI app where it lives.

Words you will see

MCP

Model Context Protocol. A common plug-in format so AI apps can use tools safely. MoltenMail ships a small helper that speaks MCP on one side and talks to MoltenMail on the other.

Helper

The program named moltenmail-cli. It does not store your email password. MoltenMail keeps the password. The helper only forwards allowed requests.

Config file

A small text file on your Mac where an AI app lists its tools. You add a MoltenMail entry. You do not replace the whole file if you already have other tools.

Terminal

The Mac app where you type commands. It is in Applications, Utilities. It is a window with plain text and a blinking cursor. You use it for two short steps only.

Most people can skip this. The app sets it up for you.

MoltenMail has a built-in Connect an agent wizard. Open it from Settings or the onboarding card, choose your tool, and it walks you through the whole connection inside the app. Claude Code, Claude Desktop, Cursor, OpenClaw, Hermes, LM Studio and Codex are all supported, with no extra tools needed.

  • Direct download build: the wizard finishes setup in about a minute. Nothing on the rest of this page applies to you.
  • App Store build: the wizard still guides you inside the app for every agent above. The walkthrough below is an optional, do-it-yourself MCP path. You mainly need it for the Claude Desktop chat app, since connecting Claude Desktop chat is only possible through MCP, and Apple sandbox rules stop the App Store build from editing its config for you. For a coding agent, open the in-app wizard first.

In short: everything below is optional, for App Store users, and mostly about connecting the Claude Desktop chat app.

Manual MCP setup (App Store, optional)

Mainly for the Claude Desktop chat app. Follow these once, then the connection is ready every time you open your AI app.

1

Download the helper

Click this link on the same Mac where MoltenMail is installed.

Download moltenmail-cli.zip

Your browser saves a file named moltenmail-cli.zip, usually in Downloads.

Optional. If you want to read the program source first, you can view the source on GitHub. The signed download is the same program, built and checked by us. You do not need GitHub to finish setup.

If macOS says the file cannot be opened

This can happen the first time after a download.

  1. Open System Settings, then Privacy & Security.
  2. Scroll to Security. You may see a message that moltenmail-cli was blocked.
  3. Click Open Anyway, then confirm.

If that button never appears, the download may be incomplete. Download it again from the link above.

2

Put the helper in a permanent folder

Your AI app will point to a fixed location. If you leave the helper in Downloads and later empty it, the connection breaks. We will move it into a folder inside your home folder.

Find your Mac short user name

You will need this in Step 4. It is the short name for your account.

  1. Click the Apple menu, top left, then System Settings.
  2. Click Users & Groups.
  3. Under your picture you see your account name, with a shorter name below it. That short name is your user name. Example: mcmin.

Or, in Finder, press Command Shift H to open your home folder. The folder name at the end is your user name.

Open Terminal

Terminal is the Mac app for typing commands. It will not harm your Mac if you only run the commands on this page.

  1. Press Command Space to open Spotlight search.
  2. Type Terminal and press Return. A window opens with a blinking cursor. The line usually ends with a percent sign or a dollar sign. That is where you type.

Run these three lines, one at a time

For each line: click Copy, click inside the Terminal window, press Command V to paste, then press Return.

mkdir -p ~/.local/bin
unzip -o ~/Downloads/moltenmail-cli.zip -d ~/.local/bin/
chmod +x ~/.local/bin/moltenmail-cli

Success looks like: the first and third lines print nothing and give you a new prompt line. The middle line prints a line mentioning inflating and no error at the end.

If you see "No such file or directory"

The zip is not in Downloads. Move moltenmail-cli.zip into Downloads, or change the word Downloads in the middle line to the folder where the zip actually is, then run it again.

Optional check. Run this to confirm the helper works. You should see a version number.

~/.local/bin/moltenmail-cli --version
3

Turn on Local Agent Access in MoltenMail

  1. Open MoltenMail.
  2. Click MoltenMail in the menu bar, then Settings.
  3. Open the Local Agent Access section.
  4. Turn on the master switch at the top.
  5. Turn on Read mail if you want the assistant to read messages.
  6. Turn on Create drafts if you want the assistant to draft replies you review.

MoltenMail starts listening on your Mac as soon as the master switch is on. You do not need to restart MoltenMail.

4

Tell your AI app about the helper

Your AI app needs one small block of settings. Use the real path with your short user name from Step 2, not the words YOUR-USERNAME.

Example, if your user name is mcmin, the full path is:

/Users/mcmin/.local/bin/moltenmail-cli

Here is the block to add. Replace YOUR-USERNAME:

{
  "mcpServers": {
    "moltenmail": {
      "command": "/Users/YOUR-USERNAME/.local/bin/moltenmail-cli",
      "args": ["mcp"]
    }
  }
}

Important

Add only the moltenmail entry inside mcpServers. If you already have other tools inside mcpServers, keep them. If the file already has other settings, keep those too. Do not replace the whole file.

Path A: Claude Desktop

  1. Open Claude Desktop.
  2. Open Settings. On Mac this is often the Claude menu, then Settings.
  3. Open Developer, or Advanced.
  4. Click Edit Config, or Open config file. A text file opens.
  5. If the file is empty, paste the whole block above.
  6. If it already has content, find the mcpServers section and paste the moltenmail block inside it, next to your other servers. Put one comma between each server entry.
  7. Save the file.

Path B: LM Studio

  1. Open LM Studio.
  2. Open the settings for MCP or Integrations. Follow the label in your version of LM Studio.
  3. Open the MCP server config file it shows, or add a server entry in the interface if it offers one.
  4. Paste the same block, with your user name in the path.
  5. Save.

Path C: Any other MCP-capable app

  1. Open that app documentation for MCP server setup.
  2. Find where it asks for a server command and arguments, or a JSON mcpServers block.
  3. Paste the same block, or enter the command /Users/YOUR-USERNAME/.local/bin/moltenmail-cli with the argument mcp.
  4. Save.

If your app asks for a single command line instead of JSON, open Connect an agent in MoltenMail. It shows the exact command for your tool.

5

Fully quit and reopen your AI app

Most AI apps read the MCP settings only when they start. Closing the chat window is not enough.

  1. Click the app name in the menu bar, next to the Apple menu.
  2. Click Quit. Or press Command Q while the app is active.
  3. Open the app again from Applications or Spotlight.
6

Check that it works

Part A: check from Terminal

This proves the whole path: helper, to MoltenMail, to your mailbox.

~/.local/bin/moltenmail-cli accounts list

Success looks like: text that lists your email accounts.

If it fails

connect failed or not running: Local Agent Access is off, or MoltenMail is not open. Go back to Step 3.

permission denied: rare. Download the helper again from Step 1.

Part B: check inside your AI app

  1. Open your AI app after the restart in Step 5.
  2. Look for MoltenMail in its list of tools or MCP servers. The wording varies by app.
  3. Ask a plain question, such as: List my email accounts using MoltenMail.
  4. You should see the same accounts as in Part A, plus tools for folders, reading mail, and creating drafts.

If Part A works but the app does not: check your user name in the command path, check that you fully quit and reopened, and check that you did not replace the whole config file and remove other servers.

Coding agents that use a project file

Some coding agents, for example Cursor, Claude Code, OpenClaw, Hermes and Codex, do not use a Claude Desktop style config file. They read an instructions file in your project instead.

  • On the Direct download build, open Connect an agent in MoltenMail and choose Write the instructions file or Tell your agent.
  • On the App Store build today, use Tell your agent or Connect your own client inside MoltenMail. The app copies the exact steps for your agent.

A future App Store update will also let you use Write the instructions file directly. This page will add that path when it ships.

Security, in plain English

  • Only programs running as you on this Mac can use the connection. Other users on the Mac, and other computers, cannot reach it.
  • Your email password stays in the Mac Keychain inside MoltenMail. The helper never receives your password.
  • The assistant sees the message text MoltenMail chooses to expose. Attachments and remote images are not passed through by default.
  • You can turn agent access off with one switch in MoltenMail, any time.

MoltenRock Connection, with even more secure password management, is coming soon.

Agent connection help

Something not working? Run down this list — it fixes almost everything, for every agent.

  1. MoltenMail must be open, with Local Agent Access ON (MoltenMail → Settings → Local Agent Access — the master switch plus the capabilities you want).
  2. Restart your AI app completely after connecting — most apps only load their tools when they start. For Claude Desktop that means Command Q, not just closing the window. For Claude Code, start a new session.
  3. Moved or reinstalled MoltenMail? Run Connect again from the app — the old connection points at the old location.
  4. One-click not available, or didn't stick? Use Set it up manually inside MoltenMail (or the walkthrough above) — it's the same connection, and you control the config.
  5. Verify the path end-to-end from Terminal: ~/.local/bin/moltenmail-cli accounts list (App Store helper) — or use the wizard's built-in connection test on the Direct build.
  6. Still stuck? Email moltenrock@moltenmail.com — mention your macOS version and which AI app you're connecting.

Claude Desktop — known issues & fixes

Claude Desktop is the most popular way to use MoltenMail with an assistant — and it has a few quirks of its own. Here's everything we know.

Tools don't appear right after connecting

Claude Desktop only reads its tools list when it starts. Quit it completely (Command Q — closing the window isn't enough) and open it again. Your MoltenMail tools appear after the restart.

Tools appear, then vanish after a Claude restart or update

Some versions of Claude Desktop manage their own tools list and quietly remove entries added by other apps — we've reproduced this ourselves. It isn't anything you did wrong.

Fix: run Connect again in MoltenMail when it happens, or use Set it up manually (the walkthrough above) so the entry lives in a config you control. A native Claude Desktop extension version of MoltenMail is planned, which will make this permanent.

You moved or reinstalled MoltenMail after connecting

The connection points at MoltenMail's old location, so it breaks silently. Keep MoltenMail in your Applications folder, and if you move or reinstall it, run Connect once more.

Claude shows "server disconnected" or the tools error out

MoltenMail must be open, with Local Agent Access ON. Check MoltenMail → Settings → Local Agent Access, then verify from Terminal: ~/.local/bin/moltenmail-cli accounts list (App Store helper) — if that works, restart Claude Desktop.

Still stuck?

Email moltenrock@moltenmail.com with your macOS and Claude Desktop versions — we answer fast, and real reports are how this section gets better.

Questions and answers

Links