Skip to main content

Imap MCP

io.github.langmail/imap-mcp

v0.1.1Updated Nov 19, 2026stdio · npm

IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add imap-mcp -e 'IMAP_HOST=<your-imap-host>' -e 'IMAP_USERNAME=<your-imap-username>' -e 'IMAP_PASSWORD=<your-imap-password>' -e IMAP_PORT=993 -e IMAP_USE_SSL=false -- npx -y [email protected]

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • IMAP_PASSWORD
    Env var· required· secret
    Password for IMAP authentication
  • IMAP_HOST
    Env var· required
    Hostname of the IMAP server (e.g. imap.example.com)
  • IMAP_USERNAME
    Env var· required
    Username for IMAP authentication, also the default From address
  • IMAP_PORT
    Env var· optional
    Port of the IMAP serverDefault: 993
  • IMAP_USE_SSL
    Env var· optional
    Set to true to connect over TLSDefault: false

Listed in the official MCP Registry since Nov 19, 2026. Mirrored daily; last checked Nov 26, 2026.