Skip to content
MCP server

owlpost

Read, search, thread and send mail over IMAP and SMTP, with iCloud quirks handled

Runs locally

owlpost is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, macOS
Runs
Locally
What it can do
Can delete data (1 tool)
Version
0.3.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add owlpost -- uvx owlpost

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "owlpost": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add owlpost -- uvx owlpost

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.owlpost]
command = "uvx"
args = ["owlpost"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user owlpost uvx -- owlpost

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "owlpost": {
          "command": "uvx",
          "args": [
            "owlpost"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • OWLPOST_CONFIGPath to accounts.toml. Defaults to ~/.config/owlpost/accounts.toml.
  • OWLPOST_CONFIGPath to the config file inside the container.

About owlpost

The author built owlpost after other email servers tripped over real IMAP behaviour: CRLF line endings, RFC822 versus BODY.PEEK[] fetches, per-provider Sent folders and multi-word search values. It is tested end to end against iCloud and Gmail, with notes for Proton Bridge and generic servers.

Several accounts can be configured in an accounts.toml file and chosen by name on every tool call. Passwords can be inline, read from an environment variable, or fetched by a command such as the 1Password CLI. Messages are addressed by folder and UID, searching and reading do not mark mail as read, and sent mail is copied to Sent when the provider does not do it. Conversation following uses Gmail's thread ID where present and Message-ID/References walking otherwise.

Every tool declares read-only and destructive hints so a client can auto-approve reads and confirm sends. It runs from PyPI with uvx or from a container image.

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 15 tools deletes data and 3 change data; 5 names don't say.

From the server's own tool labels and tool names; not verified by us.

list_accountsName suggests: reads
List configured mail accounts without passwords.
list_foldersName suggests: reads
List folders for an account with detected special-use roles.
resolve_folder
Resolve a role such as sent or trash to the provider's folder name.
search_messagesName suggests: reads
Structured IMAP search, newest first.
read_emailName suggests: reads
Read one message with headers, body and attachment list.
get_conversationName suggests: reads
Return all messages in the same thread.
save_attachment
Download an attachment to local disk.
send_emailName suggests: changes
Send mail, saving to Sent where needed.
save_draft_email
Save a message to Drafts without sending.
reply_emailName suggests: changes
Reply or reply-all with threading and quoting.
forward_email
Forward a message, re-attaching its attachments by default.
mark_readName suggests: reads
Set or unset the Seen flag.
flag_message
Set or unset the Flagged flag.
move_emailName suggests: changes
Move a message to another folder.
delete_emailName suggests: deletes
Move a message to Trash.

What it does

Multiple mail accounts
Configure several mailboxes and pick one per call.
Provider quirk handling
Handles iCloud empty-body fetches, Sent-folder saving and servers without MOVE.
Conversation threading
Collects a whole thread by Gmail thread ID or by walking references.
Drafts and replies
Save drafts, reply with quoting, forward with attachments, all preserving threading headers.
Attachment download
Lists attachments and saves one to local disk by part index.
Tool safety hints
Each tool is annotated read-only or destructive for client approval prompts.

Good for

  • Triage and search an iCloud or Gmail inbox from Claude Code
  • Draft replies for review in your own mail client
  • Pull a whole email thread into context
  • Archive or flag messages by folder role
  • Save invoices and attachments to disk

Pricing

Open source

Python package on PyPI; licence shown in the repository

owlpost FAQ

Which providers are tested?

iCloud and Gmail end to end; Proton Bridge and generic IMAP servers are covered by notes.

How do I keep passwords out of the config?

Use password_env or password_command, for example a 1Password or pass command.

Does reading mark mail as read?

No. Searching and reading leave the unread state alone.

Does delete remove mail permanently?

delete_email moves a message to Trash; it is not expunged.

Is owlpost free?

Yes. owlpost is open source, so you can use and self-host it for free.

How do I add owlpost to Claude Code?

Run this command in your terminal: claude mcp add owlpost -- uvx owlpost

What are the best alternatives to owlpost?

The closest alternatives to owlpost are TrendRadar, TryPost, Discord MCP, Gmail MCP and Getmitra.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers